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:
Clone this repository, add a pin definition for CONFIG_SPIRAM_SPIWP_SD3_PIN, and switch the board type to CONFIG_ESP_LYRAT_V4_3_BOARD
Replace this play_mp3_example.c's app_main with the app_main from play_bt_music_example.c (this is from the v2.0-beta-3 release - could be an issue there?).
Include the following libraries at the top of play_mp3_example.c:
The resulting repository can be viewed here. The full compilation including linking errors can be viewed here.
I've tried a bunch of different potential solutions which have all resulted in even more cryptic errors... these mainly include:
manually including all libraries in platformio's build_flags and lib_deps
upgrading esp-adf to 4.x and esp-idf to v2.0-beta3
fiddling with platformio's lib_ldf_mode
ensuring partition tables are configured correctly
updating all esp-adf components in this repository to v2.0-beta3 components
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.
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:
CONFIG_SPIRAM_SPIWP_SD3_PIN
, and switch the board type toCONFIG_ESP_LYRAT_V4_3_BOARD
app_main
with theapp_main
from play_bt_music_example.c (this is from the v2.0-beta-3 release - could be an issue there?).The resulting repository can be viewed here. The full compilation including linking errors can be viewed here.
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.