fix: compiling with DEBUG (#5377)

This commit is contained in:
Raphael Coeffic
2024-08-05 10:07:37 +10:00
committed by GitHub
parent de8dc70806
commit 5ad38828fa
5 changed files with 11 additions and 9 deletions
+1
View File
@@ -546,6 +546,7 @@ add_dependencies(firmware ${RADIO_DEPENDENCIES})
set_target_properties(firmware PROPERTIES EXCLUDE_FROM_ALL TRUE)
if(DEBUG)
target_compile_definitions(board PRIVATE -DDEBUG)
target_compile_definitions(firmware PRIVATE -DDEBUG)
target_compile_definitions(stm32_drivers_w_dbg_fw PRIVATE -DDEBUG)
endif()