mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
!boards: Remove NSH_ARCHINIT and board_app_initialize
BREAKING: In an effort to simplify NuttX initialization, NSH_ARCHINIT is removed. board_app_initialize is also removed. BOARD_LATE_INITIALIZE now performs all board initialization logic, and is by default enabled. All references to these symbols are removed. BOARDIOC_INIT remains, but will result in -ENOTTY when called. It is to be removed in a later commit. Quick fix: Boards relying on NSH_ARCHINIT should now enable CONFIG_BOARD_LATE_INITIALIZE instead. If the application needs fine-grained control over board initialization from userspace, the logic performed by BOARDIOC_INIT may be copied to the board_finalinitialize function and used instead via BOARDIOC_FINALINIT. All board_app_initialize logic provided by NuttX is now moved to board_late_initialize, and the same should be done for out-of-tree boards. Signed-off-by: Matteo Golin <matteo.golin@gmail.com>
This commit is contained in:
parent
8e91dd60a0
commit
48db502daf
1631 changed files with 579 additions and 2753 deletions
|
|
@ -1490,7 +1490,7 @@ config BOARD_EARLY_INITIALIZE
|
|||
|
||||
config BOARD_LATE_INITIALIZE
|
||||
bool "Custom board late initialization"
|
||||
default n
|
||||
default y
|
||||
---help---
|
||||
There are three points in time where you can insert custom,
|
||||
board-specific initialization logic:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue