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
2b640669
Unverified
Commit
2b640669
authored
Aug 27, 2023
by
Andriy Golovnya
Committed by
GitHub
Aug 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added RP2040-ProMini board to the project. (#1674)
parent
9d0f0a8d
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
453 additions
and
0 deletions
+453
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+288
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/redscorp-rp2040-promini.json
tools/json/redscorp-rp2040-promini.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+3
-0
variants/redscorp-rp2040-promini/pins_arduino.h
variants/redscorp-rp2040-promini/pins_arduino.h
+102
-0
No files found.
README.md
View file @
2b640669
...
...
@@ -69,6 +69,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
*
WIZnet W5100S-EVB-Pico
*
WIZnet W5500-EVB-Pico
*
WIZnet WizFi360-EVB-Pico
*
Redscorp RP2040-ProMini
*
Generic (configurable flash, I/O pins)
# Installing via Arduino Boards Manager
...
...
boards.txt
View file @
2b640669
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
2b640669
...
...
@@ -209,6 +209,9 @@
{
"name"
:
"WIZnet W5500-EVB-Pico"
},
{
"name"
:
"redscorp RP2040-ProMini"
},
{
"name"
:
"Generic RP2040"
}
...
...
tools/json/redscorp-rp2040-promini.json
0 → 100644
View file @
2b640669
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2341"
,
"usb_pid"
:
"0x005F"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_REDSCORP_RP2040_PROMINI -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2341"
,
"0x005F"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"redscorp-rp2040-promini"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"RP2040-ProMini"
,
"upload"
:
{
"maximum_ram_size"
:
270336
,
"maximum_size"
:
16777216
,
"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"
:
"redscorp"
}
tools/makeboards.py
View file @
2b640669
...
...
@@ -449,6 +449,9 @@ MakeBoard("wiznet_5100s_evb_pico", "WIZnet", "W5100S-EVB-Pico", "0x2e8a", "0x102
MakeBoard
(
"wiznet_wizfi360_evb_pico"
,
"WIZnet"
,
"WizFi360-EVB-Pico"
,
"0x2e8a"
,
"0x1028"
,
250
,
"WIZNET_WIZFI360_EVB_PICO"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"wiznet_5500_evb_pico"
,
"WIZnet"
,
"W5500-EVB-Pico"
,
"0x2e8a"
,
"0x1029"
,
250
,
"WIZNET_5500_EVB_PICO"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# AG
MakeBoard
(
"redscorp-rp2040-promini"
,
"redscorp"
,
"RP2040-ProMini"
,
"0x2341"
,
[
"0x005f"
,
"0x805f"
,
"0x015f"
,
"0x025f"
]
,
250
,
"REDSCORP_RP2040_PROMINI"
,
16
,
"boot2_w25q080_2_padded_checksum"
)
# Generic
MakeBoard
(
"generic"
,
"Generic"
,
"RP2040"
,
"0x2e8a"
,
"0xf00a"
,
250
,
"GENERIC_RP2040"
,
16
,
"boot2_generic_03h_4_padded_checksum"
)
...
...
variants/redscorp-rp2040-promini/pins_arduino.h
0 → 100644
View file @
2b640669
/* RP2040-ProMini board support
URL: https://github.com/red-scorp/RP2040-ProMini
Based on Arduino Nano Connect configuration */
#pragma once
// Pin definitions taken from:
// https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
static
const
uint8_t
D0
=
(
1u
);
static
const
uint8_t
D1
=
(
0u
);
static
const
uint8_t
D2
=
(
25u
);
static
const
uint8_t
D3
=
(
15u
);
static
const
uint8_t
D4
=
(
16u
);
static
const
uint8_t
D5
=
(
17u
);
static
const
uint8_t
D6
=
(
18u
);
static
const
uint8_t
D7
=
(
19u
);
static
const
uint8_t
D8
=
(
20u
);
static
const
uint8_t
D9
=
(
21u
);
static
const
uint8_t
D10
=
(
5u
);
static
const
uint8_t
D11
=
(
7u
);
static
const
uint8_t
D12
=
(
4u
);
static
const
uint8_t
D13
=
(
6u
);
static
const
uint8_t
D14
=
(
26u
);
static
const
uint8_t
D15
=
(
27u
);
static
const
uint8_t
D16
=
(
28u
);
static
const
uint8_t
D17
=
(
29u
);
static
const
uint8_t
D18
=
(
12u
);
static
const
uint8_t
D19
=
(
13u
);
static
const
uint8_t
D20
=
(
22u
);
static
const
uint8_t
D21
=
(
23u
);
static
const
uint8_t
D22
=
(
2u
);
static
const
uint8_t
D23
=
(
24u
);
static
const
uint8_t
D24
=
(
3u
);
static
const
uint8_t
D25
=
(
8u
);
static
const
uint8_t
D26
=
(
9u
);
static
const
uint8_t
D27
=
(
10u
);
static
const
uint8_t
D28
=
(
11u
);
static
const
uint8_t
D29
=
(
14u
);
static
const
uint8_t
A0
=
(
26u
);
static
const
uint8_t
A1
=
(
27u
);
static
const
uint8_t
A2
=
(
28u
);
static
const
uint8_t
A3
=
(
29u
);
// LEDs
#define PIN_LED (D13)
// Serial
#define PIN_SERIAL1_TX (D1)
#define PIN_SERIAL1_RX (D0)
#define PIN_SERIAL2_TX (D25)
#define PIN_SERIAL2_RX (D26)
#define PIN_SERIAL2_CTS (D27)
#define PIN_SERIAL2_RTS (D28)
// SPI
#define PIN_SPI0_MISO (D12)
#define PIN_SPI0_MOSI (D11)
#define PIN_SPI0_SCK (D13)
#define PIN_SPI0_SS (D10)
#define PIN_SPI1_MISO (D25)
#define PIN_SPI1_MOSI (D28)
#define PIN_SPI1_SCK (D29)
#define PIN_SPI1_SS (D10)
// Wire
#define PIN_WIRE0_SDA (D18)
#define PIN_WIRE0_SCL (D19)
#define PIN_WIRE1_SDA (D14)
#define PIN_WIRE1_SCL (D15)
#define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (2u)
#define WIRE_HOWMANY (1u)
#define PINS_COUNT (30u)
#define NUM_DIGITAL_PINS (30u)
#define NUM_ANALOG_INPUTS (4u)
#define NUM_ANALOG_OUTPUTS (0u)
#define ADC_RESOLUTION (12u)
#define LED_BUILTIN PIN_LED
#define DigitalPinToPinName(p) (p)
static
const
uint8_t
SS
=
PIN_SPI0_SS
;
static
const
uint8_t
MOSI
=
PIN_SPI0_MOSI
;
static
const
uint8_t
MISO
=
PIN_SPI0_MISO
;
static
const
uint8_t
SCK
=
PIN_SPI0_SCK
;
// Some random stuff
#define SERIAL_PORT_USBVIRTUAL SerialUSB
#define SERIAL_PORT_MONITOR SerialUSB
#define SERIAL_PORT_HARDWARE Serial1
#define SERIAL_PORT_HARDWARE_OPEN Serial2
#define CRYPTO_WIRE Wire
#define USB_MAX_POWER (500)
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