updated cmake lists

This commit is contained in:
Robin Müller 2021-02-22 12:45:10 +01:00
parent 86e527882c
commit ab1b4271ec

View File

@ -61,6 +61,14 @@ if(TGT_BSP)
set(ADD_LINUX_FILES TRUE) set(ADD_LINUX_FILES TRUE)
set(ADD_CSP_LIB TRUE) set(ADD_CSP_LIB TRUE)
endif() endif()
if(${TGT_BSP} MATCHES "arm/raspberrypi")
add_definitions(-DRASPBERRY_PI)
endif()
if(${TGT_BSP} MATCHES "arm/q7s")
add_definitions(-DXIPHOS_Q7S)
endif()
else() else()
# Required by FSFW library # Required by FSFW library
set(FSFW_CONFIG_PATH "${BSP_PATH}/fsfwconfig") set(FSFW_CONFIG_PATH "${BSP_PATH}/fsfwconfig")