-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
undefined reference to `esp_ble_gap_start_advertising' #6954
Comments
I tested the I think it may be a problem of PlatformIO configuration from your side. If the problem persists, maybe you can open an issue within PlatformIO github. |
|
@valeros - Is this something that should be configured in the PIO side? |
Hi @SuGlider, everything is fine. It was a mixed IDF/Arduino project that required a special option in the sdkconfig. |
I also face this problem today. It only needs to tick But it is not tick by default. And some document like this https://github.com/nkolban/esp32-snippets/blob/master/Documentation/BLE%20C%2B%2B%20Guide.pdf not mention this. Could we add this to this document? https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html Thanks for the reminder. |
Board
esp32-c3-devkitm-1
Device Description
No
Hardware Configuration
No
Version
latest master (checkout manually)
IDE Name
PlatformIO
Operating System
Windows 10
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
115200
Description
I try to compile a project for the ESP32-C3 by using esp-idf 4.4.1 in PlatformIO and the Arduino Core as a component. The linking failes, because of this error:
Compiling for the ESP32 Dev-board works without an issue.
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: