Skip to content
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

Compiling Error #1

Open
wolfpaw98 opened this issue Mar 1, 2020 · 2 comments
Open

Compiling Error #1

wolfpaw98 opened this issue Mar 1, 2020 · 2 comments

Comments

@wolfpaw98
Copy link

Thanks for your interesting YouTube video and code. I have successfully compiled and flashed an ESP32 with the stock Expressif code and it works (minus the volume control), but I get a compile error when I try to compile your code. The example code has 8 files in the "main" directory which I have replaced with the 8 files in the zip file. When I compile this, I get the error:

/home/pi/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/main/libmain.a(bt_app_core.c.obj):(.literal.bt_i2s_task_handler+0x4): undefined reference to s_volume'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
ninja failed with exit code 1`

Can you offer any help in what I might be doing wrong?

@YetAnotherElectronicsChannel
Copy link
Owner

@wolfpaw98
Copy link
Author

That was it! Works perfectly! Thanks for the speedy response! By the way, I'm using this PCM5102:
PCM5102
I only made the following connections:
SCK to GND on ESP32
BCK to GPIO26 on ESP32
DIN to GPIO25 on ESP32
LCK to GPIO22 on ESP32
GND to GND on ESP32
VIN to 5V on ESP32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants