diff --git a/Documentation/platforms/xtensa/esp32/index.rst b/Documentation/platforms/xtensa/esp32/index.rst index 9cb5b72185..3b501d6b30 100644 --- a/Documentation/platforms/xtensa/esp32/index.rst +++ b/Documentation/platforms/xtensa/esp32/index.rst @@ -329,15 +329,19 @@ Using QEMU ========== First follow the instructions `here `_ to build QEMU. -Enable the ESP32_QEMU_IMAGE config found in "Board Selection -> ESP32 binary image for QEMU". -Download the bootloader and the partition table from https://github.com/espressif/esp-nuttx-bootloader/releases -and place them in a directory, say ../esp-bins. -Build and generate the QEMU image: `make ESPTOOL_BINDIR=../esp-bins` -A new image "esp32_qemu_image.bin" will be created. It can be run as:: - ~/PATH_TO_QEMU/qemu/build/xtensa-softmmu/qemu-system-xtensa -nographic \ - -machine esp32 \ - -drive file=esp32_qemu_image.bin,if=mtd,format=raw +Enable the ``ESP32_QEMU_IMAGE`` config found in :menuselection:`Board Selection --> ESP32 binary image for QEMU`. + +Download the bootloader and the partition table from https://github.com/espressif/esp-nuttx-bootloader/releases +and place them in a directory, say ``../esp-bins``. + +Build and generate the QEMU image:: + + $ make ESPTOOL_BINDIR=../esp-bins + +A QEMU-compatible ``nuttx.merged.bin`` binary image will be created. It can be run as:: + + $ qemu-system-xtensa -nographic -machine esp32 -drive file=nuttx.merged.bin,if=mtd,format=raw Things to Do ============