undefined reference in example project

formica
Posts: 2
Joined: Thu Mar 07, 2024 2:00 pm

undefined reference in example project

Postby formica » Thu Mar 07, 2024 2:13 pm

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
Attachments
ErrorLog.txt
(10.43 KiB) Downloaded 100 times

MicroController
Posts: 1706
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: undefined reference in example project

Postby MicroController » Fri Mar 08, 2024 8:55 am

try to build classic_bt A2DP_SINK
The ESP32-C6 does not have classic Bluetooth, only BLE.

formica
Posts: 2
Joined: Thu Mar 07, 2024 2:00 pm

Re: undefined reference in example project

Postby formica » Fri Mar 08, 2024 11:25 am

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

Who is online

Users browsing this forum: Google [Bot], rajmohan and 90 guests