arduino-pico/tools
Earle F. Philhower, III d732ac82ba
Precalculate common PWMAudio dividers, avoid noise (#2714)
Calculating the DMA clock divider for PWMAudio can take a very long time
because there are 65K floating point divisions required.  But most audio
will be one of a dozen sample rates, so it is possible to precalculate
the rates on the host and use a small lookup table to avoid any math at
all.  Removes occasional scratching in PWMAudio when the BackgroundAudio
library changes sample rates.
2024-12-22 14:05:44 -08:00
..
json Add Pimoroni Plasma 2350, fix Plasma 2040 I2C (#2698) 2024-12-18 17:49:07 -08:00
libbearssl Add RISC-V support, GCC 14 move (#2491) 2024-09-29 15:10:36 -07:00
libpico Increase LWIP timeouts to avoid MDNS panics (#2653) 2024-11-30 10:43:19 -08:00
pyserial@0e76347475 Adjust directories for cleaner use w/Arduino 2021-03-17 08:33:51 -07:00
build.py Enable gprof onboard profiling (#2669) 2024-12-05 17:30:45 -08:00
espota.py Add OTA update support (#711) 2022-08-12 00:26:51 -07:00
get.py GCC to 12.4, Newlib to 4.3.0, faster RP2350 libs (#2480) 2024-09-19 17:03:23 -07:00
makeboards.py Add Pimoroni Plasma 2350, fix Plasma 2040 I2C (#2698) 2024-12-18 17:49:07 -08:00
makepacer.cpp Precalculate common PWMAudio dividers, avoid noise (#2714) 2024-12-22 14:05:44 -08:00
makever.py Add WiFiClientSecure and WifiServerSecure (TLS) support, NTP (#683) 2022-07-18 20:24:11 -07:00
platformio-build.py Support WiFi/BT/BLT with RP2350 CYW43 boards (#2616) 2024-11-19 10:28:12 -08: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.