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
608a5da4
Unverified
Commit
608a5da4
authored
Sep 19, 2021
by
Leonardo La Rocca
Committed by
GitHub
Sep 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds board variant definition for Melopero Shake RP2040 (#318)
parent
3df3f074
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
626 additions
and
0 deletions
+626
-0
boards.txt
boards.txt
+583
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/makeboards.py
tools/makeboards.py
+1
-0
variants/melopero_shake_rp2040/pins_arduino.h
variants/melopero_shake_rp2040/pins_arduino.h
+39
-0
No files found.
boards.txt
View file @
608a5da4
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
608a5da4
...
...
@@ -44,6 +44,9 @@
{
"name"
:
"SparkFun ProMicro RP2040"
},
{
"name"
:
"Melopero Shake RP2040"
},
{
"name"
:
"Generic RP2040 Module"
}
...
...
tools/makeboards.py
View file @
608a5da4
...
...
@@ -145,3 +145,4 @@ MakeBoard("sparkfun_promicrorp2040", "SparkFun", "ProMicro RP2040", "0x1b4f", "0
MakeBoard
(
"generic"
,
"Generic"
,
"RP2040"
,
"0x2e8a"
,
"0xf00a"
,
"GENERIC_RP2040"
,
16
,
"boot2_generic_03h_4_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
(
"melopero_shake_rp2040"
,
"Melopero"
,
"Shake RP2040"
,
"0x2e8a"
,
"0x1005"
,
"MELOPERO_SHAKE_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
variants/melopero_shake_rp2040/pins_arduino.h
0 → 100644
View file @
608a5da4
#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 (20u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (1u)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (11u)
#define PIN_SPI1_SCK (10u)
#define PIN_SPI1_SS (13u)
// Wire
#define PIN_WIRE0_SDA (8u)
#define PIN_WIRE0_SCL (9u)
#define PIN_WIRE1_SDA (2u)
#define PIN_WIRE1_SCL (3u)
#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