maxgerhardt / pio-esp-adf-example

An example how to use ESP-ADF with PIO.
27 stars 14 forks source link

bluetooth_services linking error #4

Open drewandre opened 4 years ago

drewandre commented 4 years ago

Hi, thank you so much for providing this example! I was able to get up and running on platformio pretty much instantly with my new lyrat 4.3 board.

What I'm trying to do is get a bluetooth audio streaming application up and running by copying over the example here. Everything compiles correctly, but during the linking phase I get all sorts of undefined reference errors from the bluetooth_services library.

I provided an example repo that demonstrates the linking issues below, but steps to reproduce are as follows:

I've tried a bunch of different potential solutions which have all resulted in even more cryptic errors... these mainly include:

I'm back to running framework-espidf v3.3.0 and the same components for esp-edf that are included in this repo. Let me know if any other version info would be helpful.

Has anyone else has linking issues? Is there something obvious I'm missing here? Any help would be appreciated. Thanks in advance.

maxgerhardt commented 4 years ago

I will rewrite this project to work with the latest ESP-ADF and ESP-IDF PlatformIO version soon so issues like these should be gone.