mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-17 19:23:25 +00:00
change default flash method to DFU (using dfu-util over USB)
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
"extra-files": [
|
"extra-files": [
|
||||||
"src/device/stm32/stm32f405.s"
|
"src/device/stm32/stm32f405.s"
|
||||||
],
|
],
|
||||||
|
"flash-method": "command",
|
||||||
|
"flash-command": "dfu-util --alt 0 --dfuse-address 0x08000000 --download {bin}",
|
||||||
"openocd-transport": "swd",
|
"openocd-transport": "swd",
|
||||||
"openocd-interface": "jlink",
|
"openocd-interface": "jlink",
|
||||||
"openocd-target": "stm32f4x"
|
"openocd-target": "stm32f4x"
|
||||||
|
|||||||
Reference in New Issue
Block a user