-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Feature request] Support for ESP32-C6 #43
Comments
Hi @troglodisme Your assumption is right, the NimBLE lib unfortunately does not support the ESP32-C6 yet. However, there is a feature request for it and there is already a branch with a test implementation which seems to work. See h2zero/NimBLE-Arduino#642 If this does not work out, you could plug in another BLE lib by implementing the src/IBLELibraryWrapper.h. Best, Léonie |
I've tried my luck without success on two different esp32-c6 boards using the "esp32-c6-test" branch. The NimBLE-Arduino example code here worked https://github.com/h2zero/NimBLE-Arduino/tree/esp32-c6-test/examples/NimBLE_Client . I was able to see Bluetooth devices around reported by the esp32-c6 itself via serial. The same branch but on an esp32-S3 was successful. I will look next into the messages further down in the issue h2zero/NimBLE-Arduino#642. |
Thanks @davidkreidler and @LeonieFierz Interesting that you could get the esp32-c6-test branch to work for the NimBLE_Client example. If my case it doesn't successfully finish compilation process. Could you please share your setup? |
Arduino IDE 2.3.2 |
hi @LeonieFierz any updates on this? I noticed you assigned the issue to yourself. Thank you. I have not managed to move forward with it. |
Hi @troglodisme |
I can't compile any of the examples on a ESP32-C6 board (specifically Sparkfun ESP32-C6 Thing Plus). I believe this is due to an issue with NimBLE library you are using. Can you please suggest a solution?
In file included from /Users/giulio/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-b6b4727c58/esp32c6/include/bt/include/esp32c6/include/esp_bt.h:17, from /Users/giulio/GitHub/resources/Arduino/libraries/NimBLE-Arduino/src/NimBLEDevice.h:46, from /Users/giulio/GitHub/resources/Arduino/libraries/Sensirion_Gadget_BLE_Arduino_Lib/src/NimBLELibraryWrapper.cpp:2: /Users/giulio/Library/Arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-b6b4727c58/esp32c6/include/bt/common/api/include/api/../../../../controller/esp32c6/esp_bt_cfg.h:19:10: fatal error: syscfg/syscfg.h: No such file or directory 19 | #include "syscfg/syscfg.h" | ^~~~~~~~~~~~~~~~~ compilation terminated.
The text was updated successfully, but these errors were encountered: