xref: /FreeRTOS-Plus-TCP-v4.0.0/source/portable/NetworkInterface/ATSAM4E/CMakeLists.txt (revision 89269454b9187e8693e94eb3f6cb0df5da9ee4c3)
1if (NOT (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "ATSAM4E") )
2    return()
3endif()
4
5#------------------------------------------------------------------------------
6add_library( freertos_plus_tcp_network_if STATIC )
7
8target_sources( freertos_plus_tcp_network_if
9  PRIVATE
10    component/gmac.h
11    instance/gmac.h
12    ethernet_phy.c
13    ethernet_phy.h
14    gmac.c
15    gmac.h
16    NetworkInterface.c
17)
18
19target_link_libraries( freertos_plus_tcp_network_if
20  PUBLIC
21    freertos_plus_tcp_port
22    freertos_plus_tcp_network_if_common
23  PRIVATE
24    freertos_kernel
25    freertos_plus_tcp
26)
27