mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
2a71aa90bc
Instead of specifying explicit commands, most of these commands have been replaced by more specific properties. This is work that will be necessary for an eventual -programmer flag to the compiler, with which it is possible to select which programmer to use to flash or debug a chip. That's not very useful for boards that already include a programmer or bootloader for that purpose, but is very useful for novel boards or single-purpose boards that are not already included in TinyGo.
9 lines
221 B
JSON
9 lines
221 B
JSON
{
|
|
"inherits": ["nrf52"],
|
|
"build-tags": ["pca10040"],
|
|
"flash-method": "openocd",
|
|
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
|
"openocd-interface": "jlink",
|
|
"openocd-transport": "swd"
|
|
}
|