annoying but necessary changes
This commit is contained in:
parent
6287839680
commit
ac549216de
@ -76,6 +76,17 @@ set(FSFW_ADDITIONAL_INC_PATHS
|
|||||||
"FSFW configuration paths"
|
"FSFW configuration paths"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(TGT_BSP MATCHES "arm/stm32h743zi-nucleo")
|
||||||
|
# TODO: This works but is a horrible mess. In the future, stm32-cmake support will be used and
|
||||||
|
# linked against, so we have a clean interface which can be used by FSFW HAL.
|
||||||
|
set(FSFW_HAL_ADDITIONAL_INC_PATHS
|
||||||
|
${BOARD_CONFIG_PATH}
|
||||||
|
"${BSP_PATH}/STM32CubeH7/Drivers/BSP/STM32H7xx_Nucleo"
|
||||||
|
CACHE STRING
|
||||||
|
"FSFW HAL configuration paths"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
configure_file(${COMMON_CONFIG_PATH}/commonConfig.h.in commonConfig.h)
|
configure_file(${COMMON_CONFIG_PATH}/commonConfig.h.in commonConfig.h)
|
||||||
configure_file(${FSFW_CONFIG_PATH}/FSFWConfig.h.in FSFWConfig.h)
|
configure_file(${FSFW_CONFIG_PATH}/FSFWConfig.h.in FSFWConfig.h)
|
||||||
configure_file(${FSFW_CONFIG_PATH}/OBSWConfig.h.in OBSWConfig.h)
|
configure_file(${FSFW_CONFIG_PATH}/OBSWConfig.h.in OBSWConfig.h)
|
||||||
|
@ -107,6 +107,19 @@ if(${TGT_BSP} MATCHES "arm/stm32h743zi-nucleo")
|
|||||||
"HAL defines for target machine"
|
"HAL defines for target machine"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set(FSFW_HAL_DEFINES
|
||||||
|
${STM_HAL_DEFINES}
|
||||||
|
CACHE INTERNAL
|
||||||
|
"Defines for FSFW HAL"
|
||||||
|
)
|
||||||
|
|
||||||
|
set(FSFW_HAL_LINK_LIBS
|
||||||
|
${LIB_OS_NAME}
|
||||||
|
${LIB_STM_HAL_NAME}
|
||||||
|
CACHE INTERNAL
|
||||||
|
"Link FSFW HAL against OS"
|
||||||
|
)
|
||||||
|
|
||||||
set(LINKER_SCRIPT_PATH "${BSP_PATH}/STM32CubeH7/Boards/NUCLEO-H743ZI")
|
set(LINKER_SCRIPT_PATH "${BSP_PATH}/STM32CubeH7/Boards/NUCLEO-H743ZI")
|
||||||
set(LINKER_SCRIPT_NAME "STM32H743ZITx_FLASH.ld")
|
set(LINKER_SCRIPT_NAME "STM32H743ZITx_FLASH.ld")
|
||||||
|
|
||||||
|
2
fsfw_hal
2
fsfw_hal
@ -1 +1 @@
|
|||||||
Subproject commit d194b759c4781f6384786010c460382de97830c2
|
Subproject commit 04166f87d82f3729b4462437677bae9105c1c88e
|
Reference in New Issue
Block a user