Skip to content

Commit 9525941

Browse files
gautierg-sterwango
authored andcommitted
stm32cube: cmakelists: add n6 and cortex m55
Add STM32N6 to the list of supported series and add the compile definition for compiling on a Cortex M55 Signed-off-by: Guillaume Gautier <[email protected]>
1 parent 3e60b75 commit 9525941

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
@@ -64,6 +64,7 @@ set(supported_series
6464
stm32l4x
6565
stm32l5x
6666
stm32mp1x
67+
stm32n6x
6768
stm32u0x
6869
stm32u5x
6970
stm32wb0x
@@ -78,6 +79,8 @@ if(CONFIG_CPU_CORTEX_M4)
7879
zephyr_compile_definitions( -DCORE_CM4 )
7980
elseif(CONFIG_CPU_CORTEX_M7)
8081
zephyr_compile_definitions( -DCORE_CM7 )
82+
elseif(CONFIG_CPU_CORTEX_M55)
83+
zephyr_compile_definitions( -DCORE_CM55 )
8184
endif()
8285

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

0 commit comments

Comments
 (0)