Files
esp32-bmc/main/CMakeLists.txt

14 lines
628 B
CMake

idf_component_register(SRCS "main.c"
"gpio_controller.c"
"uart_handler.c"
"ethernet_manager.c"
"web_server.c"
"ota_handler.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
esp_https_ota esp_http_client app_update)
# Embed HTML file
target_add_binary_data(${COMPONENT_TARGET} "html/index.html" TEXT)