v1.5.0¶
v1.5.0 updates the core to MicroPython v1.8, enables the machine
module, re-implements line filters with Python callbacks, switches to
MicroPython’s SD-card module, and adds bootloader filesystem-erase and
binary-image loading options. The MicroPython bump is a behavior change — read
the breaking changes below.
Highlights¶
MicroPython v1.8 core update.
machinemodule enabled.Python line filters — line filters re-implemented with Python callbacks.
SD card — now uses MicroPython’s SD-card module.
Breaking: MicroPython was updated to v1.8 — see the breaking changes.
New features¶
Enabled the MicroPython
machinemodule; re-implemented line filters with Python callbacks (with aline_filter.pyexample); added a timer-callback example and an updated PWM example.Bootloader / pydfu — added an option to erase the filesystem sectors, support for loading binary images from
pydfu.py, and a combined binary for the programming jig.
Other changes and improvements¶
Updated the bundled MicroPython to v1.8 (and updated the firmware code for it); enabled some MicroPython optimizations; switched the SD card to MicroPython’s SD-card module; removed the old CC3000 (CC3K) WiFi driver code.
Bug fixes¶
Fixed MLX /
firmemory issues and the base priority during a soft-reset.
Breaking API changes¶
User-visible API breaks between v1.4.0 and v1.5.0. Scope: Python C-modules in
modules/ and Python libraries in scripts/libraries/.
The breaking change is a behavior change (same API, different results) — re-check affected scripts. Each commit hash links to its diff on GitHub.
MicroPython updated to v1.8 (behavior)¶
The bundled MicroPython core was updated to v1.8. Standard-library and
language behavior follows upstream MicroPython 1.8; re-check scripts that
depend on version-specific micropython / standard-module behavior.
Commits: 8e503f414
Migration checklist¶
Re-validate scripts that depend on version-specific MicroPython behavior against v1.8 (the MicroPython bump). All other scripts run unchanged.