jerpelea opened a new pull request, #21281: URL: https://github.com/apache/nuttx/pull/21281
## Summary This patch series fixes build failure for AVR DA/DB family and adds some other smaller fixes. The build failure was caused by patch series that added LIBC_ATOMIC_IRQ Kconfig option during 13.1 development. Commit https://github.com/apache/nuttx/commit/4ca2256a9beefd073082334218057f9a9fdec5b1 selects this option by default for AVR chips but not for the DA/DB family, causing a build failure (atomic functions are missing.) The first patch of this series simply adds missing "select LIBC_ATOMIC_IRQ" for this family as well. Other than that, version 13.1 added a performance regression which manifested as dropped bytes in USART peripheral during receive (with heavy round-robin preemptive scheduling load.) The regression was bisected to commit https://github.com/apache/nuttx/commit/b32712d0a24e0403b5cf31e4796d8bc2de6cbc80 that fixes some bugs (which were affecting AVR DA/DB default build as well) but apparently adds more time-consuming work to context switch with interrupts disabled. The patch for this simply documents this possibility in the USART driver description. The remaining patches fix unused variable warning, make (very unlikely) board initialization error more visible and reorder manipulation with stack pointer during context restore to do it in the way (presumably) intended by the chip manufacturer ## Impact RELEASE ## Testing CI -- 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]
