xref: /FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/STM32Hxx/CMakeLists.txt (revision 89269454b9187e8693e94eb3f6cb0df5da9ee4c3)
1if (NOT ( (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "STM32HXX") ) )
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    stm32h7xx_hal_eth.h
12    stm32hxx_hal_eth.c
13    stm32hxx_hal_eth.h
14)
15
16target_link_libraries( freertos_plus_tcp_network_if
17  PUBLIC
18    freertos_plus_tcp_port
19    freertos_plus_tcp_network_if_common
20  PRIVATE
21    freertos_kernel
22    freertos_plus_tcp
23)
24