@@ -140,27 +140,27 @@ static const uint8_t A5 = PIN_A5;
140
140
/*
141
141
* Serial interfaces
142
142
*/
143
- #define PIN_SERIAL1_RX D9
144
- #define PIN_SERIAL1_TX D10
145
- #define PIN_SERIAL1_CTS D4
146
- #define PIN_SERIAL1_RTS D3
147
- #define PIN_SERIAL2_RX D5
148
- #define PIN_SERIAL2_TX D4
149
- #define PIN_SERIAL2_CTS D6
150
- #define PIN_SERIAL2_RTS D8
143
+ #define PIN_SERIAL1_RX 9
144
+ #define PIN_SERIAL1_TX 10
145
+ #define PIN_SERIAL1_CTS 4
146
+ #define PIN_SERIAL1_RTS 3
147
+ #define PIN_SERIAL2_RX 5
148
+ #define PIN_SERIAL2_TX 4
149
+ #define PIN_SERIAL2_CTS 6
150
+ #define PIN_SERIAL2_RTS 8
151
151
152
152
/*
153
153
* SPI Interfaces
154
154
*/
155
155
#define SPI_INTERFACES_COUNT 2
156
156
157
- #define PIN_SPI_SS D14
158
- #define PIN_SPI_MISO D11
159
- #define PIN_SPI_MOSI D12
160
- #define PIN_SPI_SCK D13
161
- #define PIN_SPI1_MISO D4
162
- #define PIN_SPI1_MOSI D3
163
- #define PIN_SPI1_SCK D2
157
+ #define PIN_SPI_SS 14
158
+ #define PIN_SPI_MISO 11
159
+ #define PIN_SPI_MOSI 12
160
+ #define PIN_SPI_SCK 13
161
+ #define PIN_SPI1_MISO 4
162
+ #define PIN_SPI1_MOSI 3
163
+ #define PIN_SPI1_SCK 2
164
164
165
165
static const uint8_t SS = PIN_SPI_SS ;
166
166
static const uint8_t MOSI = PIN_SPI_MOSI ;
@@ -175,10 +175,10 @@ static const uint8_t SCK1 = PIN_SPI1_SCK;
175
175
*/
176
176
#define WIRE_INTERFACES_COUNT 2
177
177
178
- #define PIN_WIRE_SDA D0
179
- #define PIN_WIRE_SCL D1
180
- #define PIN_WIRE1_SDA D2
181
- #define PIN_WIRE1_SCL D3
178
+ #define PIN_WIRE_SDA 0
179
+ #define PIN_WIRE_SCL 1
180
+ #define PIN_WIRE1_SDA 2
181
+ #define PIN_WIRE1_SCL 3
182
182
183
183
// On-board QSPI Flash
184
184
#define EXTERNAL_FLASH_DEVICES GD25Q16C
0 commit comments