update preproject config
This commit is contained in:
parent
a5949e5427
commit
ce4a5ec7d1
@ -19,7 +19,8 @@ set(STM32_ADD_NETWORKING_CODE OFF)
|
||||
set(FSFW_HAL_ADD_STM32H7 ON)
|
||||
|
||||
# This call has to come before the project call
|
||||
set(CMAKE_TOOLCHAIN_FILE ${STM32_CMAKE_PATH}/cmake/stm32_gcc.cmake)
|
||||
include("${CMAKE_SCRIPT_PATH}/PreProjectConfig.cmake")
|
||||
|
||||
# Project Name
|
||||
project(fsfw-example-stm32h7-rtems ASM C CXX)
|
||||
|
||||
@ -134,12 +135,6 @@ target_compile_options(${TARGET_NAME} PRIVATE
|
||||
${WARNING_FLAGS}
|
||||
)
|
||||
|
||||
if(TGT_BSP)
|
||||
set(TARGET_STRING "Target BSP: ${TGT_BSP}")
|
||||
else()
|
||||
set(TARGET_STRING "Target BSP: Hosted")
|
||||
endif()
|
||||
|
||||
string(CONCAT POST_BUILD_COMMENT
|
||||
"Build directory: ${CMAKE_BINARY_DIR}\n"
|
||||
"Target OSAL: ${FSFW_OSAL}\n"
|
||||
|
@ -42,3 +42,6 @@ set(CMAKE_TOOLCHAIN_FILE
|
||||
${RTEMS_CONFIG_DIR}/RTEMSToolchain.cmake
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
set(RTEMS_BSP ${RTEMS_BSP} CACHE STRING "RTEMS BSP")
|
||||
set(RTEMS_PREFIX ${RTEMS_PREFIX} CACHE STRING "RTEMS Prefix")
|
||||
|
Loading…
Reference in New Issue
Block a user