From aa10954dab6f55803b2d77b838e8a1ac016064d3 Mon Sep 17 00:00:00 2001 From: maxgerhardt Date: Tue, 4 Apr 2023 23:16:51 +0200 Subject: [PATCH] Update Arduino-Pico, sync boards --- boards/adafruit_feather_rfm.json | 54 +++++++++++++++++++++++++++ boards/adafruit_feather_thinkink.json | 54 +++++++++++++++++++++++++++ boards/adafruit_feather_usb_host.json | 54 +++++++++++++++++++++++++++ boards/challenger_2040_nfc.json | 2 +- boards/challenger_2040_sdrtc.json | 2 +- boards/challenger_2040_uwb.json | 54 +++++++++++++++++++++++++++ platform.json | 2 +- 7 files changed, 219 insertions(+), 3 deletions(-) create mode 100644 boards/adafruit_feather_rfm.json create mode 100644 boards/adafruit_feather_thinkink.json create mode 100644 boards/adafruit_feather_usb_host.json create mode 100644 boards/challenger_2040_uwb.json diff --git a/boards/adafruit_feather_rfm.json b/boards/adafruit_feather_rfm.json new file mode 100644 index 0000000..b46e713 --- /dev/null +++ b/boards/adafruit_feather_rfm.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x239A", + "usb_pid": "0x812D" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_ADAFRUIT_FEATHER_RP2040_RFM -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x239A", + "0x812D" + ] + ], + "mcu": "rp2040", + "variant": "adafruit_feather_rfm" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Feather RP2040 RFM", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "Adafruit" +} diff --git a/boards/adafruit_feather_thinkink.json b/boards/adafruit_feather_thinkink.json new file mode 100644 index 0000000..3c5b979 --- /dev/null +++ b/boards/adafruit_feather_thinkink.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x239A", + "usb_pid": "0x812B" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_ADAFRUIT_FEATHER_RP2040_THINKINK -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x239A", + "0x812B" + ] + ], + "mcu": "rp2040", + "variant": "adafruit_feather_thinkink" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Feather RP2040 ThinkINK", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "Adafruit" +} diff --git a/boards/adafruit_feather_usb_host.json b/boards/adafruit_feather_usb_host.json new file mode 100644 index 0000000..0651f47 --- /dev/null +++ b/boards/adafruit_feather_usb_host.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x239A", + "usb_pid": "0x8129" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_ADAFRUIT_FEATHER_RP2040_USB_HOST -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x239A", + "0x8129" + ] + ], + "mcu": "rp2040", + "variant": "adafruit_feather_usb_host" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Feather RP2040 USB Host", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "Adafruit" +} diff --git a/boards/challenger_2040_nfc.json b/boards/challenger_2040_nfc.json index 308f473..0b1ea74 100644 --- a/boards/challenger_2040_nfc.json +++ b/boards/challenger_2040_nfc.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_NFC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_NFC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", "f_cpu": "133000000L", "hwids": [ [ diff --git a/boards/challenger_2040_sdrtc.json b/boards/challenger_2040_sdrtc.json index 6c9cb97..0f39dc3 100644 --- a/boards/challenger_2040_sdrtc.json +++ b/boards/challenger_2040_sdrtc.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_SDRTC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_SDRTC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", "f_cpu": "133000000L", "hwids": [ [ diff --git a/boards/challenger_2040_uwb.json b/boards/challenger_2040_uwb.json new file mode 100644 index 0000000..fb34b6d --- /dev/null +++ b/boards/challenger_2040_uwb.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2E8A", + "usb_pid": "0x1052" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_UWB_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8A", + "0x1052" + ] + ], + "mcu": "rp2040", + "variant": "challenger_2040_uwb" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 UWB", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": true, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "iLabs" +} diff --git a/platform.json b/platform.json index 1ee3348..b774ab5 100644 --- a/platform.json +++ b/platform.json @@ -47,7 +47,7 @@ "type": "framework", "optional": true, "owner": "earlephilhower", - "version": "https://github.com/earlephilhower/arduino-pico.git#7851dc8cb70af5bee0308566770c2f472d27a71a" + "version": "https://github.com/earlephilhower/arduino-pico.git#5bf570c27d40cc2fc2b574661491ff4ccf37c2a" }, "tool-rp2040tools": { "type": "uploader",