From ec41b40bb46062c55301906e59a3732a3ec25573 Mon Sep 17 00:00:00 2001 From: Joe Campbell <10763991+needs-coffee@users.noreply.github.com> Date: Fri, 18 Oct 2024 18:35:55 +0100 Subject: [PATCH 1/2] Allow programming of the NRF52840DK using the adafruit bootloader over nrftutil --- boards/nrf52840_dk_adafruit.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/boards/nrf52840_dk_adafruit.json b/boards/nrf52840_dk_adafruit.json index 03aa223d..7f78192c 100644 --- a/boards/nrf52840_dk_adafruit.json +++ b/boards/nrf52840_dk_adafruit.json @@ -52,10 +52,14 @@ "protocols": [ "jlink", "nrfjprog", + "nrfutil", "stlink", "cmsis-dap", "blackmagic" - ] + ], + "use_1200bps_touch": true, + "require_upload_port": true, + "wait_for_upload_port": true }, "url": "https://os.mbed.com/platforms/Nordic-nRF52840-DK/", "vendor": "Nordic" From 5c59f0faf33c754ea1173b6f788a19fba0b92dd1 Mon Sep 17 00:00:00 2001 From: Joe Campbell <10763991+needs-coffee@users.noreply.github.com> Date: Fri, 18 Oct 2024 22:25:05 +0100 Subject: [PATCH 2/2] Remove Duplicate require_upload_port --- boards/nrf52840_dk_adafruit.json | 1 - 1 file changed, 1 deletion(-) diff --git a/boards/nrf52840_dk_adafruit.json b/boards/nrf52840_dk_adafruit.json index 7f78192c..85d15285 100644 --- a/boards/nrf52840_dk_adafruit.json +++ b/boards/nrf52840_dk_adafruit.json @@ -58,7 +58,6 @@ "blackmagic" ], "use_1200bps_touch": true, - "require_upload_port": true, "wait_for_upload_port": true }, "url": "https://os.mbed.com/platforms/Nordic-nRF52840-DK/",