fix: compiling with DEBUG (#5377)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user