Open emofalling opened 1 day ago
@emofalling
In the ws2812.c
component's CMakeLists.txt
, does the following resolve the build error?
idf_component_register(SRCS "main.c" "drivers/ws2812.c"
INCLUDE_DIRS "."
REQUIRES driver
PRIV_REQUIRES nvs_flash esp_wifi)
@Dazza0 Thank your help. I successfully resolved the build error.
Answers checklist.
IDF version.
v5.2.2
Operating System used.
Windows
How did you build your project?
Command line with CMake
If you are using Windows, please specify command line type.
PowerShell
What is the expected behavior?
The cmake can find head file
"driver/rmt_tx.h"
, then make my project successfully.What is the actual behavior?
The cmake can't find head file
"driver/rmt_tx.h"
, and throwing an error:but in the same project on esp32, cmake can find this head file.
Steps to reproduce.
drivers/ws2812.c
from other project(esp32), and copy to this project(esp32s3)More Information.
But the other lib on esp32s3 can find header file, such as: