mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-14 07:53:40 +00:00
replace flash method with openocd, disable automatic stack sizing
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
"inherits": ["cortex-m4"],
|
"inherits": ["cortex-m4"],
|
||||||
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
|
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
|
||||||
|
"automatic-stack-size": false,
|
||||||
|
"default-stack-size": 1024,
|
||||||
"cflags": [
|
"cflags": [
|
||||||
"-Qunused-arguments"
|
"-Qunused-arguments"
|
||||||
],
|
],
|
||||||
@@ -8,6 +10,7 @@
|
|||||||
"extra-files": [
|
"extra-files": [
|
||||||
"src/device/stm32/stm32f405.s"
|
"src/device/stm32/stm32f405.s"
|
||||||
],
|
],
|
||||||
"flash-method": "command",
|
"openocd-transport": "swd",
|
||||||
"flash-command": "dfu-util -a 0 --dfuse-address 0x08000000 -D {hex}"
|
"openocd-interface": "jlink",
|
||||||
|
"openocd-target": "stm32f4x"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user