marcel-licence / ml_synth_basic_example

Arduino polyphonic synthesizer project (not a Moog) for ESP32 - STM32 - Teensy and more
GNU General Public License v3.0
33 stars 8 forks source link

RP2040 support (tested?) #2

Closed bradanlane closed 1 year ago

bradanlane commented 1 year ago

I am guessing it's difficult if not impossible to test all the hardware variations. I am seeing an error when using the RP2040 (eg Raspberry Pi PICO).

For all instances of Serial.printf() The compiler is reporting error: 'class arduino::UART' has no member named 'printf'.

This does not appear to be an issue with ESP32 boards.

Disregard. It's a compiler configuration mistake.

marcel-licence commented 1 year ago

Please refer to https://github.com/marcel-licence/ml_synth_basic_example/blob/main/doc/board_info.md I guess you didn't use the Adafruit Tiny USB. I've listed all tested compilations

bradanlane commented 1 year ago

The problem appears to be the new Arduino IDE2 has changed the version of the tool chain for RP2040 to the 4.0.2 mbed version which does not have printf for rp2040.

marcel-licence commented 1 year ago

Hm, I think it should work. Did you went through the guide? https://www.youtube.com/watch?v=Cu8vTbmy_Ao I didn't use the Mbed OS RP2040 Boards. I used "Raspberry Pi Pico/RP2040" instead. It is also listed in the board_info.md. I could add some links in future to make it easier to identify which board was used for compilation.

bradanlane commented 1 year ago

all good now. testing stuff