diff --git a/firmware/esp32/main/CMakeLists.txt b/firmware/esp32/main/CMakeLists.txt index d06dc88..fa6fcfd 100644 --- a/firmware/esp32/main/CMakeLists.txt +++ b/firmware/esp32/main/CMakeLists.txt @@ -1,14 +1,16 @@ -idf_component_register(SRCS "./main.cpp" - "./wifi.cpp" - "./i2c.c" - "./mqtt.cpp" - INCLUDE_DIRS "../include" - REQUIRES esp_wifi - nvs_flash - esp_pm - esp_hw_support - esp_system - freertos - log - i2c_master) - mqtt) +idf_component_register( + SRCS "./main.cpp" + "./wifi.cpp" + "./i2c.cpp" + "./mqtt.cpp" + INCLUDE_DIRS "../include" + REQUIRES esp_wifi + nvs_flash + esp_pm + esp_hw_support + esp_system + freertos + log + mqtt + esp_driver_i2c +)