Skip to content

Compilation failure adding Arduino as a component. #1434

@PhilColbert

Description

@PhilColbert

I just downloaded ESPIDF, copied one of the examples and added Arduino as a component via git as per the website.

Added Bluetooth in the menuconfig .

Unfortunately it now doesnt compile

CXX build/arduino/libraries/BLE/src//BLEServer.o
C:/msys32/home/Fugazi/esp/hello_world/components/arduino/libraries/BLE/src/BLEServer.cpp:21:22: fatal error: gatt_api.h: No such file or directory
compilation terminated.
make[1]: *** [/home/Fugazi/esp/esp-idf/make/component_wrapper.mk:286: libraries/BLE/src//BLEServer.o] Error 1
make: *** [C:/msys32/home/Fugazi/esp/esp-idf/make/project.mk:467: component-arduino-build] Error 2

After removing //#include <esp_gatts_api.h> in BLEServer.cpp it compiles once more...

then SimpleBLE.cpp wont compile - remove //#include "bta_api.h", then it compiles.

Have these files just not been updated yet?

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions