yangsong8-a1 opened a new pull request, #17467: URL: https://github.com/apache/nuttx/pull/17467
## Summary 1. The judgment of present is accurate to a specific bit. 2. Fixed some issues when serial rxbuf and txbuf were disabled. 3. replace critical_section with spinlock ## Impact replace critical_section with spinlock. fix some issue when enable CONFIG_CDCACM_DISABLE_RXBUF and CONFIG_CDCACM_DISABLE_TXBUF ## Testing local arm cortex board to test end and receive functions, plugout, stress test and so on. sim: Verify send and receive functions: ``` nsh> conn 1 conn_main: Performing architecture-specific initialization conn_main: Exiting nsh> cat /dev/ttyACM0 & sh [8:100] Ash> AT nsh> nsh> 123 nsh> echo hello > /dev/ttyACM0 nsh> poweroff ``` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
