mirror of https://github.com/tinygo-org/tinygo.git
wasmstm32webassemblymicrocontrollerarmavrspiwasiadafruitarduinocircuitplayground-expressgpioi2cllvmmicrobitnrf51nrf52nrf52840samd21tinygo
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
575 B
18 lines
575 B
{
|
|
"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"]
|
|
}
|
|
|