File tree 1 file changed +8
-7
lines changed
targets/TARGET_Maxim/TARGET_MAX32670/TARGET_XDOT_MAX32670
1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ typedef enum {
83
83
84
84
// ----- Start of xDot external pin definitions -----
85
85
WAKE = P0_19 ,
86
- LED1 = P0_30 ,
87
86
GPIO0 = P0_30 ,
88
87
GPIO1 = P0_27 ,
89
88
GPIO2 = P0_26 ,
@@ -111,18 +110,12 @@ typedef enum {
111
110
// I2C
112
111
I2C1_SCL = P0_12 ,
113
112
I2C1_SDA = P0_13 ,
114
- I2C_SCL = I2C1_SCL ,
115
- I2C_SDA = I2C1_SDA ,
116
113
117
114
// SPI
118
115
SPI0_SCK = P0_4 ,
119
116
SPI0_MOSI = P0_3 ,
120
117
SPI0_MISO = P0_2 ,
121
118
SPI0_SS = P0_5 ,
122
- SPI_MISO = SPI0_MISO ,
123
- SPI_MOSI = SPI0_MOSI ,
124
- SPI_SCK = SPI0_SCK ,
125
- SPI_NSS = SPI0_SS ,
126
119
// ----- End of xDot external pin definitions -----
127
120
128
121
// ----- Start of xDot dedicated internal pins. -----
@@ -169,6 +162,14 @@ typedef enum {
169
162
NC = NOT_CONNECTED
170
163
} PinName ;
171
164
165
+ #define LED1 P0_30
166
+ #define I2C_SCL I2C1_SCL
167
+ #define I2C_SDA I2C1_SDA
168
+ #define SPI_MISO SPI0_MISO
169
+ #define SPI_MOSI SPI0_MOSI
170
+ #define SPI_SCK SPI0_SCK
171
+ #define SPI_NSS SPI0_SS
172
+
172
173
typedef enum {
173
174
PullNone = 0 ,
174
175
PullUp = 1 ,
You can’t perform that action at this time.
0 commit comments