mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 21:13:39 +00:00
targets: modify esp32, esp32s3, esp32c3, & esp8266 targets to use built-in esp32flash
Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@
|
|||||||
"src/internal/task/task_stack_esp32.S"
|
"src/internal/task/task_stack_esp32.S"
|
||||||
],
|
],
|
||||||
"binary-format": "esp32",
|
"binary-format": "esp32",
|
||||||
"flash-command": "esptool.py --chip=esp32 --port {port} write_flash 0x1000 {bin} -ff 80m -fm dout",
|
"flash-method": "esp32flash",
|
||||||
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
||||||
"gdb": ["xtensa-esp32-elf-gdb"]
|
"gdb": ["xtensa-esp32-elf-gdb"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"src/device/esp/esp32c3.S"
|
"src/device/esp/esp32c3.S"
|
||||||
],
|
],
|
||||||
"binary-format": "esp32c3",
|
"binary-format": "esp32c3",
|
||||||
"flash-command": "esptool.py --chip=esp32c3 --port {port} write_flash 0x0 {bin}",
|
"flash-method": "esp32flash",
|
||||||
"serial-port": ["303a:1001"],
|
"serial-port": ["303a:1001"],
|
||||||
"openocd-interface": "esp_usb_jtag",
|
"openocd-interface": "esp_usb_jtag",
|
||||||
"openocd-target": "esp32c3",
|
"openocd-target": "esp32c3",
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
"src/internal/task/task_stack_esp32.S"
|
"src/internal/task/task_stack_esp32.S"
|
||||||
],
|
],
|
||||||
"binary-format": "esp32s3",
|
"binary-format": "esp32s3",
|
||||||
"flash-command": "esptool.py --chip=esp32s3 --port {port} write_flash 0x0000 {bin} -ff 80m -fm dout",
|
"flash-method": "esp32flash",
|
||||||
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
"emulator": "qemu-system-xtensa -machine esp32 -nographic -drive file={img},if=mtd,format=raw",
|
||||||
"gdb": ["xtensa-esp32-elf-gdb"]
|
"gdb": ["xtensa-esp32-elf-gdb"]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,5 +14,5 @@
|
|||||||
"src/internal/task/task_stack_esp8266.S"
|
"src/internal/task/task_stack_esp8266.S"
|
||||||
],
|
],
|
||||||
"binary-format": "esp8266",
|
"binary-format": "esp8266",
|
||||||
"flash-command": "esptool.py --chip=esp8266 --port {port} write_flash 0x00000 {bin} -fm qio"
|
"flash-method": "esp32flash"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user