File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
variants/hallowing_m0_express Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ static const uint8_t ATN = PIN_ATN;
137
137
/*
138
138
* SPI Interfaces
139
139
*/
140
- #define SPI_INTERFACES_COUNT 1
140
+ #define SPI_INTERFACES_COUNT 2
141
141
142
142
#define PIN_SPI_MISO (28u)
143
143
#define PIN_SPI_MOSI (29u)
@@ -156,13 +156,13 @@ static const uint8_t SCK = PIN_SPI_SCK ;
156
156
#define PIN_SPI1_MOSI (34u)
157
157
#define PIN_SPI1_SCK (35u)
158
158
#define PERIPH_SPI1 sercom4
159
- #define PAD_SPI1_TX SPI_PAD_3_SCK_3
159
+ #define PAD_SPI1_TX SPI_PAD_2_SCK_3
160
160
#define PAD_SPI1_RX SERCOM_RX_PAD_1
161
161
162
162
static const uint8_t SS1 = 36 ;
163
- static const uint8_t MOSI1 = PIN_SPI_MOSI ;
164
- static const uint8_t MISO1 = PIN_SPI_MISO ;
165
- static const uint8_t SCK1 = PIN_SPI_SCK ;
163
+ static const uint8_t MOSI1 = PIN_SPI1_MOSI ;
164
+ static const uint8_t MISO1 = PIN_SPI1_MISO ;
165
+ static const uint8_t SCK1 = PIN_SPI1_SCK ;
166
166
167
167
168
168
/*
You can’t perform that action at this time.
0 commit comments