From 73baf2f88f61e307afd6cd17f6727da4e446b64c Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 8 Aug 2025 16:14:41 +1000 Subject: Migrate to the new esp-idf I2C driver It's a better, less verbose driver, and also this fixes an occasional crash on boot. --- src/drivers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drivers/CMakeLists.txt') diff --git a/src/drivers/CMakeLists.txt b/src/drivers/CMakeLists.txt index fea5780f..da7c37cf 100644 --- a/src/drivers/CMakeLists.txt +++ b/src/drivers/CMakeLists.txt @@ -8,5 +8,5 @@ idf_component_register( "samd.cpp" "wm8523.cpp" "nvs.cpp" "haptics.cpp" "spiffs.cpp" "pcm_buffer.cpp" INCLUDE_DIRS "include" REQUIRES "esp_adc" "fatfs" "result" "lvgl" "nvs_flash" "spiffs" "bt" - "tasks" "tinyfsm" "util" "libcppbor" "driver") + "tasks" "tinyfsm" "util" "libcppbor" "driver" "esp_driver_i2c") target_compile_options(${COMPONENT_LIB} PRIVATE ${EXTRA_WARNINGS}) -- cgit v1.2.3