Problems including esp-idf library
Posted: Sun Aug 21, 2022 9:52 am
Hello!
I'm trying to integrate BLE with nimble into one of my projects. When I try to include sp_nimble_hci.h I get the following error after running "idf.py build":
fatal error: esp_nimble_hci.h: No such file or directory
What is the reason for this?
Here are my include paths:
And here is my main CMakeLists.txt:
I'm trying to integrate BLE with nimble into one of my projects. When I try to include sp_nimble_hci.h I get the following error after running "idf.py build":
fatal error: esp_nimble_hci.h: No such file or directory
What is the reason for this?
Here are my include paths:
Code: Select all
"includePath": [
"${workspaceFolder}/**",
"/home/markus/esp/esp-idf/**"
]
Code: Select all
idf_component_register(SRCS "door_lock.c"
INCLUDE_DIRS "/home/markus/esp/esp-idf/projects/door_lock/lib")