Code: Select all
REQUIRES bt esp_common driver hal freertos log
https://docs.espressif.com/projects/esp ... p_ble.html
compiled with latest docker image
Code: Select all
sudo docker run --rm -v $PWD:/project -w /project -u $UID -e HOME=/tmp espressif/idf idf.py build
Code: Select all
/project/main/ble_wrp.c:9:10: fatal error: esp_gap_ble_api.h: No such file or directory 9 | #include "esp_gap_ble_api.h" compilation terminated.
Code: Select all
Missing "esp_gap_ble_api.h" file name found in the following component(s): bt(/opt/esp/idf/components/bt/host/bluedroid/api/include/api/esp_gap_ble_api.h). Maybe one of the components needs to add the missing header directory to INCLUDE_DIRS of idf_component_register call in CMakeLists.txt.
#include "esp_wifi.h"