esp32: add support for running and debuggin using qemu-esp32

This commit is contained in:
Ayke van Laethem
2022-04-22 18:57:40 +02:00
committed by Ron Evans
parent bd56636d58
commit 8568d4f625
5 changed files with 57 additions and 9 deletions
+3 -1
View File
@@ -15,5 +15,7 @@
"src/internal/task/task_stack_esp32.S"
],
"binary-format": "esp32",
"flash-command": "esptool.py --chip=esp32 --port {port} write_flash 0x1000 {bin} -ff 80m -fm dout"
"flash-command": "esptool.py --chip=esp32 --port {port} write_flash 0x1000 {bin} -ff 80m -fm dout",
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
"gdb": ["xtensa-esp32-elf-gdb"]
}