Skip to content

Commit 50b9ea9

Browse files
Add Olimex Pico2XL and Pico2XXL (#2868)
Fixes #2820
1 parent beece2e commit 50b9ea9

File tree

8 files changed

+720
-0
lines changed

8 files changed

+720
-0
lines changed

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
7575
* Neko Systems BL2040 Mini
7676
* Newsan Archi
7777
* nullbits Bit-C PRO
78+
* Olimex Pico2XL
79+
* Olimex Pico2XXL
7880
* Olimex RP2040-Pico30
7981
* Pimoroni PGA2040
8082
* Pimoroni Pico Plus 2

Diff for: boards.txt

+592
Large diffs are not rendered by default.

Diff for: package/package_pico_index.template.json

+6
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,12 @@
236236
{
237237
"name": "nullbits Bit-C PRO"
238238
},
239+
{
240+
"name": "Olimex Pico2XL"
241+
},
242+
{
243+
"name": "Olimex Pico2XXL"
244+
},
239245
{
240246
"name": "Olimex RP2040-Pico30"
241247
},

Diff for: tools/json/olimex_pico2xl.json

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"earlephilhower": {
5+
"boot2_source": "none.S",
6+
"usb_vid": "0x15BA",
7+
"usb_pid": "0x0026"
8+
}
9+
},
10+
"core": "earlephilhower",
11+
"cpu": "cortex-m33",
12+
"extra_flags": "-DARDUINO_OLIMEX_PICO2XL -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ",
13+
"f_cpu": "150000000L",
14+
"hwids": [
15+
[
16+
"0x2E8A",
17+
"0x00C0"
18+
],
19+
[
20+
"0x15BA",
21+
"0x0026"
22+
]
23+
],
24+
"mcu": "rp2350",
25+
"variant": "olimex_pico2xl"
26+
},
27+
"debug": {
28+
"jlink_device": "RP2350_0",
29+
"openocd_target": "rp2350.cfg",
30+
"svd_path": "rp2350.svd"
31+
},
32+
"frameworks": [
33+
"arduino"
34+
],
35+
"name": "Pico2XL",
36+
"upload": {
37+
"maximum_ram_size": 524288,
38+
"maximum_size": 2097152,
39+
"require_upload_port": true,
40+
"native_usb": true,
41+
"use_1200bps_touch": true,
42+
"wait_for_upload_port": false,
43+
"protocol": "picotool",
44+
"protocols": [
45+
"blackmagic",
46+
"cmsis-dap",
47+
"jlink",
48+
"raspberrypi-swd",
49+
"picotool",
50+
"picoprobe"
51+
]
52+
},
53+
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
54+
"vendor": "Olimex"
55+
}

Diff for: tools/json/olimex_pico2xxl.json

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"build": {
3+
"arduino": {
4+
"earlephilhower": {
5+
"boot2_source": "none.S",
6+
"usb_vid": "0x15BA",
7+
"usb_pid": "0x0026"
8+
}
9+
},
10+
"core": "earlephilhower",
11+
"cpu": "cortex-m33",
12+
"extra_flags": "-DARDUINO_OLIMEX_PICO2XXL -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=500 ",
13+
"f_cpu": "150000000L",
14+
"hwids": [
15+
[
16+
"0x2E8A",
17+
"0x00C0"
18+
],
19+
[
20+
"0x15BA",
21+
"0x0026"
22+
]
23+
],
24+
"mcu": "rp2350",
25+
"variant": "olimex_pico2xxl"
26+
},
27+
"debug": {
28+
"jlink_device": "RP2350_0",
29+
"openocd_target": "rp2350.cfg",
30+
"svd_path": "rp2350.svd"
31+
},
32+
"frameworks": [
33+
"arduino"
34+
],
35+
"name": "Pico2XXL",
36+
"upload": {
37+
"maximum_ram_size": 524288,
38+
"maximum_size": 16777216,
39+
"require_upload_port": true,
40+
"native_usb": true,
41+
"use_1200bps_touch": true,
42+
"wait_for_upload_port": false,
43+
"protocol": "picotool",
44+
"protocols": [
45+
"blackmagic",
46+
"cmsis-dap",
47+
"jlink",
48+
"raspberrypi-swd",
49+
"picotool",
50+
"picoprobe"
51+
],
52+
"psram_length": 8388608
53+
},
54+
"url": "https://www.raspberrypi.org/products/raspberry-pi-pico/",
55+
"vendor": "Olimex"
56+
}

Diff for: tools/makeboards.py

+2
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,8 @@ def MakeBoardJSON(name, chip, vendor_name, product_name, vid, pid, pwr, boarddef
620620
MakeBoard("nullbits_bit_c_pro", "rp2040", "nullbits", "Bit-C PRO", "0x2e8a", "0x6e61", 500, "NULLBITS_BIT_C_PRO", 4, 0, "boot2_w25x10cl_4_padded_checksum")
621621

622622
# Olimex
623+
MakeBoard("olimex_pico2xl", "rp2350", "Olimex", "Pico2XL", "0x15ba", "0x0026", 250, "OLIMEX_PICO2XL", 2, 0, "none")
624+
MakeBoard("olimex_pico2xxl", "rp2350", "Olimex", "Pico2XXL", "0x15ba", "0x0026", 500, "OLIMEX_PICO2XXL", 16, 8, "none")
623625
MakeBoard("olimex_rp2040pico30", "rp2040", "Olimex", "RP2040-Pico30", "0x15ba", "0x0026", 250, "OLIMEX_RP2040_PICO30", 2, 0, "boot2_w25q080_2_padded_checksum")
624626

625627
# Pimoroni

Diff for: variants/olimex_pico2xl/pins_arduino.h

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#pragma once
2+
#define PICO_RP2350B 1
3+
#include "../rpipico2/pins_arduino.h"

Diff for: variants/olimex_pico2xxl/pins_arduino.h

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#pragma once
2+
#define PICO_RP2350B 1
3+
#define RP2350_PSRAM_CS 8
4+
#include "../rpipico2/pins_arduino.h"

0 commit comments

Comments
 (0)