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
3d821f73
Unverified
Commit
3d821f73
authored
Oct 29, 2021
by
uPesy Electronics
Committed by
GitHub
Oct 29, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add board variant for uPesy RP2040 DevKit (#335)
parent
1726f56a
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
410 additions
and
0 deletions
+410
-0
boards.txt
boards.txt
+367
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/makeboards.py
tools/makeboards.py
+1
-0
variants/upesy_rp2040_devkit/pins_arduino.h
variants/upesy_rp2040_devkit/pins_arduino.h
+39
-0
No files found.
boards.txt
View file @
3d821f73
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
3d821f73
...
@@ -50,6 +50,9 @@
...
@@ -50,6 +50,9 @@
{
{
"name"
:
"Melopero Shake RP2040"
"name"
:
"Melopero Shake RP2040"
},
},
{
"name"
:
"uPesy RP2040 DevKit"
},
{
{
"name"
:
"Generic RP2040 Module"
"name"
:
"Generic RP2040 Module"
}
}
...
...
tools/makeboards.py
View file @
3d821f73
...
@@ -155,3 +155,4 @@ MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", "GENERIC_RP2040",
...
@@ -155,3 +155,4 @@ MakeBoard("generic", "Generic", "RP2040", "0x2e8a", "0xf00a", "GENERIC_RP2040",
MakeBoard
(
"challenger_2040_wifi"
,
"iLabs"
,
"Challenger 2040 WiFi"
,
"0x2e8a"
,
"0x1006"
,
"CHALLENGER_2040_WIFI_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"challenger_2040_wifi"
,
"iLabs"
,
"Challenger 2040 WiFi"
,
"0x2e8a"
,
"0x1006"
,
"CHALLENGER_2040_WIFI_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"challenger_2040_lte"
,
"iLabs"
,
"Challenger 2040 LTE"
,
"0x2e8a"
,
"0x100b"
,
"CHALLENGER_2040_LTE_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"challenger_2040_lte"
,
"iLabs"
,
"Challenger 2040 LTE"
,
"0x2e8a"
,
"0x100b"
,
"CHALLENGER_2040_LTE_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"melopero_shake_rp2040"
,
"Melopero"
,
"Shake RP2040"
,
"0x2e8a"
,
"0x1005"
,
"MELOPERO_SHAKE_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"melopero_shake_rp2040"
,
"Melopero"
,
"Shake RP2040"
,
"0x2e8a"
,
"0x1005"
,
"MELOPERO_SHAKE_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"upesy_rp2040_devkit"
,
"uPesy"
,
"RP2040 DevKit"
,
"0x2e8a"
,
"0x1007"
,
"UPESY_RP2040_DEVKIT"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
variants/upesy_rp2040_devkit/pins_arduino.h
0 → 100644
View file @
3d821f73
#pragma once
// Pin definitions taken from:
// https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
// LEDs
#define PIN_LED (25u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
#define PIN_SERIAL2_TX (8u)
#define PIN_SERIAL2_RX (9u)
// SPI
#define PIN_SPI0_MISO (16u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (17u)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (15u)
#define PIN_SPI1_SCK (14u)
#define PIN_SPI1_SS (13u)
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (22u)
#define PIN_WIRE1_SCL (23u)
#define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (2u)
#define WIRE_HOWMANY (2u)
#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