[BUG] esp32s3 up_putc clears all interrupts #14872
Labels
Arch: xtensa
Issues related to the Xtensa architecture
Area: Drivers
Drivers issues
OS: Mac
Issues related to MacOS (building system, etc)
Type: Bug
Something isn't working
Description / Steps to reproduce the issue
esp32s3 up_putc temporarily disables interrupts.
while doing so, it clears all pending interrupts, even ones unrelated to TX.
nuttx/arch/xtensa/src/esp32s3/esp32s3_lowputc.c
Lines 828 to 830 in d41e3da
it seems inappropriate to me, especially when there can be concurrent interrupt-based activities on the UART. (eg. drivers/serial.c)
On which OS does this issue occur?
[OS: Mac]
What is the version of your OS?
macOS 14.7
NuttX Version
master
Issue Architecture
[Arch: xtensa]
Issue Area
[Area: Drivers]
Verification
The text was updated successfully, but these errors were encountered: