linguini1 opened a new pull request, #3405: URL: https://github.com/apache/nuttx-apps/pull/3405
## Summary BREAKING: In an effort to simplify board initialization logic for NuttX, NSH will no longer support architecture initialization. This will happen during boot via the BOARD_LATE_INITIALIZE option. The boardctl command BOARDIOC_INIT is also no longer available from user-space. Quick fix: Any application relying on BOARDIOC_INIT should now enable BOARD_LATE_INITIALIZE to have initialization performed by the kernel in advance of the application running. If control over initialization is still necessary, BOARDIOC_FINALINIT should be implemented and used. Boards relying on NSH for initialization should also enable BOARD_LATE_INITIALIZE instead. Part of https://github.com/apache/nuttx/issues/11321. To be merged with twin PR to NuttX kernel: ## Impact This reduces the complexity of NuttX initialization by keeping it within the kernel logic for the normal case. Users can still control initialization from their application using BOARDIOC_FINALINIT instead. This impacts almost every NuttX supported board, as many configurations relied on NSH for initialization. This also impacts each application in the diff which relied on BOARDIOC_INIT. ## Testing TBD, I will likely need help testing the affected applications (for this PR). Testing of modified NuttX kernel defconfigs can be found in the twin PR: -- 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]
