arduino-pico/tools
Earle F. Philhower, III 4a8ac3d902
Add support for shared USB Serial, Keyboard, Mouse (#132)
Use a shared infrastructure based on TinyUSB, allow users to use sketches
with ported Arduino Keyboard and Mouse libraries.
2021-05-13 19:20:24 -07:00
..
libpico Add support for shared USB Serial, Keyboard, Mouse (#132) 2021-05-13 19:20:24 -07:00
pyserial@0e76347475 Adjust directories for cleaner use w/Arduino 2021-03-17 08:33:51 -07:00
discovery.py Adjust directories for cleaner use w/Arduino 2021-03-17 08:33:51 -07:00
get.py Adjust directories for cleaner use w/Arduino 2021-03-17 08:33:51 -07:00
makeboards.py Fix Picoprobe USB PID 2021-04-06 20:51:21 -07:00
README.md Update README.md 2021-05-11 12:31:02 -07:00
simplesub.py Adafruit Feather, overclocking, flash FS shims 2021-03-28 10:56:53 -07:00
uf2conv.py Look for UF2 drives in additional spots on Linux (#37) 2021-05-06 20:04:36 -07:00

Tools directory for the RP2040 Arduino-Pico

get.py

Downloads and installs the toolchain into a GIT clone of the repo. Run once after the git clone and any time the toolchain JSON file updates. The dist directory caches downloaded toolchain files.

discovery.py

Run in the background by the IDE to scan for UF2 drives to show in the menus. Normally not run manually by the user.

uf2conv.py

Manages the upload of the UF2 formatted file to the board. Called as part of the IDE upload process. Will optionally send the serial reset signal to get the board into update mode (1200bps connection).

simplesub.py

Very dumb sed-like tool used by the platform scripts to generate the linker .ld file (replacing the EEPROM location, FS sizes, etc.). Because we run on Windows, Mac, and Linux, need to provide this and not rely on existance of sed command.

pyserial

git clone of the PySerial Python3 library to be used by the IDE.

makeboards.py

Generates boards.txt programmatically. Never edit the boards.txt file manually, use python3 tools/makeboards.py > boards.py. Change the script as necessary to add any add'l fields or menus required. Used because the boards.txt file is very repetitive and it's safer to generate with code than by hand.

libpico/make-libpico.sh

Builds the libpico.a file as well as the bootloader stage2 binaries. Run whenever the pico-sdk is updated.