replace flash method with openocd, disable automatic stack sizing

This commit is contained in:
ardnew
2020-09-06 13:24:38 -05:00
committed by Ron Evans
parent d1b470f04e
commit cb4f3f12e6
+5 -2
View File
@@ -1,6 +1,8 @@
{
"inherits": ["cortex-m4"],
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
"automatic-stack-size": false,
"default-stack-size": 1024,
"cflags": [
"-Qunused-arguments"
],
@@ -8,6 +10,7 @@
"extra-files": [
"src/device/stm32/stm32f405.s"
],
"flash-method": "command",
"flash-command": "dfu-util -a 0 --dfuse-address 0x08000000 -D {hex}"
"openocd-transport": "swd",
"openocd-interface": "jlink",
"openocd-target": "stm32f4x"
}