idf_component_register( SRCS "iperf.c" INCLUDE_DIRS "." # Only if iperf.h needs types from these (unlikely based on your code): REQUIRES lwip led_strip # Internal implementation details only: PRIV_REQUIRES esp_event esp_timer nvs_flash esp_netif esp_wifi )