Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-pico
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-pico
Commits
eff90838
Unverified
Commit
eff90838
authored
Apr 16, 2022
by
Earle F. Philhower, III
Committed by
GitHub
Apr 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Seeed XAIO RP2040 support (#538)
Fixes #537
parent
784a6ed5
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
434 additions
and
0 deletions
+434
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+379
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/makeboards.py
tools/makeboards.py
+3
-0
variants/seeed_xiao_rp2040/pins_arduino.h
variants/seeed_xiao_rp2040/pins_arduino.h
+48
-0
No files found.
README.md
View file @
eff90838
...
...
@@ -29,6 +29,7 @@ See https://arduino-pico.readthedocs.io/en/latest/ along with the examples for m
*
Invector Labs Challenger RP2040 LoRa
*
Invector Labs RPICO32
*
Melopero Shake RP2040
*
Seeed XIAO RP2040
*
Solder Party RP2040 Stamp
*
SparkFun ProMicro RP2040
*
uPesy RP2040 DevKit
...
...
boards.txt
View file @
eff90838
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
eff90838
...
...
@@ -71,6 +71,9 @@
{
"name"
:
"Invector Labs RPICO32"
},
{
"name"
:
"Seeed XIAO RP2040"
},
{
"name"
:
"Solder Party RP2040 Stamp"
},
...
...
tools/makeboards.py
View file @
eff90838
...
...
@@ -267,6 +267,9 @@ MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0
# Upesy
MakeBoard
(
"upesy_rp2040_devkit"
,
"uPesy"
,
"RP2040 DevKit"
,
"0x2e8a"
,
"0x1007"
,
250
,
"UPESY_RP2040_DEVKIT"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# Seeed
MakeBoard
(
"seeed_xiao_rp2040"
,
"Seeed"
,
"XAIO RP2040"
,
"0x2e8a"
,
"0x000a"
,
250
,
"SEEED_XAIO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# WIZnet
MakeBoard
(
"wiznet_5100s_evb_pico"
,
"WIZnet"
,
"W5100S-EVB-Pico"
,
"0x2e8a"
,
"0x1008"
,
250
,
"WIZNET_5100S_EVB_PICO"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/seeed_xiao_rp2040/pins_arduino.h
0 → 100644
View file @
eff90838
#pragma once
// Pin definitions taken from:
// https://www.seeedstudio.com/XIAO-RP2040-v1-0-p-5026.html
// LEDs
#define PIN_LED (17u)
#define PIN_LED_R (17u)
#define PIN_LED_G (16u)
#define PIN_LED_B (25u)
// NeoPixel
#define PIN_NEOPIXEL (12u)
#define NEOPIXEL_POWER (11u)
// Serial1
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
// Serial2 not pinned out
#define PIN_SERIAL2_TX (31u)
#define PIN_SERIAL2_RX (31u)
// SPI
#define PIN_SPI0_MISO (4u)
#define PIN_SPI0_MOSI (3u)
#define PIN_SPI0_SCK (2u)
#define PIN_SPI0_SS (31u) // not pinned out
// Not pinned out
#define PIN_SPI1_MISO (31u)
#define PIN_SPI1_MOSI (31u)
#define PIN_SPI1_SCK (31u)
#define PIN_SPI1_SS (31u)
// Wire
#define PIN_WIRE0_SDA (6u)
#define PIN_WIRE0_SCL (7u)
// Wire1 not pinned out
#define PIN_WIRE1_SDA (31u)
#define PIN_WIRE1_SCL (31u)
#define SERIAL_HOWMANY (2u)
#define SPI_HOWMANY (1u)
#define WIRE_HOWMANY (1u)
#include "../generic/common.h"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment