Ports

A port is the C code that sits under the VM for one chip family: startup, memory map, USB or UART, and the machine bindings. A board is a pinout and a set of compile flags inside that port.

Official ports

PortChipsNotes
rp2RP2040, RP2350Pico, Pico W, Pico 2. UF2. Strong machine.
esp32ESP32, S2, S3, C2, C3, C5, C6, H2, P4Wi-Fi / BLE (BLE only on the H2). IDF based.
esp8266ESP8266Small heap. Tier 3.
stm32STM32 F0, F4, F7, G0, G4, H5, H7, L0, L1, L4, N6, U5, WB, WLpyboard origin. USB CDC. machine.CAN from 1.28.
samdSAMD21 / SAMD51Many Adafruit-shaped boards.
nrfnRF51 / nRF52 / nRF91micro:bit, BLE-heavy boards.
mimxrti.MX RTTeensy 4 class, lots of RAM.
unix / windows / webassemblyHost OS / WASMNo GPIO. Language + stdlib + embed.
alif, psoc-edge, renesas-ra, zephyr, cc3200, qemu, embed, …VariousSee Other. Tiers in 1.27+ say how complete they are.

Adding a board

Inside an existing port you usually add a directory under boards/:

A new chip family is a new ports/foo/: main.c, mpconfigport.h, a UART for the REPL, a heap, and then machine bindings one class at a time. The developer docs walk through it; embed is the smallest “port” if you only want the VM inside another program.

Tiers

From 1.27 the project places every port in a tier by how mature and how actively maintained it is. Tier 1 is esp32, mimxrt, rp2, samd, stm32, unix and windows. Tier 2 is alif, embed, nrf, psoc-edge, renesas-ra, webassembly and zephyr. Tier 3 is cc3200, esp8266 and pic16bit. Tier M (bare-arm, minimal and qemu) is for maintenance, development and testing. Lower tiers still run; they may lag on machine APIs. Check the release notes when a class is missing — it may be the port, not your script.