Skip to content

Conversation

@miketlk
Copy link
Contributor

@miketlk miketlk commented Jun 10, 2025

🚧 Work in Progress – Early Draft

This pull request is opened early to:

  • Share current progress
  • Gather feedback from contributors
  • Discuss implementation approaches

πŸ’‘ Note: This PR is not ready for review or merging. Some parts may be incomplete, untested, or non-buildable at this stage. Feel free to comment on design decisions, request clarifications, or suggest alternatives.

Summary

This PR updates the Micropython and user modules to ensure compatibility with MicroPython v1.25. It includes preliminary work on updating the bundled user C modules (scard, sdram, udisplay_f469, uebmit, and uhashlib) to align with the latest MicroPython API changes.

IMPORTANT: This draft PR has temporary submodule pointers to my own forks that must be fixed before merging!

Changes

  • Updated module initialization to match MicroPython v1.25 API
  • Replaced deprecated macros and types with v1.25 equivalents
  • Ensured compatibility with the new module registration mechanism
  • LVGL upgraded to v9.3 (fork with extended QR code support)
  • Created script for generating LVGL bindings
  • Removed qrcode and pixelart user modules repacing them with LVGL native QR support
  • Added LVGL demo and updated example
  • TOTO: Clean up legacy code, remove unused headers and macros
  • TODO: Update README.md with build instructions and notes specific to MicroPython v1.25
  • Updated linker script and board config

Testing

  • TODO: Build all modules for STM32F469I-DISCO using MicroPython v1.25 code and tooling

  • TODO: Manually test each module via REPL or example scripts:

    • scard
    • sdram
    • secp256k1
    • udisplay_f469
    • uebmit
    • uhashlib
  • TODO: Add or update example/test scripts under tests/ or examples/

Checklist

  • Code builds without errors
  • Tests added or updated
  • Documentation updated if necessary
  • Code reviewed for security and edge cases

@miketlk miketlk changed the title Upgrade Micropython to v1.25 [WIP] Upgrade Micropython to v1.25 Jun 13, 2025
@miketlk miketlk force-pushed the micropython-upgrade branch from 5baefec to e117bd0 Compare August 14, 2025 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant