-
Notifications
You must be signed in to change notification settings - Fork 8k
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
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
04c7444
to
c6b3a82
Compare
c6b3a82
to
cf6441a
Compare
cf6441a
to
5b3754a
Compare
this seems need install python jsonschema module |
271f296
to
9815b36
Compare
f60f9a6
to
63d41c6
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.
Pull Request Overview
This PR adds interrupt-driven UART support to the SF32LB serial driver. The changes enable asynchronous UART operations using interrupts instead of polling, which improves performance and reduces CPU usage.
- Implements interrupt-driven UART functionality for SF32LB52x devices
- Adds interrupt service routine and callback management
- Includes error handling and status checking functions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
File | Description |
---|---|
drivers/serial/uart_sf32lb.c | Adds interrupt support infrastructure, ISR, FIFO operations, and interrupt control functions |
drivers/serial/Kconfig.sf32lb | Enables interrupt support capability in the driver configuration |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
c6552c7
to
90cee9c
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
please provide some proof this branch works as expected. |
sifli trace tool seems bugs when input first word, so I am using PuTTY works well with COM5, buad rate 1000000
|
add sf32lb52x uart interrupt support Signed-off-by: Qingsong Gou <[email protected]>
90cee9c
to
3cdfaa8
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.
Pull Request Overview
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
add sf32lb52x uart interrupt support