We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f66658a commit ca7d99aCopy full SHA for ca7d99a
modules/trusted-firmware-m/CMakeLists.txt
@@ -26,6 +26,11 @@ if (CONFIG_BUILD_WITH_TFM)
26
endif()
27
28
29
+ # Treat any warning as error
30
+ if (CONFIG_COMPILER_WARNINGS_AS_ERRORS)
31
+ list(APPEND TFM_CMAKE_ARGS -DCONFIG_TFM_WARNINGS_ARE_ERRORS:BOOL=ON)
32
+ endif()
33
+
34
if (CONFIG_TFM_SFN)
35
list(APPEND TFM_CMAKE_ARGS -DCONFIG_TFM_SPM_BACKEND="SFN")
36
else() # CONFIG_TFM_IPC
0 commit comments