-
Notifications
You must be signed in to change notification settings - Fork 20
Description
(this is cross-posted from a post I made on the Discord a couple days back...)
I have a few Pimoroni Pico Plus 2 boards for a project, and one Pico Plus 2W that I got just to experiment with. Today I'm bringing up a second prototype using one of the (not W) modules, and noticed something different in a runtime error. Tracking it down, I see that I'm using a UF2 intended for the 2W board on a 2:
os.uname()
(sysname='rp2', nodename='rp2', release='1.25.0-preview', version='feature/psram-and-wifi, pico_plus2_rp2350 v0.0.12 on 2025-02-28 (GNU 13.3.1 MinSizeRel)', machine='Pimoroni Pico Plus 2 (PSRAM + LTE + WiFi) with RP2350')
is there now just one build for both boards?
pimoroni_pico_plus2-v0.1.0-micropython.uf2
2.49 MB
Apr 15
The association between the UF2 and the hardware modules isn't clear, and the naming / descriptions aren't 100% clear, either. The links on each board’s (2 and 2W) page takes you to different places on GitHub. The one for Pico 2 takes you to a table which suggests that one file is used for both. The link for the Pico 2W takes you to a slightly different page with a file whose name suggests it’s only for the 2 -- but if you load that file and do os.uname(), you’ll see it’s built for the 2W (or possibly both).
Looking to sort this out by reading the custom build files, I also ran into a dead end. I can’t find the board configuration files associated with either of these files. If they're posted, it's not obvious where. For sure the 1.25 preview dated 15 Apr isn’t included in the RP2350 MicroPython repo, because the most recent commit isn’t that new. I checked the Pimoroni RP2040 repo, wondering if maybe the RP2040 and RP2350 were merged. But that repo clearly said only for RP2040, not 2350. Adding to the confusion is that there are Pimoroni MicroPython builds targeting the Raspberry Pi Pico, Pico2 and Pico2W.
(1) Request some more explanation regarding the prebuilt UF2 files. The big table in the repo looks like a great approach, but it is not clear since the file name and uname() are different, and the Pico 2 product page takes you to a different, and newer, build.
(2) Please point to the Pimoroni custom build directories (that normally would go in the ports/rp2/boards/ folder. I normally prefer to build my own firmware, anyway, avoiding much of the above confusion.
Note: the underlying problem that got me digging into the UF2 version numbers is descibed at the end of this GitHub issue about custom USB descriptors.