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>
18 lines
351 B
Text
18 lines
351 B
Text
# ST Microelectronics STM32F0 MCU line
|
|
|
|
# Copyright (c) 2017 RnDity Sp. z o.o.
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Kconfig symbols common to STM32F0 series
|
|
|
|
if SOC_SERIES_STM32F0X
|
|
|
|
source "soc/arm/st_stm32/stm32f0/Kconfig.defconfig.stm32f0*"
|
|
|
|
config SOC_SERIES
|
|
default "stm32f0"
|
|
|
|
config SRAM_VECTOR_TABLE
|
|
default y
|
|
|
|
endif # SOC_SERIES_STM32F0X
|