changes for MacOS

This commit is contained in:
2022-04-30 18:40:22 +02:00
parent e796f82203
commit afcbc8be0a
10 changed files with 17 additions and 11 deletions
CMakeLists.txt
hal/src/fsfw_hal/linux
src/fsfw

@@ -12,9 +12,14 @@ if(FSFW_HAL_LINUX_ADD_PERIPHERAL_DRIVERS)
if(FSFW_HAL_LINUX_ADD_LIBGPIOD)
add_subdirectory(gpio)
endif()
add_subdirectory(spi)
add_subdirectory(i2c)
add_subdirectory(uart)
# Adding those does not really make sense on Apple systems which
# are generally host systems. It won't even compile as the headers
# are missing
if(NOT APPLE)
add_subdirectory(i2c)
add_subdirectory(spi)
endif()
endif()
add_subdirectory(uio)