Page 1 of 1

undefined reference in example project

Posted: Thu Mar 07, 2024 2:13 pm
by formica
Hello

I am very new in programming with Visual Studio Code and ESP32 (it's the first time). So I have the following problem:

- ESP32 C6 DevKitC-1-N8
- Visual Studio Code with the esp32 extension installed
- I could compile and run a simple blink-programm. Bu twhen I use to build a BT-Example I always get errors. Actual I try to build classic_bt A2DP_SINK from the examples. When I build it I get the error "undefined reference to `esp_avrc_tg_send_rn_rsp'" and other undefined references. Can you give me some hints how to solve this problem? Or do you need more info, code? I added the error-messages in the attached file.

I built it with ESP32C6-Target.

Thanks, Peter

Re: undefined reference in example project

Posted: Fri Mar 08, 2024 8:55 am
by MicroController
try to build classic_bt A2DP_SINK
The ESP32-C6 does not have classic Bluetooth, only BLE.

Re: undefined reference in example project

Posted: Fri Mar 08, 2024 11:25 am
by formica
Thank you a lot. I now tried another example from ble and that works. Now I try to make my own program.

Kind regards, Peter