2024-06-01 00:46:17 +10:00
|
|
|
idf_component_register(SRCS "console_ping.c" "console_getaddrinfo.c" "console_getsetdnsserver.c"
|
2023-10-18 10:57:05 +02:00
|
|
|
INCLUDE_DIRS "."
|
2024-06-01 00:46:17 +10:00
|
|
|
PRIV_REQUIRES esp_netif console)
|
|
|
|
|
|
|
|
if(CONFIG_PING_CMD_AUTO_REGISTRATION)
|
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u console_cmd_ping_register")
|
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u console_cmd_getaddrinfo_register")
|
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u console_cmd_setdnsserver_register")
|
|
|
|
target_link_libraries(${COMPONENT_LIB} "-u console_cmd_getdnsserver_register")
|
|
|
|
endif()
|