rpi in linux folder now
This commit is contained in:
parent
29c44bfd78
commit
4023f217f6
@ -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
3
linux/CMakeLists.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
if(TGT_BSP MATCHES "arm/raspberrypi")
|
||||||
|
add_subdirectory(rpi)
|
||||||
|
endif()
|
Loading…
Reference in New Issue
Block a user