Skip to content
Permalink
Browse files

soc/arm/st_stm32: Replace STM32 specific core selection option

stm32mp1 was adding a STM32 specific Core selection Kconfig
symbol while zephyr generic CPU_CORTEX_M4 could be used for the
same purpose.
Remove STM32 specific symbol and use generic one.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
  • Loading branch information...
erwango authored and nashif committed Jun 6, 2019
1 parent afb4e4f commit ae7ce0792d8f1d1ef946f203e774a6870dc48685
Showing with 1 addition and 5 deletions.
  1. +1 −1 ext/hal/st/stm32cube/CMakeLists.txt
  2. +0 −4 soc/arm/st_stm32/stm32mp1/Kconfig.defconfig.series
@@ -32,7 +32,7 @@ set(stm_socs
stm32wbx
)

if(CONFIG_STM32_CORE_CM4)
if(CONFIG_CPU_CORTEX_M4)
zephyr_compile_definitions( -DCORE_CM4 )
endif()

@@ -12,10 +12,6 @@ source "soc/arm/st_stm32/stm32mp1/Kconfig.defconfig.stm32mp15_m4"
config SOC_SERIES
default "stm32mp1"

config STM32_CORE_CM4
bool "define stm32 core"
default y

if GPIO_STM32

config GPIO_STM32_PORTD

0 comments on commit ae7ce07

Please sign in to comment.
You can’t perform that action at this time.