Mohamed Ayman created a merge request:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1195
Project:Branches: mohamedayman23/rtems:fix-CREAD-enable-recevier to
rtems/rtos/rtems:main
Author: Mohamed Ayman
arm/stm32h7: Fix UART CREAD flag logic
The stm32h7_uart_set_attributes function incorrectly set the UART mode to
UART_MODE_RX when the POSIX CREAD (Enable Receiver) flag was cleared in the
termios control flags.
This inadvertently disabled the transmitter (breaking console output) and left
the receiver enabled, which is the exact opposite of the intended behavior.
This commit fixes the fallback logic to set the mode to UART_MODE_TX when CREAD
is not set, ensuring that the console can still transmit data while reception
is properly disabled.
{width=900
height=426}
{width=900
height=275}
{width=835
height=148}
AI Usage: None
AI Prompt: None
AI Model: None
How AI used: None
--
View it on GitLab:
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1195
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs