Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,8 @@ jobs:
echo "skip $ex: it uses WiFi, which the STM32H743 does not have"
continue
fi
# The early Pico 2 W port has no pins, peripherals or WiFi yet.
if [ "${{ matrix.target }}" = pico2w ] &&
! [[ " hello boots overflow sieve threads " == *" $(basename "$ex" .goose) "* ]]; then
echo "skip $ex: the Pico 2 W port has no pins or WiFi yet"
if [ "${{ matrix.target }}" = pico2w ] && grep -Eq '^\s*import\s+net\s*;' "$ex"; then
echo "skip $ex: the Pico 2 W port has no WiFi yet"
continue
fi
echo "::group::$ex"
Expand Down
14 changes: 10 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,16 @@
and runs a program over the board's USB port, with no BOOTSEL button to
hold. It runs the Goose samples that fit its 520 KB of RAM, threads
included, and stops a program at the first store past a data stack's end
(MPU guards, as on the H7). It has no pins, peripherals or WiFi yet, and
no emulator. A program that calls an `import mcu;` function the board
doesn't have yet is told which, before the build. See
[Boards](https://microgoose.dev/boards/#raspberry-pi-pico-2-w).
(MPU guards, as on the H7). `import mcu;` works there as on the other
boards: GPIO, ADC (captures paced by the ADC itself, up to 500 kHz), PWM,
UART, I2C, SPI, pin and timer interrupts, the chip's temperature and its
hardware random numbers. The RP2350 has no DAC or CAN, so those calls
return their "none" values. It has no WiFi yet, and no emulator. See
[Boards](https://microgoose.dev/boards/#raspberry-pi-pico-2-w) and the
[hardware API](https://microgoose.dev/hardware-api/).
- The examples choose Pico 2 W pins: `serial.goose` uses GPIO0 and GPIO1
for its UART there (connect them; the Pico can't send and hear on one
pin), and `analog.goose` reads GPIO26.
- Goose v2026.5: MicroGoose now downloads and pins the Goose compiler
[v2026.5](https://github.com/aardappel/goose/releases/tag/v2026.5)
(released 2026-12-02), checked against its SHA-256 as before. Programs
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ STM32Cube and FreeRTOS on the STM32H7.
ESP32 WROOM-32, 22 of 22 on the STM32H743, and 22 of 22 on the Raspberry
Pi Pico 2 W.
- **Peripherals and networking.** GPIO, ADC, DAC, PWM, UART, I2C, SPI, CAN
and interrupts on the ESP32s and the H7 (not yet the Pico 2 W); WiFi, HTTPS, MQTT, sockets, signed OTA
updates, SSH and SFTP on the ESP32s.
and interrupts on the ESP32s and the H7, and all but the DAC and CAN
(which the RP2350 lacks) on the Pico 2 W; WiFi, HTTPS, MQTT, sockets,
signed OTA updates, SSH and SFTP on the ESP32s.
- **Verified on every change.** CI builds every target and runs the samples
on emulated chips (QEMU and Renode), diffed against the PC.

Expand Down
18 changes: 11 additions & 7 deletions docs/boards.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ seo_title: "Boards: ESP32-S3, ESP32 and STM32H743 | MicroGoose"
| `s3` | ESP32-S3 (tested: N16R8 DevKitC-1) | UART0 | 2 watchpoints per core + canaries | 8 MB octal PSRAM used for big stacks |
| `esp32` | ESP32 WROOM-32 / WROVER-E | UART0 | 2 watchpoints per core + canaries | one image for both; PSRAM used if present |
| `h7` | STM32H743 (tested: DevEBox H743VIT6) | RTT over ST-Link | 14 MPU regions + canaries | smallest and fastest; threads share its one core |
| `pico2w` | Raspberry Pi Pico 2 W (RP2350) | USB serial | 8 MPU regions + canaries | early port: no pins or WiFi yet |
| `pico2w` | Raspberry Pi Pico 2 W (RP2350) | USB serial | 8 MPU regions + canaries | early port: no WiFi yet |

## ESP32-S3

Expand Down Expand Up @@ -83,7 +83,8 @@ seo_title: "Boards: ESP32-S3, ESP32 and STM32H743 | MicroGoose"
## Raspberry Pi Pico 2 W

An early port. It runs the Goose samples that fit its RAM, threads
included, but has no pins, peripherals or WiFi yet, and no emulator.
included, and the [hardware API](hardware-api.md) except the DAC and CAN,
which the RP2350 doesn't have. It has no WiFi yet, and no emulator.

- **Project:** `ports/rp2350/`, env `pico2w`. The Pico SDK 2.3.1 and
FreeRTOS through a community PlatformIO platform
Expand Down Expand Up @@ -111,11 +112,14 @@ included, but has no pins, peripherals or WiFi yet, and no emulator.
`microgoose monitor` follows the board through such a restart.
- **Threads:** the program and its workers are FreeRTOS tasks on one of the
two cores, sharing it in 1 ms time slices, as on the H7.
- **Randomness:** `os.random_seed()` and `os.random_bytes()` take the
RP2350's hardware random number generator.
- **Not available yet:** `import mcu;` beyond time and the heap (pins, ADC,
PWM, UART, I2C, SPI), WiFi and `import net;`, the second core, and
`--emulate` (neither QEMU nor Renode models the RP2350).
- **Randomness:** `os.random_seed()`, `os.random_bytes()` and
`hw_random()` take the RP2350's hardware random number generator.
- **Pins:** the header's GPIO0–22 and 26–28. GPIO23–25 and 29 run the WiFi
chip. The [hardware API](hardware-api.md) lists which pins each
peripheral takes.
- **Not available yet:** WiFi and `import net;`, the green LED (it's on the
WiFi chip), the second core, and `--emulate` (neither QEMU nor Renode
models the RP2350).

## No board: emulators

Expand Down
Loading