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
cebdb6c9
Unverified
Commit
cebdb6c9
authored
Nov 24, 2023
by
noqman
Committed by
GitHub
Nov 24, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new board variant: Cytron Maker UNO RP2040 (#1838)
parent
39a2bbd7
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
313 additions
and
0 deletions
+313
-0
boards.txt
boards.txt
+200
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/cytron_maker_uno_rp2040.json
tools/json/cytron_maker_uno_rp2040.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+1
-0
variants/cytron_maker_uno_rp2040/pins_arduino.h
variants/cytron_maker_uno_rp2040/pins_arduino.h
+53
-0
No files found.
boards.txt
View file @
cebdb6c9
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
cebdb6c9
...
@@ -86,6 +86,9 @@
...
@@ -86,6 +86,9 @@
{
{
"name"
:
"Cytron Maker Pi RP2040"
"name"
:
"Cytron Maker Pi RP2040"
},
},
{
"name"
:
"Cytron Maker UNO RP2040"
},
{
{
"name"
:
"DatanoiseTV PicoADK"
"name"
:
"DatanoiseTV PicoADK"
},
},
...
...
tools/json/cytron_maker_uno_rp2040.json
0 → 100644
View file @
cebdb6c9
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2E8A"
,
"usb_pid"
:
"0x1071"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_CYTRON_MAKER_UNO_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x1071"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"cytron_maker_uno_rp2040"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"Maker UNO RP2040"
,
"upload"
:
{
"maximum_ram_size"
:
270336
,
"maximum_size"
:
2097152
,
"require_upload_port"
:
true
,
"native_usb"
:
true
,
"use_1200bps_touch"
:
true
,
"wait_for_upload_port"
:
false
,
"protocol"
:
"picotool"
,
"protocols"
:
[
"blackmagic"
,
"cmsis-dap"
,
"jlink"
,
"raspberrypi-swd"
,
"picotool"
,
"picoprobe"
,
"pico-debug"
]
},
"url"
:
"https://www.raspberrypi.org/products/raspberry-pi-pico/"
,
"vendor"
:
"Cytron"
}
tools/makeboards.py
View file @
cebdb6c9
...
@@ -370,6 +370,7 @@ MakeBoard("bridgetek_idm2040-7a", "BridgeTek", "IDM2040-7A", "0x2e8a", "0x1041",
...
@@ -370,6 +370,7 @@ MakeBoard("bridgetek_idm2040-7a", "BridgeTek", "IDM2040-7A", "0x2e8a", "0x1041",
# Cytron
# Cytron
MakeBoard
(
"cytron_maker_nano_rp2040"
,
"Cytron"
,
"Maker Nano RP2040"
,
"0x2e8a"
,
"0x100f"
,
250
,
"CYTRON_MAKER_NANO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_nano_rp2040"
,
"Cytron"
,
"Maker Nano RP2040"
,
"0x2e8a"
,
"0x100f"
,
250
,
"CYTRON_MAKER_NANO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_pi_rp2040"
,
"Cytron"
,
"Maker Pi RP2040"
,
"0x2e8a"
,
"0x1000"
,
250
,
"CYTRON_MAKER_PI_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_pi_rp2040"
,
"Cytron"
,
"Maker Pi RP2040"
,
"0x2e8a"
,
"0x1000"
,
250
,
"CYTRON_MAKER_PI_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"cytron_maker_uno_rp2040"
,
"Cytron"
,
"Maker UNO RP2040"
,
"0x2e8a"
,
"0x1071"
,
250
,
"CYTRON_MAKER_UNO_RP2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# DatanoiseTV
# DatanoiseTV
MakeBoard
(
"datanoisetv_picoadk"
,
"DatanoiseTV"
,
"PicoADK"
,
"0x2e8a"
,
"0x000a"
,
250
,
"DATANOISETV_PICOADK"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"datanoisetv_picoadk"
,
"DatanoiseTV"
,
"PicoADK"
,
"0x2e8a"
,
"0x000a"
,
250
,
"DATANOISETV_PICOADK"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/cytron_maker_uno_rp2040/pins_arduino.h
0 → 100644
View file @
cebdb6c9
#pragma once
// LEDs
#define PIN_LED (3u)
// Neopixel
#define PIN_NEOPIXEL (25u)
#define NUM_NEOPIXEL (2u)
#define PIN_RGB PIN_NEOPIXEL
// Buzzer
#define PIN_BUZZER (8u)
// Button
#define PIN_BUTTON (2u)
// 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 (12u)
#define PIN_SPI0_MOSI (11u)
#define PIN_SPI0_SCK (10u)
#define PIN_SPI0_SS (13u)
// 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 (20u)
#define PIN_WIRE0_SCL (21u)
#define PIN_WIRE1_SDA (26u)
#define PIN_WIRE1_SCL (27u)
#define SERIAL_HOWMANY (1u)
#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