diff --git a/firmware/esp32/main/CMakeLists.txt b/firmware/esp32/main/CMakeLists.txt index 6ea9e3e..cc39a7b 100644 --- a/firmware/esp32/main/CMakeLists.txt +++ b/firmware/esp32/main/CMakeLists.txt @@ -1,5 +1,6 @@ idf_component_register(SRCS "./main.cpp" "./wifi.cpp" + "./i2c.c" INCLUDE_DIRS "../include" REQUIRES esp_wifi nvs_flash @@ -7,4 +8,5 @@ idf_component_register(SRCS "./main.cpp" esp_hw_support esp_system freertos - log) + log + i2c_master)