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
80196d57
Unverified
Commit
80196d57
authored
Jul 20, 2024
by
deltaford
Committed by
GitHub
Jul 20, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Pintronix PinMax board (#2286)
parent
1f71135a
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
316 additions
and
0 deletions
+316
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+222
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/pintronix_pinmax.json
tools/json/pintronix_pinmax.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+3
-0
variants/pintronix_pinmax/pins_arduino.h
variants/pintronix_pinmax/pins_arduino.h
+31
-0
No files found.
README.md
View file @
80196d57
...
@@ -65,6 +65,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
...
@@ -65,6 +65,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
*
Pimoroni PGA2040
*
Pimoroni PGA2040
*
Pimoroni Plasma2040
*
Pimoroni Plasma2040
*
Pimoroni Tiny2040
*
Pimoroni Tiny2040
*
Pintronix PinMax
*
RAKwireless RAK11300
*
RAKwireless RAK11300
*
Redscorp RP2040-Eins
*
Redscorp RP2040-Eins
*
Redscorp RP2040-ProMini
*
Redscorp RP2040-ProMini
...
...
boards.txt
View file @
80196d57
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
80196d57
...
@@ -206,6 +206,9 @@
...
@@ -206,6 +206,9 @@
{
{
"name"
:
"Pimoroni Tiny2040"
"name"
:
"Pimoroni Tiny2040"
},
},
{
"name"
:
"Pintronix PinMax"
},
{
{
"name"
:
"RAKwireless RAK11300"
"name"
:
"RAKwireless RAK11300"
},
},
...
...
tools/json/pintronix_pinmax.json
0 → 100644
View file @
80196d57
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_w25q080_2_padded_checksum.S"
,
"usb_vid"
:
"0x2E8A"
,
"usb_pid"
:
"0x9101"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_PINTRONIX_PINMAX -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0x9101"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"pintronix_pinmax"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"PinMax"
,
"upload"
:
{
"maximum_ram_size"
:
270336
,
"maximum_size"
:
4194304
,
"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"
:
"Pintronix"
}
tools/makeboards.py
View file @
80196d57
...
@@ -487,6 +487,9 @@ MakeBoard("pimoroni_pga2040", "Pimoroni", "PGA2040", "0x2e8a", "0x1008", 250, "P
...
@@ -487,6 +487,9 @@ MakeBoard("pimoroni_pga2040", "Pimoroni", "PGA2040", "0x2e8a", "0x1008", 250, "P
MakeBoard
(
"pimoroni_plasma2040"
,
"Pimoroni"
,
"Plasma2040"
,
"0x2e8a"
,
"0x100a"
,
500
,
"PIMORONI_PLASMA2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"pimoroni_plasma2040"
,
"Pimoroni"
,
"Plasma2040"
,
"0x2e8a"
,
"0x100a"
,
500
,
"PIMORONI_PLASMA2040"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
MakeBoard
(
"pimoroni_tiny2040"
,
"Pimoroni"
,
"Tiny2040"
,
"0x2e8a"
,
"0x100a"
,
500
,
"PIMORONI_TINY2040"
,
2
,
"boot2_w25q64jv_4_padded_checksum"
)
MakeBoard
(
"pimoroni_tiny2040"
,
"Pimoroni"
,
"Tiny2040"
,
"0x2e8a"
,
"0x100a"
,
500
,
"PIMORONI_TINY2040"
,
2
,
"boot2_w25q64jv_4_padded_checksum"
)
#Pintronix
MakeBoard
(
"pintronix_pinmax"
,
"Pintronix"
,
"PinMax"
,
"0x2e8a"
,
"0x9101"
,
250
,
"PINTRONIX_PINMAX"
,
4
,
"boot2_w25q080_2_padded_checksum"
)
# RAKwireless
# RAKwireless
MakeBoard
(
"rakwireless_rak11300"
,
"RAKwireless"
,
"RAK11300"
,
"0x2e8a"
,
"0x00c0"
,
500
,
"RAKWIRELESS_RAK11300"
,
2
,
"boot2_w25q16jvxq_4_padded_checksum"
,
None
,
"https://store.rakwireless.com/products/wisduo-lpwan-module-rak11300"
)
MakeBoard
(
"rakwireless_rak11300"
,
"RAKwireless"
,
"RAK11300"
,
"0x2e8a"
,
"0x00c0"
,
500
,
"RAKWIRELESS_RAK11300"
,
2
,
"boot2_w25q16jvxq_4_padded_checksum"
,
None
,
"https://store.rakwireless.com/products/wisduo-lpwan-module-rak11300"
)
...
...
variants/pintronix_pinmax/pins_arduino.h
0 → 100644
View file @
80196d57
#pragma once
// Pin definitions taken from:
// https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
// LEDs
#define PIN_LED (27u)
// 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 (16u)
#define PIN_SPI0_MOSI (19u)
#define PIN_SPI0_SCK (18u)
#define PIN_SPI0_SS (17u)
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#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