Skip to content

Commit 166ddd7

Browse files
committed
stm32cube: stm32n6xx: support non-secure execution
Consider when the application executes from non-secure CPU context that is when CONFIG_TRUSTED_EXECUTION_NONSECURE is enabled. Signed-off-by: Etienne Carriere <etienne.carriere@st.com>
1 parent e1a69cd commit 166ddd7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stm32cube/stm32n6xx/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ if(CONFIG_BOOTLOADER_MCUBOOT)
55
zephyr_include_directories(soc)
66
zephyr_include_directories(soc/Templates)
77
zephyr_library_sources(soc/system_stm32n6xx_s.c)
8+
elseif(CONFIG_TRUSTED_EXECUTION_NONSECURE)
9+
zephyr_library_sources(soc/system_stm32n6xx_ns.c)
810
else()
911
zephyr_library_sources(soc/system_stm32n6xx_fsbl.c)
1012
endif()

0 commit comments

Comments
 (0)