From bfd9e437198a319efbe494dbdd0a357d538e427d Mon Sep 17 00:00:00 2001 From: valeros Date: Fri, 30 Apr 2021 23:54:56 +0300 Subject: [PATCH] Add default upload protocol --- boards/nanorp2040connect.json | 4 +++- boards/pico.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/boards/nanorp2040connect.json b/boards/nanorp2040connect.json index 5e67ec7..30d8e6f 100644 --- a/boards/nanorp2040connect.json +++ b/boards/nanorp2040connect.json @@ -33,9 +33,11 @@ "native_usb": true, "use_1200bps_touch": true, "wait_for_upload_port": false, + "protocol": "picotool", "protocols": [ "cmsis-dap", - "raspberrypi-swd" + "raspberrypi-swd", + "picotool" ] }, "url": "https://blog.arduino.cc/2021/01/20/welcome-raspberry-pi-to-the-world-of-microcontrollers/", diff --git a/boards/pico.json b/boards/pico.json index 580dfc6..59462f7 100644 --- a/boards/pico.json +++ b/boards/pico.json @@ -29,9 +29,11 @@ "native_usb": true, "use_1200bps_touch": true, "wait_for_upload_port": false, + "protocol": "picotool", "protocols": [ "cmsis-dap", - "raspberrypi-swd" + "raspberrypi-swd", + "picotool" ] }, "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",