Skip to content

Commit d3bd8aa

Browse files
committed
test-app keystore.c fix
1 parent 6dfe267 commit d3bd8aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test-app/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,10 +124,12 @@ if(BUILD_TEST_APPS)
124124

125125
# stm32h5-specific sources
126126
if("${WOLFBOOT_TARGET}" STREQUAL "stm32h5")
127+
set_source_files_properties(${CMAKE_BINARY_DIR}/keystore.c PROPERTIES GENERATED TRUE)
127128
target_sources(image PRIVATE
128129
../hal/uart/uart_drv_stm32h5.c
129-
../src/keystore.c
130+
${CMAKE_BINARY_DIR}/keystore.c
130131
)
132+
add_dependencies(image keystore)
131133
target_compile_definitions(image PRIVATE
132134
APP_HAS_SYSTICK
133135
RAMFUNCTION=__attribute__\(\(used,section\(".ramcode"\),long_call\)\)

0 commit comments

Comments
 (0)