FelipeMdeO opened a new pull request, #15920: URL: https://github.com/apache/nuttx/pull/15920
This pull request includes a change to the `esp_txint` function in the `arch/risc-v/src/common/espressif/esp_usbserial.c` file. The change primarily involves removing an optimization workaround and adding a call to flush the transmit FIFO. After this change the usbserial config is able to work using all optimization levels. Changes in `esp_txint` function: * Removed the `__attribute__((optimize("O0")))` workaround. * Added a call to `usb_serial_jtag_ll_txfifo_flush()` at the beginning of the function.Remove workaround related riscv esp32 modules usbserial driver. ## Testing *Using esp32c6, apply usbconsole config, build and flash, you will be able to use console by usb.* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org