1if (NOT (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "DRIVER_SAM") ) 2 return() 3endif() 4 5#------------------------------------------------------------------------------ 6add_library( freertos_plus_tcp_network_if STATIC ) 7 8target_sources( freertos_plus_tcp_network_if 9 PRIVATE 10 gmac_SAM.c 11 gmac_SAM.h 12 NetworkInterface.c 13) 14 15target_link_libraries( freertos_plus_tcp_network_if 16 PUBLIC 17 freertos_plus_tcp_port 18 freertos_plus_tcp_network_if_common 19 PRIVATE 20 freertos_kernel 21 freertos_plus_tcp 22) 23