removed fsfw_hal
This commit is contained in:
parent
fd51bae66c
commit
c3fc4d28d9
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -1,9 +1,6 @@
|
|||||||
[submodule "fsfw"]
|
[submodule "fsfw"]
|
||||||
path = fsfw
|
path = fsfw
|
||||||
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw.git
|
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw.git
|
||||||
[submodule "fsfw-hal"]
|
|
||||||
path = fsfw_hal
|
|
||||||
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw-hal.git
|
|
||||||
[submodule "tmtc/tmtccmd"]
|
[submodule "tmtc/tmtccmd"]
|
||||||
path = tmtc/tmtccmd
|
path = tmtc/tmtccmd
|
||||||
url = https://github.com/spacefisch/tmtccmd.git
|
url = https://github.com/spacefisch/tmtccmd.git
|
||||||
|
@ -18,8 +18,8 @@ if(NOT FSFW_OSAL)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(TGT_BSP MATCHES "arm/raspberrypi" OR TGT_BSP MATCHES "arm/beagleboneblack")
|
if(TGT_BSP MATCHES "arm/raspberrypi" OR TGT_BSP MATCHES "arm/beagleboneblack")
|
||||||
option(LINUX_CROSS_COMPILE OFF)
|
option(LINUX_CROSS_COMPILE "Cross compile for a Linux board" OFF)
|
||||||
set(FSFW_HAL_ADD_LINUX ON)
|
set(FSFW_HAL_ADD_LINUX "Add the FSFW HAL for Linux systems" ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Perform steps like loading toolchain files where applicable.
|
# Perform steps like loading toolchain files where applicable.
|
||||||
@ -41,12 +41,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED True)
|
|||||||
# Set names and variables
|
# Set names and variables
|
||||||
set(TARGET_NAME ${CMAKE_PROJECT_NAME})
|
set(TARGET_NAME ${CMAKE_PROJECT_NAME})
|
||||||
set(LIB_FSFW_NAME fsfw)
|
set(LIB_FSFW_NAME fsfw)
|
||||||
set(LIB_FSFW_HAL_NAME fsfw_hal)
|
|
||||||
|
|
||||||
# Set path names
|
# Set path names
|
||||||
set(FSFW_PATH fsfw)
|
set(FSFW_PATH fsfw)
|
||||||
set(COMMON_PATH example_common)
|
set(COMMON_PATH example_common)
|
||||||
set(LIB_FSFW_HAL_PATH fsfw_hal)
|
|
||||||
|
|
||||||
# Analyse different OS and architecture/target options, determine BSP_PATH,
|
# Analyse different OS and architecture/target options, determine BSP_PATH,
|
||||||
# display information about compiler etc.
|
# display information about compiler etc.
|
||||||
@ -105,7 +103,6 @@ add_executable(${TARGET_NAME})
|
|||||||
add_subdirectory(${BSP_PATH})
|
add_subdirectory(${BSP_PATH})
|
||||||
add_subdirectory(${FSFW_PATH})
|
add_subdirectory(${FSFW_PATH})
|
||||||
add_subdirectory(${COMMON_PATH})
|
add_subdirectory(${COMMON_PATH})
|
||||||
add_subdirectory(${LIB_FSFW_HAL_PATH})
|
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Post-Sources preparation
|
# Post-Sources preparation
|
||||||
@ -115,7 +112,6 @@ add_subdirectory(${LIB_FSFW_HAL_PATH})
|
|||||||
target_link_libraries(${TARGET_NAME} PRIVATE
|
target_link_libraries(${TARGET_NAME} PRIVATE
|
||||||
${LIB_FSFW_NAME}
|
${LIB_FSFW_NAME}
|
||||||
${LIB_OS_NAME}
|
${LIB_OS_NAME}
|
||||||
${LIB_FSFW_HAL_NAME}
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add include paths for all sources.
|
# Add include paths for all sources.
|
||||||
@ -137,12 +133,9 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
|||||||
"-fdata-sections"
|
"-fdata-sections"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Removed unused sections.
|
target_link_options(${TARGET_NAME} PRIVATE
|
||||||
if(NOT ${OS_FSFW} MATCHES rtems)
|
"-Wl,--gc-sections"
|
||||||
target_link_options(${TARGET_NAME} PRIVATE
|
)
|
||||||
"-Wl,--gc-sections"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit a3e6b1018b88f6e1e848f49e8f566026e88b98e8
|
Subproject commit aafccd191e3a592e19c09b01b95dea89c8936e54
|
1
fsfw_hal
1
fsfw_hal
@ -1 +0,0 @@
|
|||||||
Subproject commit cd0dfc49d5527755462118445832888572a92169
|
|
Loading…
x
Reference in New Issue
Block a user