From 27215b67aaa0a3e540ff4e369781ccac332a4662 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Fri, 16 Jul 2021 12:20:47 +0200 Subject: [PATCH] only compiling ethernet.c etc for freertos --- stm32h7/networking/CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/stm32h7/networking/CMakeLists.txt b/stm32h7/networking/CMakeLists.txt index 9e7138a..a14665b 100644 --- a/stm32h7/networking/CMakeLists.txt +++ b/stm32h7/networking/CMakeLists.txt @@ -1,7 +1,11 @@ +# These are part of the RTEMS BSP for RTEMS +if(FSFW_OSAL MATCHES freertos) + app_dhcp.c + app_ethernet.c + ethernetif.c +endif() + target_sources(${TARGET_NAME} PRIVATE - app_dhcp.c - app_ethernet.c - ethernetif.c UdpTcLwIpPollingTask.cpp TmTcLwIpUdpBridge.cpp )