nrf52840: add support for flashing with the BOSSA tool

This only works with a custom bossac build from Arduino, not with the
upstream version. It avoids needing the manual "double tap" to enter
bootloader mode before flashing firmware.
This commit is contained in:
Ayke van Laethem
2021-06-18 09:29:09 +02:00
committed by Ron Evans
parent d1f445735c
commit cd628bcde6
3 changed files with 28 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"inherits": ["nrf52840"],
"build-tags": ["nano_33_ble"],
"build-tags": ["nano_33_ble", "nrf52840_reset_bossa"],
"flash-command": "bossac_arduino2 -d -i -e -w -v -R --port={port} {bin}",
"flash-1200-bps-reset": "true",
"linkerscript": "targets/nano-33-ble.ld"