Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.
Florian Loitsch edited this page Mar 28, 2023 · 1 revision

Welcome to Toit's fork of the QEMU repository.

The releases of this repository contain minimal archives of an ESP32-capabable QEMU. It can be used for testing.

Examples

A simple hello world:

toit.compile -w hello.snapshot hello.toit
# Download a firmware envelope from https://github.com/toitlang/toit/releases
tools/firmware -e firmware.envelope container install -o hello.envelope hello hello.snapshot
tools/firmware -e hello.envelope extract --format qemu -o hello.img

./qemu-system-xtensa -M esp32 -nographic -drive file=../hello.img,format=raw,if=mtd -s

Network

WiFi is not supported, but ethernet can be enabled with the CONFIG_ETH_USE_OPENETH flag in the sdkconfig.

TODO: still needs to be tested.

Clone this wiki locally