QEMU on ESP32-S3
Posted: Sat Jan 11, 2025 10:59 am
by iParcelBox
I'm trying to use QEMU for ESP32-S3. I've followed the instructions on installing the ESP fork ad configuring for the ESP-32 based on the specific instructions here:
https://docs.espressif.com/projects/esp ... /qemu.html
However, when I then try and run `idf.py qemu monitor' from VSCode, I get an error:
esp32s3 is not supported by Espressif QEMU. Only esp32 or esp32c3 targets are supported.
Are there some alternative instructions on how I should install QEMU so that it supports ESP32S3?
Re: QEMU on ESP32-S3
Posted: Sun Apr 27, 2025 6:16 am
by razor_et
i have the same question
Re: QEMU on ESP32-S3
Posted: Mon Apr 28, 2025 8:45 am
by geebou
Hi,
I have not exactly the same issue but result is same :
idf.py set-target esp32s3 is OK
then, trying with https-mbedtls example :
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /home/esp/esp-idf/examples/protocols/https_mbedtls/build/bootloader/bootloader.bin
[115/115] cd /home/esp/esp-idf/examples/protocols/https_mbedtls/build/bootloader/esp-idf...r 0x0 /home/esp/esp-idf/examples/protocols/https_mbedtls/build/bootloader/bootloader.bin
Bootloader binary size 0x5220 bytes. 0x2de0 bytes (36%) free.
[1042/1043] Generating binary image from built executable
esptool.py v4.8.1
Creating esp32s3 image...
Merged 2 ELF sections
Successfully created esp32s3 image.
Generated /home/esp/esp-idf/examples/protocols/https_mbedtls/build/https_mbedtls.bin
[1043/1043] cd /home/esp/esp-idf/examples/protocols/https_mbedtls/build/esp-idf/esptool_...ion-table.bin /home/esp/esp-idf/examples/protocols/https_mbedtls/build/https_mbedtls.bin
https_mbedtls.bin binary size 0xdd2b0 bytes. Smallest app partition is 0x100000 bytes. 0x22d50 bytes (14%) free.
Executing action: qemu
qemu-system-xtensa is not installed. Please install it using "python $IDF_PATH/tools/idf_tools.py install qemu-xtensa" or build it from source if the pre-built version is not available for your platform.
BUT : qemu-xtensa is installed
~/esp/esp-idf/examples/protocols/https_mbedtls$ python $IDF_PATH/tools/idf_tools.py install qemu-xtensa
Current system platform: linux-amd64
Installing tools: qemu-xtensa
Skipping qemu-xtensa@esp_develop_9.0.0_20240606 (already installed)