I’ve been working on projects using the Raspberry PI Pico W and ran into some bugs in the CYW43 driver.
There are pull requests not yet closed in the micropython github.
I just received a Bader 2040W and an Inky Frame 4.0 in the post.
In the micropython github I do not see directories in ports/rp2/boards for either.
How can I build my own micropython interpreter for these boards?
Update:
I found a little bit about compiling micropython here: pimoroni-pico/setting-up-the-pico-sdk.md at main · pimoroni/pimoroni-pico · GitHub
Step 4 and step 5 seem prerequisites to compiling my own micropython.
But clearly there are files in pimoroni-pico/micropython that need to be copied into the official micropython source tree.
I see a shell script pimoroni-pico/micropython/_board/board-fixup.sh that copies files into the ports/rp2/boards directory in the official micropython source tree.
I did figure out how to run this script.
After that I could compile using:
make BOARD=PIMORONI_BADGER2040W
The resulting firmware.uf2 runs on the badger just fine.
But it does not have any pimoroni specific content like the picographics library.
I think, the contents of pimoroni-pico/micropython/modules and pimoroni-pico/micropython/modules_py need to be copied into official micropython source tree and then referenced from PIMORONI_BADGER2040W/manifest.py.
I’m not sure how to do this.
Pimoroni folks, your products are FOSS.
To meet that standard you need to provide the source code in a manner that your customers can compile it themselves.