boards: stm32f0: explicit RAM vector table control
Add a new Kconfig symbol that explicitly controls whether the vector table should be placed in RAM. This eliminates the side effect of `IS_BOOTLOADER` controlling vector table location. Making the condition a positive assertion also allows the config to be used in CMakeLists conditions (`zephyr_linker_sources_ifdef()`, etc). Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
parent
bcca26260b
commit
318ee971c5
8 changed files with 15 additions and 10 deletions
|
@ -14,8 +14,7 @@ CONFIG_MAIN_STACK_SIZE=640
|
|||
CONFIG_IDLE_STACK_SIZE=200
|
||||
CONFIG_ISR_STACK_SIZE=512
|
||||
# Prevent Interrupt Vector Table in RAM
|
||||
CONFIG_IS_BOOTLOADER=y
|
||||
CONFIG_BOOTLOADER_SRAM_SIZE=8
|
||||
CONFIG_SRAM_VECTOR_TABLE=n
|
||||
|
||||
# Serial Drivers
|
||||
CONFIG_SERIAL=y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue