Skip to content

Problem running BLE examples #70

@diogoviannaaraujo

Description

@diogoviannaaraujo

Hi, im having some problems running any code with BLE.

After following all the guidelines on documentation about sdkconfig im getting this message when trying to mcconfig:

# cc modBLEServer.c.o
In file included from /Users/diogoviannaaraujo/Git/moddable/modules/network/ble/esp32/modBLEServer.c:27:0:
/Users/diogoviannaaraujo/Git/moddable/modules/network/ble/esp32/modBLEServer.c: In function 'xs_ble_server_initialize':
/Users/diogoviannaaraujo/esp32/esp-idf/components/bt/include/esp_bt.h:61:50: error: static assertion failed: "please enable bluetooth in menuconfig to use bt.h"
 #define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use bt.h");

Any ideia why that?

Edit1: Ive gone a little deeper and and found out that I could run make menuconfig on sdkconfig folder and configure build options, tried to re-save the sdkconfig file but got no luck either.

Edit2: Tryed rollbacking some versions of esp-idf, tried some commits back and even most of the releases, always the same error.

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