From 8a0a8776d193e9a626292ffecbc0739fef38ab10 Mon Sep 17 00:00:00 2001 From: Will McGloughlin Date: Fri, 1 Aug 2025 21:34:32 -0500 Subject: [PATCH 1/3] Add support for the Adafruit Feather RP2040 --- boards/featherrp2040.json | 42 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 boards/featherrp2040.json diff --git a/boards/featherrp2040.json b/boards/featherrp2040.json new file mode 100644 index 0000000..b51d3c1 --- /dev/null +++ b/boards/featherrp2040.json @@ -0,0 +1,42 @@ +{ + "build": { + "core": "arduino", + "cpu": "cortex-m0plus", + "extra_flags": "-DFEATHER_RP2040 -DARDUINO_ARCH_RP2040", + "f_cpu": "125000000L", + "hwids": [ + [ + "0x239A", + "0x80f1" + ] + ], + "mcu": "rp2040", + "variant": "RASPBERRY_PI_PICO" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Adafruit Feather RP2040", + "upload": { + "maximum_ram_size": 270336, + "maximum_size": 8388608, + "require_upload_port": true, + "native_usb": false, + "use_1200bps_touch": true, + "wait_for_upload_port": false, + "protocol": "picotool", + "protocols": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool" + ] + }, + "url": "https://blog.arduino.cc/2021/01/20/welcome-raspberry-pi-to-the-world-of-microcontrollers/", + "vendor": "Arduino" +} \ No newline at end of file From 992845cbebf9fdb9dff90dba7b1990bfc208d421 Mon Sep 17 00:00:00 2001 From: Will McGloughlin Date: Fri, 1 Aug 2025 21:42:15 -0500 Subject: [PATCH 2/3] Change FEATHER_RP2040 to ARDUINO_FEATHER_RP2040 --- boards/featherrp2040.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/featherrp2040.json b/boards/featherrp2040.json index b51d3c1..62fc426 100644 --- a/boards/featherrp2040.json +++ b/boards/featherrp2040.json @@ -2,7 +2,7 @@ "build": { "core": "arduino", "cpu": "cortex-m0plus", - "extra_flags": "-DFEATHER_RP2040 -DARDUINO_ARCH_RP2040", + "extra_flags": "-DARDUINO_FEATHER_RP2040 -DARDUINO_ARCH_RP2040", "f_cpu": "125000000L", "hwids": [ [ @@ -39,4 +39,4 @@ }, "url": "https://blog.arduino.cc/2021/01/20/welcome-raspberry-pi-to-the-world-of-microcontrollers/", "vendor": "Arduino" -} \ No newline at end of file +} From 9e5f3e8698cee77babdf05f3011fe2d4cc158fdb Mon Sep 17 00:00:00 2001 From: Will McGloughlin Date: Fri, 1 Aug 2025 21:46:38 -0500 Subject: [PATCH 3/3] Add URL and vendor --- boards/featherrp2040.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/featherrp2040.json b/boards/featherrp2040.json index 62fc426..3e24c26 100644 --- a/boards/featherrp2040.json +++ b/boards/featherrp2040.json @@ -37,6 +37,6 @@ "picotool" ] }, - "url": "https://blog.arduino.cc/2021/01/20/welcome-raspberry-pi-to-the-world-of-microcontrollers/", - "vendor": "Arduino" + "url": "https://www.adafruit.com/product/4884", + "vendor": "Adafruit" }