Repository navigation
Releases
Release 6.4.0 - LowPower library, LittleFS multithread, bug fixes
Overview
A new LowPower library to enable dormant and sleep modes on the RP2350 and RP2040 has been added with documentation and examples. LittleFS has been updated to support multithreaded FreeRTOS operation and multiple core access. Quite a few bug fixes throughout the core and libraries
LowPower Library
- LowPower: keepRunning() - keep PWM, PIO, UART, ADC and DMA running in light sleep, and an intact first byte on a UART wake (#3631)
- WiFi: add powerOff() / powerOn() / isPoweredOn() for the CYW43 chip (Pico W / Pico 2 W) (#3630)
- LowPower: clear the processor's deep sleep bit after a dormant call (#3633)
- Add LowPower library: sleep and dormant modes over pico_low_power (#3624)
- RP2350: provide empty __persistent_data section for pico_low_power (#3621)
- Core: add __applyCoreClockConfig() to re-apply F_CPU/VREG/PSRAM setup (#3623)
LittleFS
- Allow LittleFS to work multicore/thread (#3574)
Updater/OTA
- Updater: close firmware.bin in _reset() so a retry has full space (#3613)
Core Bug Fixes
- Place attachInterrupt handler in RAM (#3632)
- Use shim for callbacks, reduce copied code (#3628)
- Fix attachInterruptParam call (#3627)
- Make stdio_flush() link with NO_USB and USE_TINYUSB (#3622)
- Keep the analogWriteRange() value when PWM settings are recomputed (#3608)
- Avoid potential IRQ deadlock in SerialUART ovf/brk (#3614)
LWIP/Ethernet
- LwipEthernet: lock the CYW43 arch context directly, fixes a fault in cyw43_arch_deinit() (#3616)
- PDM: fix mic clock check so rates up to 48 kHz work (#3619)
- Fix IPv6 crash with UDP packets (#3618)
New Boards
- Add CHIRP Audio Trigger board definition (#3611)
Release 6.3.2 - FreeRTOS, I2S/PWMAudio/ADCInput hardening
Overview
Another bugfix only release with important updates for AudioBufferManager (I2S, PWMAudio, ADCInput) when doing flash operations and playback/recording. Minor additional cleanups throughout.
Audio
- AudioBufferManager DMA avoid crash on missed IRQ (#3600)
- Avoid out of bounds dmaChannel checking (#3598)
- I2S setSysClk add 24khz precalc (#3594)
SD
- Add all legal SPI pins to SD examples (#3604)
FreeRTOS
- FreeRTOS proper locking for Ethernet::isLinked (#3602)
Infrastructure
Release 6.3.1 - Bug fixes and hardening
Overview
Lots of minor bug fixes and hardening with no new features.
SPI / Wire
- Fix SoftwareSPI transmit16 output bits (#3587)
- Don't use Wire1 in Wire if not defined by variant (#3582)
- Mask usingInterrupt() interrupts before setting the SPI bus up again (#3577)
Networking
- Use xTaskGetCurrentTaskHandle to get LWIP caller (#3583)
- ESPHost/WINC1500: unmask GPIO on begin() failure paths (#3568) (#3570)
- Fix lwip_init ordering w/FreeRTOS on non-CYW43 (#3580)
- Remove stopAll from WiFiClient/UDP (#3579)
Boards
- Add Maker Sumo RP3250 into the Board Manager (#3575)
- Fix Glyph 2040 SPI0 MISO pin mapping (#3585)
- Makeboards.py now updates README with new boards (#3576)
Infrastructure
Release 6.3.0 - SDK 2.3.1, FreeRTOS/LWIP hardening
Overview
Updates to latest SDK release from Raspberry Pi. Redoes the LWIP wrapper to better bulletproof networking and enhance FreeRTOS stability. Several FreeRTOS and FreeRTOS + BT tweaks.
Note this increases the FreeRTOS priority levels to 32 from 8. If you use a function of configMAX_PRIORITIES to compute your task priorities this should be a no-op. Otherwise, please note the CORE0/CORE1 tasks are configMAX_PRIORITIES/2 (16) now so your own subtasks should adjust. LWIP and USB are still highest priorities (31/30).
Infrastructure
- Update to SDK 2.3.1 (#3542)
Networking
- Generate LWIP wrappers programmatically (#3547)
FreeRTOS
- FreeRTOS: make the CYW43 lock block, and stop waiting on the LWIP task under it (#3551)
- BREAKING: FreeRTOS increased to 32 priority levels (#3553)
- FreeRTOS: serialize LWIP thread startup with a mutex (#3550)
New Boards
- Adds new zero power RP2350 Challenger LoRa board (#3555)
Release 6.2.0 - LWIP Hardening
Overview
This release only contains changes related to making networking (LWIP) on this core as bulletproof as possible. LWIP has been changed to verify that it is being called from the proper LWIP task (under FreeRTOS) or while the LWIPMutex is owned (under baremetal). Additionally, critical regions of LWIP wrapper code are now guaranteed to be run atomically without the possibility of state changing mid-operation.
These changes should significantly improve the experience of using LWIP under FreeRTOS, and help avoid rare hang ups under bare metal operation.
Networking (LWIP)
- ClientContext.h: Prevent double free for freeRTOS (#3370)
- Wrap SNTP (time server) calls (#3546)
- Wrap netif_ip(6)_set, client_data_id, LWIP MDNS (#3545)
- Fully wrap all raw_* APIs (#3544)
- Fix igmp_leavegroup_netif wrapper call (#3543)
- Enable LWIP_ASSERT_CORE_LOCKED checking (#3540)
- Set the initialization flag status in __startLWIPThread function (#3539)
Release 6.1.1 - New boards, lots of BT and infra fixes
Overview
Many fixes for Bluetooth (Classic and BLE), board updates, and infrastructure updates
New Boards/Updates
- Fix swapped D13/D15 pins on Seeed XIAO RP2040 Plus (#3525)
- Add Waveshare RP2350 Core board support (#3522)
- Add support for Waveshare RP2350-POE-ETH board (#3521)
Bluetooth/BLE
- Minor BT debug cleanups (#3536)
- Update HIDMaster pairing for passkey-ed keyboards (#3535)
- Rationalize BTStack/Bluetooth debug (#3534)
- Fix BTClassic pairing for 2.3.0 SDK (#3531)
- Fix BLEUUID String constructor (#3526)
FreeRTOS
- Wrap additional CYW43 functions (#3529)
MDNS/LEAmDNS
- LEAmDNS: defer packet processing while a user call is sending (#3528)
Infrastructure
- Don't make arduino-cli wait for a serial port after picotool/openocd uploads (#3520)
- Run udisksctl non-interactively when looking for the UF2 drive, (#3517)
- Skip the serial-port wait when uploading to the discovered "UF2_Board" port (#3519)
- Don't flash the same UF2 drive twice via different paths (#3518)
Release 6.1.0 - New boards, PicoCamera, and bug fixes
Overview
Includes a fix to remove glitching on GPIO pinMode operations as well as an important memory corruption bug fix for FreeRTOS when using String or the C string calls. Additional boards and networking interfaces. New PicoCamera library supporting OVxxx camera modules added. Updates I2S setSysClk to be much more accurate for any given standard frequency.
Important Bug Fixes
New and Updated Boards
- Add support for iLabs Hearth, a Matter compatible framework for RP2040 and RP2350 (#3498)
- Swap Wire on RAKWireless (#3495)
- Add Soldered NULA Node RP2040 board definition (#3490)
- Bundle iLabs_ESP-NOW library and add ESP-NOW to the ESP Wifi Type menu (#3480)
- If UART/SPI redefined, ensure 0/1 are configured (#3488)
New Libraries
- PicoCamera: bump to 0.4.2, update camera docs (#3506)
- docs: add Camera (PicoCamera) documentation page (#3500)
- Add PicoCamera camera library as a submodule (#3492)
Infrastructure
- Make DEBUG_HTTPCLIENT auto-append newlines, too (#3513)
- Make DEBUGV & friends append a newline, remove newlines from call sites (#3511)
Miscellaneous
Release 6.0.0 - GCC 16.1, SDK 2.3.0, Newlib 4.6.0 + Nano-Printf, C23/C++23
Overview
A large infrastructure upgrade from 5.7.0. Includes the latest version of GCC available, the latest NEWLIB snapshot (re-enabling nano-printf), enables GNU23/GNU++23 extensions, and SDK 2.3.0 goodness. Lot of updates so the pain of updating your apps and the core all happens at once instead of a steady stream of niggles. Any issues, release 5.7.0 (or prior) is available with the older toolchain.
A new toolchain needs to be downloaded and installed with this release (tools/get.py if you're doing it manually, the IDE will do it for you).
Infrastructure
- GCC 16.1, Newlib 4.6.0, SDK 2.3.0, Nano-printf, C23 standard (#3476)
- Revert "Check that any sketch with OTA has a FS defined (#3472)" (#3473)
New Boards
Release 5.7.0 - SDK 2.3.0
Overview
This release moves to the Pico SDK 2.3.0 release with no other meaningful changes, to help identify if real-world applications find any issues with the new SDK.
SDK
- Update to SDK 2.3.0 (#3469) - Includes relatively large updates to BTStack submodule of the SDK
Misc
Release 5.6.1 - Minor PSRAM, UART, and Serial updates + New boards
Overview
Minor update where the majority of additions are housekeeping and new boards. If you're running PSRAM and over/underclocking, a new fix helps with start up stability. For laptop users, this version should wake the USB port up if it dozes between Serial outputs.
New Boards/Fixes
- Add PCBCupid Glyph 2040 (#3457)
- Add PCBCupid Glyph Mini 2040 (#3455)
- Make Waveshare RP2350 PiZero a 2350B (#3444)
- fix: correct NEOPIXEL_POWER to GPIO11, add BAT_EN on GPIO24 (#3441)
- feat: Add Soldered NULA Ethernet W55RP20 pin definitions (#3438)
- feat: add Seeed XIAO RP2040 Plus board support (#3428)
UART and USB Serial
- Allow disabling UART TX or RX pins (#3452)
- Wake up USB host if it's asleep for Serial sending (#3442)
PSRAM (RP2350)
- Add clock speed reading before PSRAM direct mode (#3435)