Add pico-debug support, update board definitions

This commit is contained in:
maxgerhardt 2023-05-05 15:05:32 +02:00
parent 9dc638d6ba
commit bade1b3dfb
57 changed files with 125 additions and 67 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

@ -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,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,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": "0x2886",
"usb_pid": "0x000A" "usb_pid": "0x0050"
} }
}, },
"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_SEEED_INDICATOR_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250",
"f_cpu": "133000000L", "f_cpu": "133000000L",
"hwids": [ "hwids": [
[ [
@ -17,12 +17,12 @@
"0x00C0" "0x00C0"
], ],
[ [
"0x2E8A", "0x2886",
"0x000A" "0x0050"
] ]
], ],
"mcu": "rp2040", "mcu": "rp2040",
"variant": "degz_mizu" "variant": "seeed_indicator_rp2040"
}, },
"debug": { "debug": {
"jlink_device": "RP2040_M0_0", "jlink_device": "RP2040_M0_0",
@ -32,23 +32,25 @@
"frameworks": [ "frameworks": [
"arduino" "arduino"
], ],
"name": "Mizu", "name": "INDICATOR RP2040",
"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": "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/",