Skip to content

Commit ae7ce07

Browse files
erwangonashif
authored andcommitted
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 <[email protected]>
1 parent afb4e4f commit ae7ce07

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

ext/hal/st/stm32cube/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ set(stm_socs
3232
stm32wbx
3333
)
3434

35-
if(CONFIG_STM32_CORE_CM4)
35+
if(CONFIG_CPU_CORTEX_M4)
3636
zephyr_compile_definitions( -DCORE_CM4 )
3737
endif()
3838

soc/arm/st_stm32/stm32mp1/Kconfig.defconfig.series

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ source "soc/arm/st_stm32/stm32mp1/Kconfig.defconfig.stm32mp15_m4"
1212
config SOC_SERIES
1313
default "stm32mp1"
1414

15-
config STM32_CORE_CM4
16-
bool "define stm32 core"
17-
default y
18-
1915
if GPIO_STM32
2016

2117
config GPIO_STM32_PORTD

0 commit comments

Comments
 (0)