1if (NOT (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "LPC54018") ) 2 return() 3endif() 4 5if(NOT TARGET fsl_enet_driver) 6 message(FATAL_ERROR "For FREERTOS_PLUS_TCP_NETWORK_IF=LPC54018 must have a target for the fsl_enet_driver") 7endif() 8#------------------------------------------------------------------------------ 9add_library( freertos_plus_tcp_network_if STATIC ) 10 11target_sources( freertos_plus_tcp_network_if 12 PRIVATE 13 NetworkInterface.c 14) 15 16target_link_libraries(freertos_plus_tcp_network_if 17 PRIVATE 18 lpc54018_driver # TODO 19) 20 21target_link_libraries( freertos_plus_tcp_network_if 22 PUBLIC 23 freertos_plus_tcp_port 24 freertos_plus_tcp_network_if_common 25 PRIVATE 26 freertos_kernel 27 freertos_plus_tcp 28) 29