From aa79bc55cb3df8d642b05abc414fd9212a25c7fe Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 12 Sep 2022 11:22:43 +0200 Subject: [PATCH] Update board files + core commit --- boards/challenger_2040_nfc.json | 54 ++++++++++++++++++++++++++++ boards/challenger_2040_wifi.json | 2 +- boards/challenger_2040_wifi_ble.json | 2 +- boards/challenger_nb_2040_wifi.json | 6 ++-- boards/electroniccats_bombercat.json | 54 ++++++++++++++++++++++++++++ boards/extelec_rc2040.json | 54 ++++++++++++++++++++++++++++ platform.json | 2 +- 7 files changed, 168 insertions(+), 6 deletions(-) create mode 100644 boards/challenger_2040_nfc.json create mode 100644 boards/electroniccats_bombercat.json create mode 100644 boards/extelec_rc2040.json diff --git a/boards/challenger_2040_nfc.json b/boards/challenger_2040_nfc.json new file mode 100644 index 0000000..308f473 --- /dev/null +++ b/boards/challenger_2040_nfc.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2E8A", + "usb_pid": "0x1036" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_NFC_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8A", + "0x1036" + ] + ], + "mcu": "rp2040", + "variant": "challenger_2040_nfc" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "Challenger 2040 NFC", + "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/boards/challenger_2040_wifi.json b/boards/challenger_2040_wifi.json index 0c9e75e..6b2bcff 100644 --- a/boards/challenger_2040_wifi.json +++ b/boards/challenger_2040_wifi.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ diff --git a/boards/challenger_2040_wifi_ble.json b/boards/challenger_2040_wifi_ble.json index b671b69..5d4b829 100644 --- a/boards/challenger_2040_wifi_ble.json +++ b/boards/challenger_2040_wifi_ble.json @@ -9,7 +9,7 @@ }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "extra_flags": "-D ARDUINO_CHALLENGER_2040_WIFI_BLE_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ diff --git a/boards/challenger_nb_2040_wifi.json b/boards/challenger_nb_2040_wifi.json index f4ae65c..3d34647 100644 --- a/boards/challenger_nb_2040_wifi.json +++ b/boards/challenger_nb_2040_wifi.json @@ -4,12 +4,12 @@ "earlephilhower": { "boot2_source": "boot2_w25q080_2_padded_checksum.S", "usb_vid": "0x2E8A", - "usb_pid": "0x100B" + "usb_pid": "0x100D" } }, "core": "earlephilhower", "cpu": "cortex-m0plus", - "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "extra_flags": "-D ARDUINO_CHALLENGER_NB_2040_WIFI_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 -DWIFIESPAT2", "f_cpu": "133000000L", "hwids": [ [ @@ -18,7 +18,7 @@ ], [ "0x2E8A", - "0x100B" + "0x100D" ] ], "mcu": "rp2040", diff --git a/boards/electroniccats_bombercat.json b/boards/electroniccats_bombercat.json new file mode 100644 index 0000000..a8cbd12 --- /dev/null +++ b/boards/electroniccats_bombercat.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x1209", + "usb_pid": "0x1209" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_ELECTRONICCATS_BOMBERCAT -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x1209", + "0x1209" + ] + ], + "mcu": "rp2040", + "variant": "electroniccats_bombercat" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "HunterCat NFC 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": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "ElectronicCats" +} diff --git a/boards/extelec_rc2040.json b/boards/extelec_rc2040.json new file mode 100644 index 0000000..ca2f3c8 --- /dev/null +++ b/boards/extelec_rc2040.json @@ -0,0 +1,54 @@ +{ + "build": { + "arduino": { + "earlephilhower": { + "boot2_source": "boot2_w25q080_2_padded_checksum.S", + "usb_vid": "0x2E8A", + "usb_pid": "0xEE20" + } + }, + "core": "earlephilhower", + "cpu": "cortex-m0plus", + "extra_flags": "-D ARDUINO_EXTREMEELEXTRONICS_RC2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250", + "f_cpu": "133000000L", + "hwids": [ + [ + "0x2E8A", + "0x00C0" + ], + [ + "0x2E8A", + "0xEE20" + ] + ], + "mcu": "rp2040", + "variant": "extelec_rc2040" + }, + "debug": { + "jlink_device": "RP2040_M0_0", + "openocd_target": "rp2040.cfg", + "svd_path": "rp2040.svd" + }, + "frameworks": [ + "arduino" + ], + "name": "RC2040", + "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": [ + "cmsis-dap", + "jlink", + "raspberrypi-swd", + "picotool", + "picoprobe" + ] + }, + "url": "https://www.raspberrypi.org/products/raspberry-pi-pico/", + "vendor": "ExtremeElectronics" +} diff --git a/platform.json b/platform.json index 37521cf..4133aa2 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#1812b829dcbb89b3dffa3864dc552c23d4c03bc9" + "version": "https://github.com/earlephilhower/arduino-pico.git#91b4bdb58f5f1ed7bdcd6b27a1eebc2d6f5a4056" }, "tool-rp2040tools": { "type": "uploader",