This is maintenance release.
New
- Added support for rollback versions in boards with RP2350 MCU.
- Added support for SET_DATA_RET_AND_CLOCK CCID command.
- Added support for variable timeout push button press.
- Added support for variable USB product name.
- Added flash memory statistics.
- Added reboot command.
- Added support for displaying flash memory statistics via pico-hsm-tool.
Enhancements
- Increased ESP32 stack size.
- Added support for TinyUSB 0.17 in ESP32 boards.
- Packed structures for less footprint.
- Set ESP32 stack size depending on the number of enabled interfaces.
- Update CCID descriptor to reflect the max USB packet size.
- Reduce data partition to 2K starting at the half of the flash.
- Compute flash memory bounds depending on the partition if available.
- Use customizable LED PIO number in WS2812, Pico and Cyw43 leds.
- Accept MKEK mask only if secure lock is enabled.
- Only allow initialize if secure lock is disabled or has MKEK mask.
Bug fixes
- Fix build for Pico SDK 2.1.0.
- Fix disable secure authentication via pico-hsm-tool.
- Fix stack overflow when unlocking the device.
- DEV options are persistent, since they affect MKEK which is in turn persistent.
- Fix MKEK masking order.
- Fix TX/RX buffers to align them with USB buffers and avoid overflows.
- Fix MKEK storing on devices with OTP_1 available (ESP32 and RP2350).
Full Changelog: v5.0...v5.2