xref: /FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Fxx/CMakeLists.txt (revision 89269454b9187e8693e94eb3f6cb0df5da9ee4c3)
1if (NOT ( (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "STM32FXX") ) )
2    return()
3endif()
4
5#------------------------------------------------------------------------------
6add_library( freertos_plus_tcp_network_if STATIC )
7
8target_sources( freertos_plus_tcp_network_if
9  PRIVATE
10    NetworkInterface.c
11    # stm32f2xx_hal_eth.h
12    # stm32f4xx_hal_eth.h
13    stm32f7xx_hal_eth.h  #TODO: Only one of these ?
14    stm32fxx_hal_eth.c
15    stm32fxx_hal_eth.h
16)
17
18target_link_libraries( freertos_plus_tcp_network_if
19  PUBLIC
20    freertos_plus_tcp_port
21    freertos_plus_tcp_network_if_common
22  PRIVATE
23    freertos_kernel
24    freertos_plus_tcp
25)
26