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.
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
WiFi is not supported, but ethernet can be enabled with the CONFIG_ETH_USE_OPENETH flag in the sdkconfig.
CONFIG_ETH_USE_OPENETH
TODO: still needs to be tested.