esp32sim - Run real ESP32 firmware in your browser
Show HN: Esp32sim – Run ESP32 firmware in the browser
esp32sim is an open-source ESP32 emulator written in Rust that runs unmodified firmware for four chips — the classic ESP32, ESP32-S3, ESP32-C3, and ESP32-C6 — across both Xtensa and RISC-V architectures. Each chip boots the real mask ROM, the real bootloader, and your untouched application image, with enough of the SoC modeled to run actual projects end to end: GPIO, UART, timers, displays, cameras, audio, and even a virtual WiFi access point with NAT to the real network. No hardware, no cloud, no accounts, and it's MIT licensed. Try it instantly in your browser via WebAssembly, or run it locally with the command line.
Run real firmware locally or in your browser — no hardware, no cloud, no subscription.
- raminf
Outstanding! Very cool.
On a lot of IoT projects, it's easier to create a "functional" software simulator for the hardware part so the mobile and cloud people can get going without having to wait for test hardware. Those simulators work at the level of emulating BLE or WiFi/API commands. Once you have hardware, the simulators are only used in CI/CD testing.
Where I can see this coming handy is instead of a "functional simulator" to actually have real firmware running for each mobile or back-end dev and CI/CD runner.
- Klovy
This emulator is actually pretty cool — especially since it’s based on an ESP32; you can do all sorts of neat things with it, even simple ones:)
- dofm
I actually want to have a play with this sometime. But honestly, these gigantic, poorly-formatted AI-slop paragraphs like the one below this heading…
https://github.com/mikroverk/esp32sim#boards-esp32-s3
… are just too much with their dense mix of formatting, brackets, semantic punctuation, command line arguments and part numbers etc. (This one is particularly absurd but it's not the only one).
I may be middle-aged now and a non-expert but I am pretty sure these things are generally exhausting to even expert young readers. I would urge you to reconsider how this page is presented.