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
341307cb
Unverified
Commit
341307cb
authored
Dec 06, 2021
by
Wai Weng
Committed by
GitHub
Dec 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added new variant: Cytron Maker Nano RP2040. (#365)
parent
85990ff5
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
435 additions
and
0 deletions
+435
-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
+1
-0
variants/cytron_maker_nano_rp2040/pins_arduino.h
variants/cytron_maker_nano_rp2040/pins_arduino.h
+52
-0
No files found.
boards.txt
View file @
341307cb
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
341307cb
...
...
@@ -41,6 +41,9 @@
{
"name"
:
"Arduino Nano RP2040 Connect"
},
{
"name"
:
"Cytron Maker Nano RP2040"
},
{
"name"
:
"Cytron Maker Pi RP2040"
},
...
...
tools/makeboards.py
View file @
341307cb
...
...
@@ -157,6 +157,7 @@ MakeBoard("adafruit_stemmafriend", "Adafruit", "STEMMA Friend RP2040", "0x239a",
MakeBoard
(
"adafruit_trinkeyrp2040qt"
,
"Adafruit"
,
"Trinkey RP2040 QT"
,
"0x239a"
,
"0x8109"
,
"ADAFRUIT_TRINKEYQT_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"adafruit_macropad2040"
,
"Adafruit"
,
"MacroPad RP2040"
,
"0x239a"
,
"0x8107"
,
"ADAFRUIT_MACROPAD_RP2040"
,
8
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"arduino_nano_connect"
,
"Arduino"
,
"Nano RP2040 Connect"
,
"0x2341"
,
"0x0058"
,
"ARDUINO_NANO_RP2040_CONNECT"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_nano_rp2040"
,
"Cytron"
,
"Maker Nano RP2040"
,
"0x2e8a"
,
"0x100f"
,
"CYTRON_MAKER_NANO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_pi_rp2040"
,
"Cytron"
,
"Maker Pi RP2040"
,
"0x2e8a"
,
"0x1000"
,
"CYTRON_MAKER_PI_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"sparkfun_promicrorp2040"
,
"SparkFun"
,
"ProMicro RP2040"
,
"0x1b4f"
,
"0x0026"
,
"SPARKFUN_PROMICRO_RP2040"
,
16
,
"boot2_generic_03h_4_padded_checksum"
)
MakeBoard
(
"generic"
,
"Generic"
,
"RP2040"
,
"0x2e8a"
,
"0xf00a"
,
"GENERIC_RP2040"
,
16
,
"boot2_generic_03h_4_padded_checksum"
)
...
...
variants/cytron_maker_nano_rp2040/pins_arduino.h
0 → 100644
View file @
341307cb
#pragma once
// LEDs
#define PIN_LED (2u)
// Neopixel
#define PIN_NEOPIXEL (11u)
#define NUM_NEOPIXEL (2u)
#define PIN_RGB PIN_NEOPIXEL
// Buzzer
#define PIN_BUZZER (22u)
// Button
#define PIN_BUTTON (20u)
// Serial 1
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
// Serial 2 (Not pinned out)
#define PIN_SERIAL2_TX (31u)
#define PIN_SERIAL2_RX (31u)
// SPI 0
#define PIN_SPI0_MISO (16u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (17u)
// SPI 1 (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 (0u)
#define PIN_WIRE0_SCL (1u)
#define PIN_WIRE1_SDA (26u)
#define PIN_WIRE1_SCL (27u)
#define SERIAL_HOWMANY (1u)
#define SPI_HOWMANY (1u)
#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