-
Notifications
You must be signed in to change notification settings - Fork 7.6k
BT device not connecting via A2DP #11244
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
Comments
Please take this issue to the relevant external libraries (AudioTools/ESP32-A2DP). There is no action on our side that we can do to help. |
I am actually using esp32-arduino as a component so that I could directly import the Arduino ide code here , so thought it would be a relevant issue |
@Admsher To solve you can use pioarduino to compile Arduino as an component of IDF. The use of weak defines in Arduino Core and Libraries can be forced in Platformio/pioarduino with the setting |
So just to be on the same track, should I use piarduino as a component for my esp-idf project? |
Yes, the only known working way to compile Arduino BT projects as a component of IDF is using pioarduino. You have to use WSL when using Windows as OS. Windows can't handle long path and command lines (which will happen in this build variant). |
So here is a fix I am in , the board I am using needs to extend it's IRAM from the DRAM for a bigger sketch i am trying to upload on the board, it seems that ESP-IDF is the only IDe that can enable that , will it be possible to confirm if piarduino can let me do that as well? |
menuconfig is available when mode Arduino as a component of IDF is used with pioarduino. |
Board
ESP32 One
Device Description
Using BLE A2DP with Wifi on ESP32 Chip ( As mentioned in ESP IDF)
Hardware Configuration
SD card reader and OV2460 Camera connected.
Version
latest stable Release (if not listed below)
IDE Name
ESP IDF v5.3
Operating System
WIndows 11
Flash frequency
40 Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I am trying to connect an A2DP speaker to my ESP32 one board using the arduino-audio-tools lbrary, i tried to connect with Arduino IDE At first and i worked fine, but now for some reason the device does'nt connect when ESP IDF v5.3 used even when there are no errors in build or runtime itself and flashes properly. I have tried resetting the speaker itself but no luck there.
Sketch
Debug Message
Other Steps to Reproduce
You can go through the configuration for the flags in this link :https://github.com/pschatzmann/ESP32-A2DP/wiki/Espressif-IDF-as-a-Component
One thing i would also tell you to go through this issue as well for configuring the HAL files: #11167
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: