mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-31 17:17:47 +00:00
b8c326d710
Signed-off-by: Ron Evans <ron@hybridgroup.com>
19 lines
575 B
JSON
19 lines
575 B
JSON
{
|
|
"inherits": ["cortex-m"],
|
|
"llvm-target": "armv7m-none-eabi",
|
|
"build-tags": ["bluepill", "stm32f103xx", "stm32"],
|
|
"cflags": [
|
|
"--target=armv7m-none-eabi",
|
|
"-Qunused-arguments"
|
|
],
|
|
"ldflags": [
|
|
"-T", "targets/stm32.ld"
|
|
],
|
|
"extra-files": [
|
|
"src/device/stm32/stm32f103xx.s"
|
|
],
|
|
"flash": "openocd -f interface/stlink-v2.cfg -f target/stm32f1x.cfg -c 'program {hex} reset exit'",
|
|
"ocd-daemon": ["openocd", "-f", "interface/stlink-v2.cfg", "-f", "target/stm32f1x.cfg"],
|
|
"gdb-initial-cmds": ["target remote :3333", "monitor halt", "load", "monitor reset", "c"]
|
|
}
|