arch: stm32: Remove STM32_ARM_MPU_ENABLE option.
The STM32_ARM_MPU_ENABLE option is just selecting ARM_MPU option, which could be also controlled through menuconfig. This commit removes the STM32_ARM_MPU_ENABLE option and replaces its usage by ARM_MPU option. Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
This commit is contained in:
parent
461a9de773
commit
eb1ee5f1ee
19 changed files with 18 additions and 25 deletions
|
@ -18,13 +18,6 @@ config SOC_FAMILY
|
|||
string
|
||||
default "st_stm32"
|
||||
|
||||
config STM32_ARM_MPU_ENABLE
|
||||
bool "Enable MPU on STM32"
|
||||
depends on CPU_HAS_MPU
|
||||
select ARM_MPU
|
||||
help
|
||||
Enable MPU support on STM32 SoCs
|
||||
|
||||
source "soc/arm/st_stm32/*/Kconfig.soc"
|
||||
|
||||
endif # SOC_FAMILY_STM32
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
zephyr_sources_ifdef(CONFIG_STM32_ARM_MPU_ENABLE arm_mpu_regions.c)
|
||||
zephyr_sources_ifdef(CONFIG_ARM_MPU arm_mpu_regions.c)
|
||||
zephyr_sources(stm32cube_hal.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue