Skip to content

Commit be3c9be

Browse files
committed
modules/trusted-firmware-m: Add API headers to zephyr include path
Some TFM interfaces, like trusted storage, are accessed by Zephyr applications. Make those available in the Zephyr include search path so that they will be available. Signed-off-by: Keith Packard <[email protected]>
1 parent da04e08 commit be3c9be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,8 @@ if (CONFIG_BUILD_WITH_TFM)
171171
set(TFM_INTERFACE_INCLUDE_DIR ${TFM_BINARY_DIR}/api_ns/interface/include)
172172
set(TFM_INTERFACE_LIB_DIR ${TFM_BINARY_DIR}/api_ns/interface/lib)
173173

174+
zephyr_include_directories(${TFM_INTERFACE_INCLUDE_DIR})
175+
174176
if(CONFIG_TFM_BL2)
175177
set(BL2_ELF_FILE ${TFM_BINARY_DIR}/bin/bl2.elf)
176178
set(BL2_BIN_FILE ${TFM_BINARY_DIR}/bin/bl2.bin)

0 commit comments

Comments
 (0)