adafruit / u2if

USB to interfaces implementing MicroPython "machine" module functionalities on a computer.
Other
23 stars 10 forks source link

Add Adafruit RP2040 boards #1

Closed caternuson closed 3 years ago

caternuson commented 3 years ago

Add support for builds to run on Adafruit RP2040 boards.

Builds all tested and worked using gcc-arm-none-eabi-7-2018-q2-update.

Edit firmware/source/CMakeLists.txt file to set target board. Probably a better way, but currently don't know enough cmake to do anything fancier.

Local copy of pico-sdk had changes to pico-sdk/src/rp2_common/hardware_xosc/xosc.c:

    xosc_hw->startup = startup_delay * 64;