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
72148ffe
Unverified
Commit
72148ffe
authored
Apr 19, 2024
by
Earle F. Philhower, III
Committed by
GitHub
Apr 19, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Sparkfun RP2040 MicroMod (#2111)
Fix #2094
parent
074b9523
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
345 additions
and
0 deletions
+345
-0
boards.txt
boards.txt
+302
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/makeboards.py
tools/makeboards.py
+1
-0
variants/sparkfun_micromodrp2040/pins_arduino.h
variants/sparkfun_micromodrp2040/pins_arduino.h
+39
-0
No files found.
boards.txt
View file @
72148ffe
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
72148ffe
...
...
@@ -185,6 +185,9 @@
{
"name"
:
"Solder Party RP2040 Stamp"
},
{
"name"
:
"SparkFun MicroMod RP2040"
},
{
"name"
:
"SparkFun ProMicro RP2040"
},
...
...
tools/makeboards.py
View file @
72148ffe
...
...
@@ -442,6 +442,7 @@ MakeBoard("silicognition_rp2040_shim", "Silicognition", "RP2040-Shim", "0x1209",
MakeBoard
(
"solderparty_rp2040_stamp"
,
"Solder Party"
,
"RP2040 Stamp"
,
"0x1209"
,
"0xa182"
,
500
,
"SOLDERPARTY_RP2040_STAMP"
,
8
,
"boot2_generic_03h_4_padded_checksum"
)
# SparkFun
MakeBoard
(
"sparkfun_micromodrp2040"
,
"SparkFun"
,
"MicroMod RP2040"
,
"0x1b4f"
,
"0x0026"
,
250
,
"SPARKFUN_MICROMOD_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"sparkfun_promicrorp2040"
,
"SparkFun"
,
"ProMicro RP2040"
,
"0x1b4f"
,
"0x0026"
,
250
,
"SPARKFUN_PROMICRO_RP2040"
,
16
,
"boot2_generic_03h_4_padded_checksum"
)
MakeBoard
(
"sparkfun_thingplusrp2040"
,
"SparkFun"
,
"Thing Plus RP2040"
,
"0x1b4f"
,
"0x0026"
,
250
,
"SPARKFUN_THINGPLUS_RP2040"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/sparkfun_micromodrp2040/pins_arduino.h
0 → 100644
View file @
72148ffe
#pragma once
// Taken from schematic at https://cdn.sparkfun.com/assets/e/2/7/6/b/ProMicroRP2040_Graphical_Datasheet.pdf
// Changes to match https://cdn.sparkfun.com/assets/1/6/f/a/2/MicroMod_General_Pinout_v10_Graphical_Datasheet.pdf
// LEDs
#define PIN_LED (25u)
#define PIN_NEOPIXEL (31)
#define NUM_NEOPIXEL (0)
// UARTs
#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 (23u)
#define PIN_SPI0_SCK (22u)
#define PIN_SPI0_SS (21u)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (15u)
#define PIN_SPI1_SCK (14u)
#define PIN_SPI1_SS (9u) // not pinned out
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (31u)
#define PIN_WIRE1_SCL (31u)
#define SERIAL_HOWMANY (3u)
#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