# # For a description of the syntax of this configuration file, # see the file kconfig-language.txt in the NuttX tools repository. # if ARCH_BOARD_METRO_M4 choice prompt "Execution memory" default METRO_M4_RUNFROMFLASH config METRO_M4_RUNFROMFLASH bool "Run from FLASH" select BOOT_RUNFROMFLASH ---help--- This is the normal configuration for building METRO M4 code. config METRO_M4_RUNFROMSRAM bool "Run from SRAM" select BOOT_RUNFROMISRAM ---help--- During early bring-up, it is safer to execute entirely from SRAM until you are confident in the initialization logic. Then you can safely switch to FLASH. REVISIT: This auto-selects CONFIG_BOOT_RUNFROMISRAM but I have found, with some difficulty, that that choice still defaults to CONFIG_BOOT_RUNFROMFLASH, causing link-time failures when running from SRAM. endchoice # Execution memory endif # ARCH_BOARD_METRO_M4