1if (NOT (FREERTOS_PLUS_TCP_NETWORK_IF STREQUAL "LPC18xx") ) 2 return() 3endif() 4 5if(NOT TARGET lpc17xx_driver) 6 message(FATAL_ERROR "For FREERTOS_PLUS_TCP_NETWORK_IF=LPC18xx must have a target for the lpc18xx_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 lpc18xx_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