From efc824a10332b3a9b878bdfa83ebea70140390b0 Mon Sep 17 00:00:00 2001 From: ardnew Date: Thu, 10 Sep 2020 10:38:03 -0500 Subject: [PATCH] change default flash method to DFU (using dfu-util over USB) --- targets/feather-stm32f405.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/feather-stm32f405.json b/targets/feather-stm32f405.json index d30a5209..311ba920 100644 --- a/targets/feather-stm32f405.json +++ b/targets/feather-stm32f405.json @@ -10,6 +10,8 @@ "extra-files": [ "src/device/stm32/stm32f405.s" ], + "flash-method": "command", + "flash-command": "dfu-util --alt 0 --dfuse-address 0x08000000 --download {bin}", "openocd-transport": "swd", "openocd-interface": "jlink", "openocd-target": "stm32f4x"