
Previously it was 1024 bytes, which occasionally ran into a stack overflow. I hope that 2048 bytes will be enough for most purposes. I've also removed some 2048-byte stack size settings in JSON files, which are unnecessary now that the parent (cortex-m.json) sets them.
14 строки
444 Б
JSON
14 строки
444 Б
JSON
{
|
|
"inherits": ["cortex-m4"],
|
|
"build-tags": ["feather_stm32f405", "stm32f405", "stm32f4", "stm32"],
|
|
"automatic-stack-size": false,
|
|
"linkerscript": "targets/stm32f405.ld",
|
|
"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"
|
|
}
|