Skip to content

Commit 49f83c4

Browse files
authored
Add seeed xiao rp2350 board (#2533)
1 parent edba2fa commit 49f83c4

File tree

6 files changed

+446
-0
lines changed

6 files changed

+446
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
8282
* Sea-Picro
8383
* Seeed Indicator RP2040
8484
* Seeed XIAO RP2040
85+
* Seeed XIAO RP2350
8586
* Silicognition RP2040-Shim
8687
* Solder Party RP2040 Stamp
8788
* Solder Party RP2350 Stamp

boards.txt

+335
Large diffs are not rendered by default.

package/package_pico_index.template.json

+3
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,9 @@
290290
{
291291
"name": "Seeed XIAO RP2040"
292292
},
293+
{
294+
"name": "Seeed XIAO RP2350"
295+
},
293296
{
294297
"name": "VCC-GND YD RP2040"
295298
},

tools/json/seeed_xiao_rp2350.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": "0x2886",
7+
"usb_pid": "0x0058"
8+
}
9+
},
10+
"core": "earlephilhower",
11+
"cpu": "cortex-m33",
12+
"extra_flags": "-DARDUINO_SEEED_XIAO_RP2350 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ",
13+
"f_cpu": "150000000L",
14+
"hwids": [
15+
[
16+
"0x2E8A",
17+
"0x00C0"
18+
],
19+
[
20+
"0x2886",
21+
"0x0058"
22+
]
23+
],
24+
"mcu": "rp2350",
25+
"variant": "seeed_xiao_rp2350"
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": "XIAO RP2350",
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.seeedstudio.com/Seeed-XIAO-RP2350-p-5944.html",
55+
"vendor": "Seeed"
56+
}

tools/makeboards.py

+1
Original file line numberDiff line numberDiff line change
@@ -637,6 +637,7 @@ def MakeBoardJSON(name, chip, vendor_name, product_name, vid, pid, pwr, boarddef
637637
# Seeed
638638
MakeBoard("seeed_indicator_rp2040", "rp2040", "Seeed", "INDICATOR RP2040", "0x2886", "0x0050", 250, "SEEED_INDICATOR_RP2040", 2, 0, "boot2_w25q080_2_padded_checksum")
639639
MakeBoard("seeed_xiao_rp2040", "rp2040", "Seeed", "XIAO RP2040", "0x2e8a", "0x000a", 250, "SEEED_XIAO_RP2040", 2, 0, "boot2_w25q080_2_padded_checksum")
640+
MakeBoard("seeed_xiao_rp2350", "rp2350", "Seeed", "XIAO RP2350", "0x2886", "0x0058", 250, "SEEED_XIAO_RP2350", 16, 8, "none", None, "https://www.seeedstudio.com/Seeed-XIAO-RP2350-p-5944.html")
640641

641642
# VCC-GND YD-2040 - Use generic SPI/4 because boards seem to come with varied flash modules but same name
642643
MakeBoard('vccgnd_yd_rp2040', "rp2040", "VCC-GND", "YD RP2040", "0x2e8a", "0x800a", 500, "YD_RP2040", 16, 0, "boot2_generic_03h_4_padded_checksum")
+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
#pragma once
2+
3+
4+
// Pin definitions taken from:
5+
// https://www.seeedstudio.com/Seeed-XIAO-RP2350-p-5944.html
6+
7+
8+
9+
10+
// LEDs
11+
#define PIN_LED (25u)
12+
13+
14+
// Serial
15+
#define PIN_SERIAL1_TX (0u)
16+
#define PIN_SERIAL1_RX (1u)
17+
18+
19+
#define PIN_SERIAL2_TX (20u)
20+
#define PIN_SERIAL2_RX (21u)
21+
22+
23+
// SPI
24+
#define PIN_SPI0_MISO (4u)
25+
#define PIN_SPI0_MOSI (3u)
26+
#define PIN_SPI0_SCK (2u)
27+
#define PIN_SPI0_SS (5u)
28+
29+
30+
#define PIN_SPI1_MISO (12u)
31+
#define PIN_SPI1_MOSI (11u)
32+
#define PIN_SPI1_SCK (10u)
33+
#define PIN_SPI1_SS (9u)
34+
35+
36+
// Wire
37+
#define PIN_WIRE0_SDA (16u)
38+
#define PIN_WIRE0_SCL (17u)
39+
40+
41+
#define PIN_WIRE1_SDA (6u)
42+
#define PIN_WIRE1_SCL (7u)
43+
44+
45+
#define SERIAL_HOWMANY (3u)
46+
#define SPI_HOWMANY (2u)
47+
#define WIRE_HOWMANY (2u)
48+
49+
50+
#include "../generic/common.h"

0 commit comments

Comments
 (0)