From 4c4ed637561320279104842f0ba67740b7394a2a Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Oct 2022 21:07:26 +0200 Subject: [PATCH] Prepare pimoroni pga2040 support --- boards/pimoroni_pga2040.json | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 boards/pimoroni_pga2040.json diff --git a/boards/pimoroni_pga2040.json b/boards/pimoroni_pga2040.json new file mode 100644 index 0000000..46b980d --- /dev/null +++ b/boards/pimoroni_pga2040.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q64j_padded_checksummed.S", + "usb_vid": "0x2E8A", + "usb_pid": "0x1008" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_GENERIC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8A", + "0x1008" + ] + ], + "mcu": "rp2040", + "variant": "generic" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "PGA2040", + "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": "Pimoroni" +}