I'm currently trying to get bbulkow's FastLed port (from github) to run in ESP-IDF 5.12, but I'm getting some errors that I can't deal with as a beginner.
The errors are as follows:
Code: Select all
fatal error: esp_timer.h: No such file or directory
7 | #include "esp_timer.h"
Code: Select all
cannot open source file "driver/gpio.h"C/C++(1696)
For the second error i came across a post that deals with this. The solution was to link the driver in the CMakeList in the root directory of the project, but this did not work in my case. Same error still after adding:
Code: Select all
idf_component_register(SRCS ${SOURCE_FILES}
REQUIRES drivers)
Thanks in advance!!