pschatzmann / arduino-audio-tools

Arduino Audio Tools (a powerful Audio library not only for Arduino)
GNU General Public License v3.0
1.49k stars 232 forks source link

rp2040 pico_w #1487

Closed nictoglobe closed 6 months ago

nictoglobe commented 6 months ago

Problem Description

does not work with rp2040

Device Description

pico_w

Sketch

all examples fail with improper includes
It seems this does not work with other microcontrollers , only for ESP . Is that correct?
If so , will it be possible to add pico (rp2040) support?

Other Steps to Reproduce

No response

What is your development environment

No response

I have checked existing issues, discussions and online documentation

pschatzmann commented 6 months ago

You forgot to provide the most important information.

It should work with the core from Eearl Phil Hower! I would recommend to use this one since it provides much more functionality....

If you want to use the mbed implementation from Arduino you need to install the I2S library!

nictoglobe commented 6 months ago

Hi

i am developing with arduino sdk v2 Using pico_w on pimoroni vgboard I tried to compile using supplied shell script All examples returned rc=1 , ie failed

It seems rp2040 is not supported or I do not know how to

Please advise, should I give up or do I need to make an adjustment somewhere?

kind regards

ajaco

pschatzmann commented 6 months ago

Install the open source RP2040 Arduino Core from Earle Phil Hower. The actual version that you can double check in the Board Manager is 3.7.2

In Arduino

nictoglobe commented 6 months ago

I tried to use several sketches one of them as an not working example:

base-i2s-adp.ino from audio-tools/examples/examples-basic-api/

/Users/Andreas/Documents/Arduino/libraries/ESP32-A2DP/src/BluetoothA2DPCommon.h:86:4: error: #error Unsupported ESP32 Version: Upgrade the ESP32 version in the Board Manager

Apparently somewhere a condition exists that ONLY esp microcontrollers will work (I am using [RP2040 Arduino Core] now btw)

So still stuck

Any advise?

ajaco

pschatzmann commented 6 months ago

You are funny: The ESP32-A2DP library only works with the ESP32! Stick to the functionality that is supported by the RP2040...