Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. nuttx/arch/arm/src/stm32_vectors.S
  2. {{ nuttx/arch/arm/src/stm32_start.c}}
nuttx/arch/arm/src/stm32_vectors.S

...

  • board_app_initialize(): For the STM3240G-EVAL, this architecture specific initialization can be found at boards/arm/stm32/stm3240g-eval/src/stm_nsh.c. This it does things like: (1) Initialize SPI devices, (2) Initialize SDIO, and (3) mount any SD cards that may be inserted.

More about board_late_initialize()

...

There are two possibilities then for application startup initialization: (1) In the application itself via {{

No Format
boardctl(BOARDIOC_INIT, 0)

}} or (2) in the OS using board_late_initialize(). Each works well in certain contexts but there are also things that I don't like about either possibility:

...