12 lines
337 B
CMake
12 lines
337 B
CMake
set(BSP_COMMON_DIR ${CMAKE_SOURCE_DIR}/bsp/bsp_common)
|
|
set(TARGET_REQUIRED_PRIVATE_INCLUDE ${BSP_COMMON_DIR}/ethernet)
|
|
set(TARGET_REQUIRED_SRCS ${BSP_COMMON_DIR}/ethernet/ethernetif.c ${BSP_COMMON_DIR}/ethernet/emac_phy.c
|
|
tcp_server.c
|
|
tcp_client.c)
|
|
|
|
set(TARGET_REQUIRED_LIBS freertos lwip)
|
|
|
|
set(mains main.c )
|
|
|
|
generate_bin()
|