Skip to content

Commit 64438d6

Browse files
youssefz24erwango
authored andcommitted
CMakeLists.txt: add stm32mp2x and cm33
Add the stm32mp2x to the supported soc series. Add the cortex-m33 to the zephyr compile definitions. Signed-off-by: Youssef Zini <[email protected]>
1 parent 3ade513 commit 64438d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stm32cube/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ set(supported_series
6565
stm32l5x
6666
stm32mp1x
6767
stm32mp13x
68+
stm32mp2x
6869
stm32n6x
6970
stm32u0x
7071
stm32u3x
@@ -85,6 +86,8 @@ elseif(CONFIG_CPU_CORTEX_M55)
8586
zephyr_compile_definitions( -DCORE_CM55 )
8687
elseif(CONFIG_CPU_CORTEX_A7)
8788
zephyr_compile_definitions( -DCORE_CA7 )
89+
elseif(CONFIG_CPU_CORTEX_M33)
90+
zephyr_compile_definitions( -DCORE_CM33 )
8891
endif()
8992

9093
# Define the HSE frequency visible to Cube if a value is specified in Zephyr.

0 commit comments

Comments
 (0)