building a mp version to freeze some extra modules #15502
Replies: 3 comments 2 replies
-
There are several ways to accomplish this. These are the steps I use to include freeze modules in my firmware build:
The "mpconfigboard.cmake":
Point the frozen manifest to the file in your board definition directory. The "manifest.py"
Include or exclude modules by commenting them out. Then you can build your firmware in the ports/rp2 : make V=1 BOARD=MY_RP2 submodules
make V=1 BOARD=MY_RP2 clean
make V=1 BOARD=MY_RP2 |
Beta Was this translation helpful? Give feedback.
-
@shariltumin Am I getting the very latest nightly source code or 'preview' as as its now called - i.e. the source for the likes of: or am I getting the source code for the latest stable release - i.e. the source for: The build I created a couple of days ago, in which I included some extra modules in the manifest, shows the following: I was looking to check if my build was indeed based on a preview, or if it is based on a stable release, but, as it is a self build, thats just the way the build process names the uf2 file it produces. If it is based on a preview release, then my query seeks to know if there is a way to get the source for the stable release upon which to base my self build mp. But again thanks for your notes of building mp as your process notes are better than those I had stashed away. 👍 |
Beta Was this translation helpful? Give feedback.
-
Thanks to @shariltumin and @robert-hh for the knowledge on how to pick a version of mp source to download, that was the info I needed. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Following my notes, garnered from where I'm not sure, my process starts with:
git clone https://github.com/micropython/micropython.git --branch master
This seems to grab the latest mp code as the build I did recently reports the mp on my picoW is:
MicroPython v1.24.0-preview.106.g55e75c4ad.dirty on 2024-07-15; Raspberry Pi Pico W with RP2040
But what I would really like to do is to include my extra modules into my version of
v1.23.0 (2024-06-02) .uf2
Is this possible, and if so, can anyone point me to where/how to git clone the stable release for my nefarious manipulations. (or perhaps I'm not understanding the mp version that gets reported when one does a self build ?)
Thanks for any enlightenment that may be bestowed :-)
Beta Was this translation helpful? Give feedback.
All reactions