Close

Building MicroPython for the Raspberry Pi Pico

A project log for Raspberry Pi Pico Emulator

Live-coding an Open-Source Pico Emulator from Scratch

Uri ShakedUri Shaked 03/02/2021 at 12:290 Comments
Hi Uri, just wanted to mention that I'd love to see micropython running in this emulator too (in any following episode, after the important stuff). Continue your awesome work mate, you're killing it!

I woke up this morning, and saw this message in the YouTube chat for the live stream today. Thank you Andreas!

I'm not sure if we'll actually get to try MicroPython today. The chances are slim, but I'm optimist, so better be prepared.

Here is how I compiled MicroPython for the RP2040:

git clone https://github.com/micropython/micropython
cd micropython
git submodule update --init lib/pico-sdk lib/tinyusb
make -C mpy-cross
cd ports/rp2
make

The compiled files can be found inside ports/rp2/build, and you'll also find there a disassembly of the firmware (similar to the ones we looked at in the previous live streams). Enjoy!

Discussions