-
1TLDR;
$ docker run -it -p 8080:80 mluis/qemu-esp32
$ idf
$ idf.py build -C program
$ ./flash.sh program/build/emulation.bin
$ qemu-system-xtensa -nographic -M esp32 -m 4 -drive file=flash.bin,if=mtd,format=raw -nic user,model=open_eth,hostfwd=tcp::80-:80 -
2Point browser to:
http://localhost:8080/hello
-
3Building and running
$ docker build . -t qemu-esp32
$ docker run --name qemu-esp32 --rm -i -p 8080:80 -t qemu-esp32 bash
$ idf -
4Optional: Before compiling one might want to configure dependencies
$ idf.py build -C program menuconfig
-
5Running the example
$ idf.py build -C program
$ ./flash.sh program/build/emulation.bin
$ qemu-system-xtensa -nographic -M esp32 -m 4 -drive file=flash.bin,if=mtd,format=raw -nic user,model=open_eth,hostfwd=tcp::80-:80
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.