Skip to content

Commit cb4f3f1

Browse files
ardnewdeadprogram
authored andcommitted
replace flash method with openocd, disable automatic stack sizing
1 parent d1b470f commit cb4f3f1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

targets/feather-stm32f405.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"inherits": ["cortex-m4"],
33
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
4+
"automatic-stack-size": false,
5+
"default-stack-size": 1024,
46
"cflags": [
57
"-Qunused-arguments"
68
],
79
"linkerscript": "targets/stm32f405.ld",
810
"extra-files": [
911
"src/device/stm32/stm32f405.s"
1012
],
11-
"flash-method": "command",
12-
"flash-command": "dfu-util -a 0 --dfuse-address 0x08000000 -D {hex}"
13+
"openocd-transport": "swd",
14+
"openocd-interface": "jlink",
15+
"openocd-target": "stm32f4x"
1316
}

0 commit comments

Comments
 (0)