File tree 2 files changed +10
-2
lines changed
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,8 @@ static const uint8_t A7 = PIN_A7;
92
92
#define SPI_HOWMANY 2
93
93
94
94
#define PIN_SPI_MOSI 8
95
- #define PIN_SPI_MISO 9
96
- #define PIN_SPI_SCK 10
95
+ #define PIN_SPI_MISO 10
96
+ #define PIN_SPI_SCK 9
97
97
#define PIN_SPI_CS 7
98
98
#define IS_SPI_SCI 1
99
99
@@ -107,6 +107,7 @@ static const uint8_t MOSI = PIN_SPI_MOSI;
107
107
static const uint8_t MISO = PIN_SPI_MISO ;
108
108
static const uint8_t SCK = PIN_SPI_SCK ;
109
109
static const uint8_t CS = PIN_SPI_CS ;
110
+ static const uint8_t SS = PIN_SPI_CS ;
110
111
111
112
/****** CAN CORE DEFINES ******/
112
113
Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ const uint16_t P311_b[] = {
17
17
};
18
18
#define P311 P311_b
19
19
20
+ const uint16_t P204_b[] = {
21
+ PIN_PWM|CHANNEL_4|PWM_CHANNEL_B|GPT_ODD_CFG,
22
+ SCI_CHANNEL|PIN_SCK|CHANNEL_4|SCI_EVEN_CFG,
23
+ PIN_SCK|CHANNEL_0|LAST_ITEM_GUARD
24
+ };
25
+ #define P204 P204_b
26
+
20
27
uint16_t getPinCfg (const uint16_t *cfg, PinCfgReq_t req, bool prefer_sci /* = false*/ ) {
21
28
if (cfg == nullptr ) {
22
29
return 0 ;
You can’t perform that action at this time.
0 commit comments