Skip to content

Arduino ‐ RP2040 Installation Instructions

Phil Schatzmann edited this page Oct 25, 2024 · 1 revision

TinyUSB is part of the core and must be replaced there.

Delete the Adafruit_TinyUSB_Arduino folder in the packages/rp3040/4.0.3/libraries. Please note that ths is different than the regular libraries directoy into which you install your libraries normally.

In my linux this is e.g.

sudo rm -r ~/.arduino15/packages/rp2040/hardware/rp2040/4.1.1/libraries/Adafruit_TinyUSB_Arduino
cd ~/.arduino15/packages/rp2040/hardware/rp2040/4.1.1/libraries

In the libraries directory of the arduino packages execut the following commands

git clone https://github.com/pschatzmann/Adafruit_TinyUSB_Arduino
cd Adafruit_TinyUSB_Arduino
git switch Audio

The Audio microphone examples should work! You can easily extend the existing tests with the functionality from the AudioTools,

You get back to the original main branch with

git switch master
Clone this wiki locally