arduino-pico/tools
Earle F. Philhower, III 33694a1fcc
Add RP2350 support, new boards (#2337)
* Migrate RP2040-specific bits to separate dirs
* Add chip to boards.txt, isolate RP2040-specifics
* Add RP2350 boot2, bearssl, and libraries
* Platform.IO adjust to new paths
* Add RPIPICO2 JSON for P.IO
* Add RP2350 to Platform.io
* Update Picotool and OpenOCD for all hosts
* Use picotool to generate UF2s
* Build separate libpico blobs serially
Thanks for the review, @aarturo182 !
* Add RP2350 to CI
* Allow Ethernet/WiFi building for RP2350
* Update Adafruit TinyUSB to latest
* Test skip fix
* Make RP2350 Picotool work. update USB ID
* Fix EEPROM/FS flash locations
RP2350 adds a 4K header sector to the UF2, meaning we have 4K less total
flash to work with.  Adjust all constants appropriately on the RP2350.
* Adds ilabs board and PSRAM support. (#2342)
* Adds iLabs boards and basic PSRAM support.
* Make PSRAM come up as part of chip init
Uses SparkFun psram.cpp to set timings on clocks which are defined in the
variant file.  Prefix things with RP2350_PSRAM_xxx for sanity.
Users don't need to call anything, PSRAM "just appears".  Still need to
add in malloc-type allocation.
* Add board SparkFun ProMicro RP2350
Same pinout as the SparkFun ProMicro RP2040 with 8MB PSRAM and RP2350
* Add TLSF library for use w/PSRAM
Fork of upstream to include add'l C++ warning fixes.
* Add pmalloc/pcalloc to use PSRAM memory
free() and realloc() all look at the pointer passed in and jump to the
appropriate handler.  Also takes care of stopping IRQs and taking the
malloc mutex to support multicore and FreeRTOS (when that workd)
* Fix BOOTSEL for RP2350
* Add simple rp2040.idleOtherCore test
* Add Generic RP2350 and clean up PSRAM menus
Commercial boards now only have 1 size PSRAM, no need to have menu for them.
* Add Solder Party RP2350 Stamp boards (#2352)
* Add PSRAM heap info helpers, mutex lock mallinfo
* Add RP2350 docs
* FreeRTOS and OTA unsupported warnings for RP2350
2024-08-25 11:21:46 -07:00
..
json Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
libbearssl Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
libpico Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
pyserial@0e76347475 Adjust directories for cleaner use w/Arduino 2021-03-17 08:33:51 -07:00
build.py Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
espota.py Add OTA update support (#711) 2022-08-12 00:26:51 -07:00
get.py Add native Apple ARM silicon support (#1959) 2024-01-30 15:06:52 -08:00
makeboards.py Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
makever.py Add WiFiClientSecure and WifiServerSecure (TLS) support, NTP (#683) 2022-07-18 20:24:11 -07:00
platformio-build.py Add RP2350 support, new boards (#2337) 2024-08-25 11:21:46 -07:00
pluggable_discovery.py pluggable_discovery: Allow the scanner thread to quit (#1029) 2022-12-04 11:50:06 -08:00
README.md Add script to update version number, new header (#506) 2022-03-06 11:04:19 -08:00
signing.py Add OTA update support (#711) 2022-08-12 00:26:51 -07:00
simplesub.py Adafruit Feather, overclocking, flash FS shims 2021-03-28 10:56:53 -07:00
tzupdate.sh Add TZ.h database, borrowed from ESP8266 core (#1947) 2024-01-20 15:57:15 -08:00
uf2conv.py Make Python3 re.split() use a r-string (#1985) 2024-02-06 09:49:45 -08: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 existence 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. 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.

makever.py

Updates the version info prior to a release in platform.txt, package.json, and the version header. Run from root of the repo.

libpico/make-libpico.sh

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