-
Notifications
You must be signed in to change notification settings - Fork 7.9k
drivers: serial: sf32lb: add uart interrupt support #96299
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
drivers: serial: sf32lb: add uart interrupt support #96299
Conversation
9eda50d
to
eb0d82c
Compare
eb0d82c
to
a6d3b18
Compare
a6d3b18
to
ab952c0
Compare
ab952c0
to
04c7444
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the IRQ flags are not being handled properly
drivers/serial/uart_sf32lb.c
Outdated
if (UART_FLAG_IS_SET(USART_ISR_ORE_Pos)) { | ||
UART_FLAG_CLEAR(USART_ICR_ORECF_Pos); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this silently clears overrun flag, please, check uart.h on how to handle certain error conditions properly (probably others below?)
add sf32lb52x uart interrupt support Signed-off-by: Qingsong Gou <gouqs@hotmail.com>
04c7444
to
c6b3a82
Compare
|
add sf32lb52x uart interrupt support