File tree Expand file tree Collapse file tree 2 files changed +68
-2
lines changed Expand file tree Collapse file tree 2 files changed +68
-2
lines changed Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
#define PICO_RP2350A 0 // RP2350B
3
- #include "../rpipico2/pins_arduino.h"
3
+
4
+ // LEDs
5
+ #define PIN_LED (25u)
6
+
7
+ // Serial
8
+ #define PIN_SERIAL1_TX (0u)
9
+ #define PIN_SERIAL1_RX (1u)
10
+
11
+ #define PIN_SERIAL2_TX (8u)
12
+ #define PIN_SERIAL2_RX (9u)
13
+
14
+ // SPI
15
+ #define PIN_SPI0_MISO (16u)
16
+ #define PIN_SPI0_MOSI (19u)
17
+ #define PIN_SPI0_SCK (18u)
18
+ #define PIN_SPI0_SS (17u)
19
+
20
+ #define PIN_SPI1_MISO (12u)
21
+ #define PIN_SPI1_MOSI (15u)
22
+ #define PIN_SPI1_SCK (14u)
23
+ #define PIN_SPI1_SS (13u)
24
+
25
+ // Wire
26
+ #define PIN_WIRE0_SDA (4u)
27
+ #define PIN_WIRE0_SCL (5u)
28
+
29
+ #define PIN_WIRE1_SDA (26u)
30
+ #define PIN_WIRE1_SCL (27u)
31
+
32
+ #define SERIAL_HOWMANY (3u)
33
+ #define SPI_HOWMANY (2u)
34
+ #define WIRE_HOWMANY (2u)
35
+
36
+ #include "../generic/common.h"
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
#define PICO_RP2350A 0 // RP2350B
3
3
#define RP2350_PSRAM_CS 8
4
- #include "../rpipico2/pins_arduino.h"
4
+
5
+ // LEDs
6
+ #define PIN_LED (25u)
7
+
8
+ // Serial
9
+ #define PIN_SERIAL1_TX (0u)
10
+ #define PIN_SERIAL1_RX (1u)
11
+
12
+ #define PIN_SERIAL2_TX (8u)
13
+ #define PIN_SERIAL2_RX (9u)
14
+
15
+ // SPI
16
+ #define PIN_SPI0_MISO (16u)
17
+ #define PIN_SPI0_MOSI (19u)
18
+ #define PIN_SPI0_SCK (18u)
19
+ #define PIN_SPI0_SS (17u)
20
+
21
+ #define PIN_SPI1_MISO (12u)
22
+ #define PIN_SPI1_MOSI (15u)
23
+ #define PIN_SPI1_SCK (14u)
24
+ #define PIN_SPI1_SS (13u)
25
+
26
+ // Wire
27
+ #define PIN_WIRE0_SDA (4u)
28
+ #define PIN_WIRE0_SCL (5u)
29
+
30
+ #define PIN_WIRE1_SDA (26u)
31
+ #define PIN_WIRE1_SCL (27u)
32
+
33
+ #define SERIAL_HOWMANY (3u)
34
+ #define SPI_HOWMANY (2u)
35
+ #define WIRE_HOWMANY (2u)
36
+
37
+ #include "../generic/common.h"
You can’t perform that action at this time.
0 commit comments