pschatzmann/arduino-audio-tools

Linking / dependency Issues

weinerschizel opened this issue · 1 comments

Problem Description

Won't compile on my system. I modified the code and works now... New to Platform IO so not really sure how to best communicate nor if this is the correct place to share what I encountered. Code changes to "AnalogDriverESP32.h"

Line 60:

.mode = (esp_i2s::i2s_mode_t)cfg.mode_internal,

Also added #include "I2SESP32.h"

Device Description

SparkFun ESP32 ThingPlus

Sketch

Compiling bt_music_receiver_arduiono_i2s.ino example from latest (12 Aug 2024) code at

https://github.com/pschatzmann/ESP32-A2DP

Subject library is a dependency in his code.

Other Steps to Reproduce

No response

What is your development environment

Visual Code with Platform IO plugin

I have checked existing issues, discussions and online documentation

  • I confirm I have checked existing issues, discussions and online documentation

I can't reproduce your problems with the following versions:

CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (6.8.1+sha.de553ce) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (cmsis-dap) External (cmsis-dap, esp-bridge, esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES: 
 - framework-arduinoespressif32 @ 3.20017.0 (2.0.17) 
 - tool-esptoolpy @ 1.40501.0 (4.5.1) 
 - toolchain-xtensa-esp32 @ 8.4.0+2021r2-patch5
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 35 compatible libraries
Scanning dependencies...
Dependency Graph
|-- audio-driver @ 0.1.0+sha.8779218
|-- audio-tools @ 0.9.8+sha.9d63174
Building in release mode
Retrieving maximum program size .pio/build/esp32dev/firmware.elf
Checking size .pio/build/esp32dev/firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [=         ]   9.8% (used 32120 bytes from 327680 bytes)
Flash: [=====     ]  47.0% (used 615913 bytes from 1310720 bytes)
======================================== [SUCCESS] Took 5.19 seconds ========================================

platformio.ini contains

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_deps = https://github.com/pschatzmann/arduino-audio-driver.git
           https://github.com/pschatzmann/arduino-audio-tools.git