Compare commits

...

11 Commits
bmp ... develop

Author SHA1 Message Date
0eff524981 use git commit of setXXX panic fix - temporary 2023-08-21 20:19:02 +00:00
maxgerhardt
ac45b109c1 Update board defs 2023-07-30 13:47:12 +02:00
Maximilian Gerhardt
e3446b7526
Update Arduino-Pico to bleeding-edges master (fixes Intellisense issues with newer PIO cores) 2023-07-29 22:49:36 +02:00
max
f9e5a07556 Sync new Arduino-Pico boards 2023-07-04 10:29:19 +02:00
Maximilian Gerhardt
02c5ef4a35
Update to Arduino-Pico 3.3.0 2023-07-04 10:26:13 +02:00
Maximilian Gerhardt
c0acac7838
Update to Arduino-Pico 3.2.2 2023-06-08 13:26:16 +02:00
Maximilian Gerhardt
79e4f615a1
Update to Arduino-Pico 3.2.1
https://github.com/earlephilhower/arduino-pico/releases/tag/3.2.1
2023-05-24 14:08:10 +02:00
maxgerhardt
0c33219f53 Use latest Arduino-Pico (merged pico-debug support), update board defs 2023-05-05 17:19:12 +02:00
maxgerhardt
92f7dcb581 Add pico-debug openocd call 2023-05-05 16:13:17 +02:00
maxgerhardt
bade1b3dfb Add pico-debug support, update board definitions 2023-05-05 15:05:32 +02:00
Maximilian Gerhardt
9dc638d6ba
Merge pull request #27 from maxgerhardt/bmp
Enable BlackMagicProbe support
2023-04-15 21:45:04 +02:00
64 changed files with 424 additions and 129 deletions

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -0,0 +1,56 @@
{
"build": {
"arduino": {
"earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x239A",
"usb_pid": "0x812F"
}
},
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_ADAFRUIT_FEATHER_RP2040_CAN -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
],
[
"0x239A",
"0x812F"
]
],
"mcu": "rp2040",
"variant": "adafruit_feather_can"
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "Feather RP2040 CAN",
"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": [
"blackmagic",
"cmsis-dap",
"jlink",
"raspberrypi-swd",
"picotool",
"picoprobe",
"pico-debug"
]
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "Adafruit"
}

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -0,0 +1,56 @@
{
"build": {
"arduino": {
"earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x239A",
"usb_pid": "0x8131"
}
},
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_ADAFRUIT_FEATHER_RP2040_PROP_MAKER -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
],
[
"0x239A",
"0x8131"
]
],
"mcu": "rp2040",
"variant": "adafruit_feather_prop_maker"
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "Feather RP2040 Prop-Maker",
"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": [
"blackmagic",
"cmsis-dap",
"jlink",
"raspberrypi-swd",
"picotool",
"picoprobe",
"pico-debug"
]
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "Adafruit"
}

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -2,14 +2,14 @@
"build": { "build": {
"arduino": { "arduino": {
"earlephilhower": { "earlephilhower": {
"boot2_source": "boot2_generic_03h_4_padded_checksum.S", "boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x2E8A", "usb_vid": "0x2E8A",
"usb_pid": "0x000A" "usb_pid": "0x000A"
} }
}, },
"core": "earlephilhower", "core": "earlephilhower",
"cpu": "cortex-m0plus", "cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_DEGZ_MIZU -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", "extra_flags": "-D ARDUINO_ARTRONSHOP_RP2_NANO -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
"f_cpu": "133000000L", "f_cpu": "133000000L",
"hwids": [ "hwids": [
[ [
@ -22,7 +22,7 @@
] ]
], ],
"mcu": "rp2040", "mcu": "rp2040",
"variant": "degz_mizu" "variant": "artronshop_rp2_nano"
}, },
"debug": { "debug": {
"jlink_device": "RP2040_M0_0", "jlink_device": "RP2040_M0_0",
@ -32,23 +32,25 @@
"frameworks": [ "frameworks": [
"arduino" "arduino"
], ],
"name": "Mizu", "name": "RP2 Nano",
"upload": { "upload": {
"maximum_ram_size": 270336, "maximum_ram_size": 270336,
"maximum_size": 8388608, "maximum_size": 2097152,
"require_upload_port": true, "require_upload_port": true,
"native_usb": true, "native_usb": true,
"use_1200bps_touch": true, "use_1200bps_touch": true,
"wait_for_upload_port": false, "wait_for_upload_port": false,
"protocol": "picotool", "protocol": "picotool",
"protocols": [ "protocols": [
"blackmagic",
"cmsis-dap", "cmsis-dap",
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "Degz" "vendor": "ArtronShop"
} }

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -0,0 +1,56 @@
{
"build": {
"arduino": {
"earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x2E8A",
"usb_pid": "0x105F"
}
},
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI6_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 -DWIFIESPAT2",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
],
[
"0x2E8A",
"0x105F"
]
],
"mcu": "rp2040",
"variant": "challenger_2040_wifi6_ble"
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "Challenger 2040 WiFi6/BLE",
"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": [
"blackmagic",
"cmsis-dap",
"jlink",
"raspberrypi-swd",
"picotool",
"picoprobe",
"pico-debug"
]
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "iLabs"
}

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -3,13 +3,13 @@
"arduino": { "arduino": {
"earlephilhower": { "earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S", "boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x1209", "usb_vid": "0x2E8A",
"usb_pid": "0x1209" "usb_pid": "0x100A"
} }
}, },
"core": "earlephilhower", "core": "earlephilhower",
"cpu": "cortex-m0plus", "cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_ELECTRONICCATS_BOMBERCAT -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", "extra_flags": "-D ARDUINO_PIMORONI_PLASMA2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500",
"f_cpu": "133000000L", "f_cpu": "133000000L",
"hwids": [ "hwids": [
[ [
@ -17,12 +17,12 @@
"0x00C0" "0x00C0"
], ],
[ [
"0x1209", "0x2E8A",
"0x1209" "0x100A"
] ]
], ],
"mcu": "rp2040", "mcu": "rp2040",
"variant": "electroniccats_bombercat" "variant": "pimoroni_plasma2040"
}, },
"debug": { "debug": {
"jlink_device": "RP2040_M0_0", "jlink_device": "RP2040_M0_0",
@ -32,7 +32,7 @@
"frameworks": [ "frameworks": [
"arduino" "arduino"
], ],
"name": "HunterCat NFC RP2040", "name": "Plasma2040",
"upload": { "upload": {
"maximum_ram_size": 270336, "maximum_ram_size": 270336,
"maximum_size": 2097152, "maximum_size": 2097152,
@ -42,13 +42,15 @@
"wait_for_upload_port": false, "wait_for_upload_port": false,
"protocol": "picotool", "protocol": "picotool",
"protocols": [ "protocols": [
"blackmagic",
"cmsis-dap", "cmsis-dap",
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "ElectronicCats" "vendor": "Pimoroni"
} }

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -0,0 +1,56 @@
{
"build": {
"arduino": {
"earlephilhower": {
"boot2_source": "boot2_w25q080_2_padded_checksum.S",
"usb_vid": "0x2886",
"usb_pid": "0x0050"
}
},
"core": "earlephilhower",
"cpu": "cortex-m0plus",
"extra_flags": "-D ARDUINO_SEEED_INDICATOR_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
"f_cpu": "133000000L",
"hwids": [
[
"0x2E8A",
"0x00C0"
],
[
"0x2886",
"0x0050"
]
],
"mcu": "rp2040",
"variant": "seeed_indicator_rp2040"
},
"debug": {
"jlink_device": "RP2040_M0_0",
"openocd_target": "rp2040.cfg",
"svd_path": "rp2040.svd"
},
"frameworks": [
"arduino"
],
"name": "INDICATOR RP2040",
"upload": {
"maximum_ram_size": 270336,
"maximum_size": 2097152,
"require_upload_port": true,
"native_usb": true,
"use_1200bps_touch": true,
"wait_for_upload_port": false,
"protocol": "picotool",
"protocols": [
"blackmagic",
"cmsis-dap",
"jlink",
"raspberrypi-swd",
"picotool",
"picoprobe",
"pico-debug"
]
},
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
"vendor": "Seeed"
}

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,8 @@
"jlink", "jlink",
"raspberrypi-swd", "raspberrypi-swd",
"picotool", "picotool",
"picoprobe" "picoprobe",
"pico-debug"
] ]
}, },
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",

View File

@ -47,7 +47,7 @@
"type": "framework", "type": "framework",
"optional": true, "optional": true,
"owner": "earlephilhower", "owner": "earlephilhower",
"version": "https://github.com/earlephilhower/arduino-pico.git#5bf570c27d40cc2fc2b574661491ff4ccf37c2a" "version": "https://github.com/earlephilhower/arduino-pico.git#456b474a48175328ec251711761dcf957bf09801"
}, },
"tool-rp2040tools": { "tool-rp2040tools": {
"type": "uploader", "type": "uploader",

View File

@ -15,7 +15,7 @@
import platform import platform
from platformio.public import PlatformBase from platformio.public import PlatformBase
import sys
class RaspberrypiPlatform(PlatformBase): class RaspberrypiPlatform(PlatformBase):
@ -86,7 +86,7 @@ class RaspberrypiPlatform(PlatformBase):
if "tools" not in debug: if "tools" not in debug:
debug["tools"] = {} debug["tools"] = {}
for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe"): for link in ("blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picoprobe", "pico-debug"):
if link not in upload_protocols or link in debug["tools"]: if link not in upload_protocols or link in debug["tools"]:
continue continue
if link == "blackmagic": if link == "blackmagic":
@ -113,6 +113,17 @@ class RaspberrypiPlatform(PlatformBase):
}, },
"onboard": link in debug.get("onboard_tools", []) "onboard": link in debug.get("onboard_tools", [])
} }
elif link == "pico-debug":
debug["tools"][link] = {
"server": {
"executable": "bin/openocd",
"package": "tool-openocd-rp2040-earlephilhower",
"arguments": [
"-s", "$PACKAGE_DIR/share/openocd/scripts",
"-f", "board/%s.cfg" % link,
]
}
}
else: else:
openocd_target = debug.get("openocd_target") openocd_target = debug.get("openocd_target")
assert openocd_target, ("Missing target configuration for %s" % assert openocd_target, ("Missing target configuration for %s" %