mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-07-26 06:38:42 +00:00
20fdbc1f9d
* Rename pinetime-devkit0 to pinetime because the production device is
almost the same hardware (the only noticeable difference is a
different accelerometer, which isn't part of the board file).
* Remove the UART and set serial to none. The UART uses a lot of
current by default, so it seems better to disable it.
This is a breaking change, but honestly I think I'm the only one who has
ever actually used TinyGo for the PineTime and I'm fine with this
change :)
10 lines
240 B
JSON
10 lines
240 B
JSON
{
|
|
"inherits": ["nrf52"],
|
|
"build-tags": ["pinetime"],
|
|
"serial": "none",
|
|
"flash-method": "openocd",
|
|
"flash-command": "nrfjprog -f nrf52 --sectorerase --program {hex} --reset",
|
|
"openocd-interface": "jlink",
|
|
"openocd-transport": "swd"
|
|
}
|