Skip to content

Commit 20e5c97

Browse files
committed
stm32cube: stm32mp2xx: CMakeLists: Add Cortex A35 source
Add Cortex A35 sources in the CMakeLists.txt to enable support of the hal and ll files for the stm32mp2x Cortex A35. Signed-off-by: Julien Racki <[email protected]>
1 parent ca4c1e7 commit 20e5c97

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

stm32cube/stm32mp2xx/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
#
33
# SPDX-License-Identifier: Apache-2.0
44

5-
zephyr_library_sources(soc/system_stm32mp2xx_m33.c)
5+
if(CORE_CA35)
6+
zephyr_library_sources(soc/system_stm32mp2xx_a35.c)
7+
else()
8+
zephyr_library_sources(soc/system_stm32mp2xx_m33.c)
9+
endif()
610
zephyr_library_sources(drivers/src/stm32mp2xx_hal.c)
711
zephyr_library_sources(drivers/src/stm32mp2xx_hal_rcc.c)
812
zephyr_library_sources(drivers/src/stm32mp2xx_hal_rcc_ex.c)

0 commit comments

Comments
 (0)