idf_component_register(SRCS "main.c" "gpio_controller.c" "uart_handler.c" "ethernet_manager.c" "web_server.c" INCLUDE_DIRS "." REQUIRES esp_driver_gpio esp_driver_uart esp_driver_spi esp_http_server esp_eth esp_netif lwip spi_flash nvs_flash log) # Embed HTML file target_add_binary_data(${COMPONENT_TARGET} "html/index.html" TEXT)