Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failure for ESP32-C6 target #365

Open
lyusupov opened this issue Aug 8, 2024 · 0 comments · May be fixed by #364
Open

build failure for ESP32-C6 target #365

lyusupov opened this issue Aug 8, 2024 · 0 comments · May be fixed by #364
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@lyusupov
Copy link

lyusupov commented Aug 8, 2024

/home/codespace/Arduino/libraries/ArduinoBLE-1.3.7/src/utility/HCIVirtualTransport.cpp: In member function 'virtual int HCIVirtualTransportClass::begin()':
/home/codespace/Arduino/libraries/ArduinoBLE-1.3.7/src/utility/HCIVirtualTransport.cpp:83:10: error: 'struct esp_bt_controller_config_t' has no member named 'bluetooth_mode'
   83 |   bt_cfg.bluetooth_mode = ESP_BT_MODE_BLE; //different api for newer models
      |          ^~~~~~~~~~~~~~

esp_bt_controller_config_t type does no longer have bluetooth_mode member for C2, C6 and H2 targets:
https://github.com/espressif/esp-idf/blob/release/v5.2/components/bt/include/esp32c6/include/esp_bt.h#L166-L214

The PR #364 contains a proposed fix.

The ArduinoBLE library builds and boots fine on ESP32-C6 target afterwards.

@per1234 per1234 added type: imperfection Perceived defect in any part of project topic: code Related to content of the project itself labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
2 participants