Closed EldritchJS closed 2 years ago
Based on this commit to esp-idf:
https://github.com/espressif/esp-idf/commit/708e99497b1ef13301dad3da6f76f05f974a5f85
the issue I'm seeing seems resolved by adding esp_timer
to the CMakeLists.txt
components that depend on esp_timer. Specifically these:
button color lib8tion hmc5883l hdc1000 mhz19b hts221 sht4x ultrasonic wiegand encoder hx711 sht3x
Will fork and submit a PR
The issue
After updating my esp-idf installation, I observed build fails for projects. I reinstalled esp-idf entirely, the build issue persists.
ESP-IDF commit:
commit 31b7694551620522cc3fde0623321a38bfea762f (HEAD -> master, origin/master, origin/HEAD) Merge: 0a511e576e c063cbd7f7 Author: Roland Dobai roland@espressif.com Date: Mon May 16 21:50:16 2022 +0800
ESP-IDF-LIB commit:
commit af5f7ad3d3d80d7bb33b1293a973727daff6d52e (HEAD -> master, origin/master, origin/HEAD) Author: UncleRus unclerus@gmail.com Date: Wed May 11 02:22:18 2022 +0500
Build error when building esp-idf-lib/examples/bmp280:
In file included from /home/eldritchjs/esp/esp-idf-lib/components/lib8tion/lib8tion.c:24: /home/eldritchjs/esp/esp-idf-lib/components/lib8tion/lib8tion.h:178:10: fatal error: esp_timer.h: No such file or directory
include
compilation terminated.
esp_timer.h still exists within my ESP-IDF path, Currently looking through includes variables to see what's changed to cause the project build to fail
Which SDK are you using?
esp-idf
Which version of SDK are you using?
master
Which build target have you used?
Component causing the issue
lib8tion
Anything in the logs that might be useful for us?
Additional information or context
I've attempted the build with targets esp32 and esp32c3
Confirmation