[WIP] MicroPython upgrade to v1.25#304
[WIP] MicroPython upgrade to v1.25#304miketlk wants to merge 18 commits intocryptoadvance:masterfrom
Conversation
✅ Deploy Preview for specter-diy-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the Specter-DIY project to support MicroPython v1.25 by updating the f469-disco submodule, adjusting build scripts for the new mpy-cross layout and compiler flags, and pointing .gitmodules to a test fork and branch.
- Updated
f469-discosubmodule commit to a Micropython v1.25–compatible version - Modified
Makefileto use the newmpy-cross/buildpath, addCFLAGS_EXTRA, and clean up old binary - Temporarily redirected
.gitmodulesto a personal fork and branch for testing
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| f469-disco | Bumped submodule pointer to new commit supporting MicroPython v1.25 |
| Makefile | Changed mpy-cross copy path, added CFLAGS_EXTRA flags, and updated clean step |
| .gitmodules | Pointed f469-disco to a temporary fork URL and added a test branch |
Comments suppressed due to low confidence (2)
.gitmodules:3
- This URL points to a personal fork for testing. Remember to revert to the official upstream repository URL before merging to avoid confusing future contributors.
url = https://github.com/miketlk/f469-disco.git
.gitmodules:4
- The
branchattribute is temporary for this draft. Remove or update it to the default branch once the upgrade is merged upstream to maintain consistency.
branch = micropython-upgrade
|
I am just throwing this comment in from Stepan when I had asked back in the day what it would take to make the simulator run on ARM64 Macs: "Basically to port to the latest micropython we need to rewrite gui with the new version of lvgl and fix f469 integration." @miketlk: My questions then
Another question: Should it now work with this update to build the simulator on ARM64 macs? |
|
Hi @moneymanolis, that's a great question on LVGL that worth discussing with other contributors too. The Basically, we have two ways:
The first way is preserving almost 100% compatibility with existing Python code. The second one needs the Python app to be updated. But it's more future-proof, gives us a sleeker UI and wider portability options for possible alternative hardware. For the efforts' perspective, they could be quite close, not taking into account updating of Python code. |
🚧 Work in Progress – Early Draft
This pull request is opened early to:
💡 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 upgrades the
specter-diyproject to support MicroPython v1.25. The majority of compatibility changes were implemented in thef469-discosubmodule and its nested user C modules. This PR updates the submodule reference and makes necessary adjustments to the build system and documentation to reflect the MicroPython API changes introduced in v1.25.IMPORTANT: This draft PR has temporary submodule pointers to my own forks that must be fixed before merging!
Changes
f469-discosubmodule to latest commit compatible with MicroPython v1.25README.md,docs/) to reflect new module requirements, build commands, or known issuesTesting
f469-discosubmodule functions (QR, display, etc.) are callable from Specter firmwareChecklist