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
a475c444
Unverified
Commit
a475c444
authored
Nov 20, 2023
by
Abdullah "Hayri" Kırmızıyüz
Committed by
GitHub
Nov 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Degz Suibo RP2040 board (#1828)
parent
633ac316
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
476 additions
and
0 deletions
+476
-0
README.md
README.md
+1
-0
boards.txt
boards.txt
+298
-0
package/package_pico_index.template.json
package/package_pico_index.template.json
+3
-0
tools/json/degz_suibo.json
tools/json/degz_suibo.json
+56
-0
tools/makeboards.py
tools/makeboards.py
+3
-0
variants/degz_suibo/common.h
variants/degz_suibo/common.h
+76
-0
variants/degz_suibo/pins_arduino.h
variants/degz_suibo/pins_arduino.h
+39
-0
No files found.
README.md
View file @
a475c444
...
...
@@ -31,6 +31,7 @@ Read the [Contributing Guide](https://github.com/earlephilhower/arduino-pico/blo
*
Cytron Maker Pi RP2040
*
Cytron Maker Nano RP2040
*
DatanoiseTV PicoADK+
*
Degz Suibo RP2040
*
DeRuiLab FlyBoard2040 Core
*
DFRobot Beetle RP2040
*
ElectronicCats Hunter Cat NFC
...
...
boards.txt
View file @
a475c444
This diff is collapsed.
Click to expand it.
package/package_pico_index.template.json
View file @
a475c444
...
...
@@ -89,6 +89,9 @@
{
"name"
:
"DatanoiseTV PicoADK"
},
{
"name"
:
"Degz Robotics Suibo RP2040"
},
{
"name"
:
"DeRuiLab FlyBoard2040Core"
},
...
...
tools/json/degz_suibo.json
0 → 100644
View file @
a475c444
{
"build"
:
{
"arduino"
:
{
"earlephilhower"
:
{
"boot2_source"
:
"boot2_generic_03h_4_padded_checksum.S"
,
"usb_vid"
:
"0x2E8A"
,
"usb_pid"
:
"0xF00A"
}
},
"core"
:
"earlephilhower"
,
"cpu"
:
"cortex-m0plus"
,
"extra_flags"
:
"-D ARDUINO_DEGZ_SUIBO_RP2040 -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250"
,
"f_cpu"
:
"133000000L"
,
"hwids"
:
[
[
"0x2E8A"
,
"0x00C0"
],
[
"0x2E8A"
,
"0xF00A"
]
],
"mcu"
:
"rp2040"
,
"variant"
:
"degz_suibo"
},
"debug"
:
{
"jlink_device"
:
"RP2040_M0_0"
,
"openocd_target"
:
"rp2040.cfg"
,
"svd_path"
:
"rp2040.svd"
},
"frameworks"
:
[
"arduino"
],
"name"
:
"Suibo RP2040"
,
"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.degzrobotics.com/suibo"
,
"vendor"
:
"Degz Robotics"
}
tools/makeboards.py
View file @
a475c444
...
...
@@ -374,6 +374,9 @@ MakeBoard("cytron_maker_pi_rp2040", "Cytron", "Maker Pi RP2040", "0x2e8a", "0x10
# DatanoiseTV
MakeBoard
(
"datanoisetv_picoadk"
,
"DatanoiseTV"
,
"PicoADK"
,
"0x2e8a"
,
"0x000a"
,
250
,
"DATANOISETV_PICOADK"
,
2
,
"boot2_w25q080_2_padded_checksum"
)
# Degz Robotics
MakeBoard
(
"degz_suibo"
,
"Degz Robotics"
,
"Suibo RP2040"
,
"0x2e8a"
,
"0xf00a"
,
250
,
"DEGZ_SUIBO_RP2040"
,
16
,
"boot2_generic_03h_4_padded_checksum"
,
board_url
=
"https://www.degzrobotics.com/suibo"
)
# DeRuiLab
MakeBoard
(
"flyboard2040_core"
,
"DeRuiLab"
,
"FlyBoard2040Core"
,
"0x2e8a"
,
"0x008a"
,
500
,
"FLYBOARD2040_CORE"
,
4
,
"boot2_w25q080_2_padded_checksum"
)
...
...
variants/degz_suibo/common.h
0 → 100644
View file @
a475c444
#pragma once
#include <stdint.h>
#define PINS_COUNT (30u)
#define NUM_DIGITAL_PINS (30u)
#define NUM_ANALOG_INPUTS (4u)
#define NUM_ANALOG_OUTPUTS (0u)
#define ADC_RESOLUTION (12u)
#ifdef PIN_LED
#define LED_BUILTIN PIN_LED
#endif
static
const
uint8_t
D0
=
(
0u
);
static
const
uint8_t
D1
=
(
1u
);
static
const
uint8_t
D2
=
(
2u
);
static
const
uint8_t
D3
=
(
3u
);
static
const
uint8_t
D4
=
(
4u
);
static
const
uint8_t
D5
=
(
5u
);
static
const
uint8_t
D6
=
(
6u
);
static
const
uint8_t
D7
=
(
7u
);
static
const
uint8_t
D8
=
(
8u
);
static
const
uint8_t
D9
=
(
9u
);
static
const
uint8_t
D10
=
(
10u
);
static
const
uint8_t
D11
=
(
11u
);
static
const
uint8_t
D12
=
(
12u
);
static
const
uint8_t
D13
=
(
13u
);
static
const
uint8_t
D14
=
(
14u
);
static
const
uint8_t
D15
=
(
15u
);
static
const
uint8_t
D16
=
(
16u
);
static
const
uint8_t
D17
=
(
17u
);
static
const
uint8_t
D18
=
(
18u
);
static
const
uint8_t
D19
=
(
19u
);
static
const
uint8_t
D20
=
(
20u
);
static
const
uint8_t
D21
=
(
21u
);
static
const
uint8_t
D22
=
(
22u
);
static
const
uint8_t
D23
=
(
23u
);
static
const
uint8_t
D24
=
(
24u
);
static
const
uint8_t
D25
=
(
25u
);
static
const
uint8_t
D26
=
(
26u
);
static
const
uint8_t
D27
=
(
27u
);
static
const
uint8_t
D28
=
(
28u
);
static
const
uint8_t
D29
=
(
29u
);
#ifdef __PIN_A0
static
const
uint8_t
A0
=
__PIN_A0
;
#else
static
const
uint8_t
A0
=
(
26u
);
#endif
#ifdef __PIN_A1
static
const
uint8_t
A1
=
__PIN_A1
;
#else
static
const
uint8_t
A1
=
(
27u
);
#endif
#ifdef __PIN_A2
static
const
uint8_t
A2
=
__PIN_A2
;
#else
static
const
uint8_t
A2
=
(
28u
);
#endif
#ifdef __PIN_A3
static
const
uint8_t
A3
=
__PIN_A3
;
#else
static
const
uint8_t
A3
=
(
29u
);
#endif
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
;
static
const
uint8_t
SDA
=
PIN_WIRE0_SDA
;
static
const
uint8_t
SCL
=
PIN_WIRE0_SCL
;
variants/degz_suibo/pins_arduino.h
0 → 100644
View file @
a475c444
#pragma once
// Pin definitions taken from:
// https://datasheets.raspberrypi.org/pico/pico-datasheet.pdf
// LEDs
#define PIN_LED (25u)
// 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)
#define PIN_SPI1_MISO (12u)
#define PIN_SPI1_MOSI (15u)
#define PIN_SPI1_SCK (14u)
#define PIN_SPI1_SS (13u)
// Wire
#define PIN_WIRE0_SDA (4u)
#define PIN_WIRE0_SCL (5u)
#define PIN_WIRE1_SDA (26u)
#define PIN_WIRE1_SCL (27u)
#define SERIAL_HOWMANY (3u)
#define SPI_HOWMANY (2u)
#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