support flashing pca10059 from windows

This commit is contained in:
Olaf Flebbe
2021-06-03 14:27:33 +02:00
committed by Ron Evans
parent 9912dd6db1
commit 1f5e4e79aa
5 changed files with 48 additions and 1 deletions
+2 -1
View File
@@ -2,5 +2,6 @@
"inherits": ["nrf52840"],
"build-tags": ["pca10059"],
"linkerscript": "targets/pca10059.ld",
"flash-command": "nrfutil pkg generate --hw-version 52 --sd-req 0x0 --application {hex} --application-version 1 /tmp/tinygo_$$.zip && nrfutil dfu usb-serial -pkg /tmp/tinygo_$$.zip -p {port} -b 115200 && rm -f /tmp/tinygo_$$.zip"
"binary-format": "nrf-dfu",
"flash-command": "nrfutil dfu usb-serial -pkg {zip} -p {port} -b 115200"
}