From a02d3e32945f81860d2c489ac6caa8d85a19240e Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Thu, 27 Nov 2025 15:55:42 +0100 Subject: [PATCH] Add build instructions for I2C --- firmware/esp32/main/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)