No description
Find a file
2021-02-26 12:42:59 -08:00
ArduinoCore-API@2af4a9c721 Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
assembly Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
cores/rp2040 Add analogRead and A0...A3 pins 2021-02-26 12:42:59 -08:00
package Add package.json and tools listing 2021-02-24 21:34:29 -08:00
pico-sdk@2d5789eca8 Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
pico_base/pico Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
system Add analogRead and A0...A3 pins 2021-02-26 12:42:59 -08:00
variants/generic Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
.gitmodules Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
boards.txt Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
package.json Add package.json and tools listing 2021-02-24 21:34:29 -08:00
platform.txt Add API dir to include path 2021-02-25 18:57:40 -08:00
programmers.txt Initial commit, basic sanity 2021-02-24 20:31:13 -08:00
README.md Add Serial(USB) support 2021-02-25 17:07:42 -08:00

arduino-pico

Raspberry Pi Pico Arduino core, for all RP2040 boards

This is an under-development port of the RP2040 (Raspberry Pi Pico processor) to the Arduino ecosystem.

It uses a custom toolset with GCC 10.2 and Newlib 4.0.0, not depending on system-installed prerequisites. https://github.com/earlephilhower/pico-quick-toolchain

Only delay, analogWrite, and digitalWrite are implemented now. The biggest hurdle was getting a working build system outside of the pick-sdk CMake environment. Presently, a manually build pico.a file is generated using objects compiled by cmake in the pico-examples repo, but in the future this will be scripted and automated.

There is automated discovery of boards in bootloader mode, so they show up in the IDE, and the upload command works using the Microsoft UF2 tool (included).

To install:

mkdir -p ~/Arduino/hardware/pico
git clone https://github.com/earlephilhower/arduino-pico.git ~/Arduino/hardware/pico/rp2040
cd ~/Arduino/hardware/pico/rp2040
git submodule init
git submodule update
cd pico-sdk
git submodule init
git submodule update
cd ../system
python3 ./get.py