Skip to content

Commit efc824a

Browse files
ardnewdeadprogram
authored andcommitted
change default flash method to DFU (using dfu-util over USB)
1 parent cb4f3f1 commit efc824a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

targets/feather-stm32f405.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
"extra-files": [
1111
"src/device/stm32/stm32f405.s"
1212
],
13+
"flash-method": "command",
14+
"flash-command": "dfu-util --alt 0 --dfuse-address 0x08000000 --download {bin}",
1315
"openocd-transport": "swd",
1416
"openocd-interface": "jlink",
1517
"openocd-target": "stm32f4x"

0 commit comments

Comments
 (0)