micropython: update to 1.28.0
authorAlexandru Ardelean <redacted>
Sun, 10 May 2026 10:23:10 +0000 (13:23 +0300)
committerAlexandru Ardelean <redacted>
Mon, 11 May 2026 11:58:59 +0000 (14:58 +0300)
commitcf71b42c4b7c52319988cf6eeee59e922641cf41
treecd95dc9b210f43420173c9eae6a4e67428e219e3
parent9f5146f6782c8de7dbf9d95e5be2272c29145193
micropython: update to 1.28.0

Changes since 1.27.0:
- New machine.CAN class with bindings for the stm32 port; support across
  all ports to follow
- machine.PWM support added to stm32 and alif ports, completing coverage
  of all Tier 1/2 MCU-based ports
- Template strings (t-strings, PEP 750) added at the "full feature" level
- weakref module added with weakref.ref and weakref.finalize classes
- f-strings now support nested f-strings within expressions
- Optimisations to native emitter; new RISC-V Zcmp arch flag for RV32
- extmod.mk: add extmod/machine_can.c (shifts the mbedtls hunk by 1 line;
  update 040-extmod-use-external-mbedtls.patch accordingly)

micropython-lib is updated in lockstep in a separate commit.

Ref: https://github.com/micropython/micropython/releases/tag/v1.28.0
Signed-off-by: Alexandru Ardelean <redacted>
lang/python/micropython-lib/Makefile
lang/python/micropython/Makefile
lang/python/micropython/patches/040-extmod-use-external-mbedtls.patch
lang/python/micropython/test.sh
git clone https://git.99rst.org/PROJECT