Where I describe how to edit, assemble, link, and UF2 Mecrisp-Stellaris for the RP2040 and specifically, the Adafruit Feather RP2040 and Pico/Pico W.
Sources#
Updated#
Now that I have gone through over 20 assemble/link/UF2 cycles, I have a better understanding of what needs to be done, specific to macOS Big Sur.
- Follow the comments as to “The process…” particularly as it regards getting macOS to run the ARM toolchain. This has to happen first.
- Reduce the complexity of Mecrisp-Stellaris. Matthias has performed a remarkable job in getting so many processors to run this version of Forth. This achievement needs to be applauded and appreciated. That said, unless you are running a significant number of versions, delete those that you aren’t using. In my case, I used the 128k/128K version to determine what was required for the RP2040. This is my base moving forward. Note In reviewing version 2.6.5, the new model is 128K/128K from Matthias.
- Terry’s directions below (Understatement), however, its even easier. If you have performed point 2, then the solution is simply:
cd mecrisp-stellaris-x.x.x
./release
# put board in USB mode, drag/drop UF2 file and go to work
Really important things to do: (Instructions below)#
- Implement Terry’s improvement on Stair-Stepping by adding a CR to the OK prompt.
- Implement Piotr’s improvement on uploading
Understatement#
(With apologies to Terry Porter)
Terry’s page above as Mecrisp Patching was extremely helpful and contained this nugget. Which is true, however, it takes a little bit of additional work to get there with the RP2040.