rpi in linux folder now

This commit is contained in:
Robin Müller 2021-03-23 15:35:58 +01:00
parent 29c44bfd78
commit 4023f217f6
3 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.13) cmake_minimum_required(VERSION 3.13)
set(LIB_FSFW_HAL_NAME fsfw_hal) set(LIB_FSFW_HAL_NAME fsfw_hal)
set(RPI_PATH_NAME rpi) set(LINUX_HAL_PATH_NAME linux)
set(STM32H7_PATH_NAME stm32h7) set(STM32H7_PATH_NAME stm32h7)
add_library(${LIB_FSFW_HAL_NAME}) add_library(${LIB_FSFW_HAL_NAME})
@ -20,7 +20,7 @@ target_sources(${LIB_FSFW_HAL_NAME} PRIVATE
) )
if(TGT_BSP MATCHES "arm/raspberrypi") if(TGT_BSP MATCHES "arm/raspberrypi")
add_subdirectory(${RPI_PATH_NAME}) add_subdirectory(${LINUX_HAL_PATH_NAME})
endif() endif()
if(TGT_BSP MATCHES "arm/stm32h743zi-nucleo") if(TGT_BSP MATCHES "arm/stm32h743zi-nucleo")

3
linux/CMakeLists.txt Normal file
View File

@ -0,0 +1,3 @@
if(TGT_BSP MATCHES "arm/raspberrypi")
add_subdirectory(rpi)
endif()