File tree Expand file tree Collapse file tree 1 file changed +14
-7
lines changed
targets/TARGET_NUVOTON/TARGET_M2351/TARGET_NUMAKER_PFM_M2351 Expand file tree Collapse file tree 1 file changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -135,27 +135,34 @@ typedef enum {
135
135
D5 = PB_2 ,
136
136
D6 = PC_12 ,
137
137
D7 = PC_11 ,
138
- D8 = PA_5 ,
139
- D9 = PA_4 ,
140
- D10 = PA_3 ,
141
- D11 = PA_0 ,
142
- D12 = PA_1 ,
143
- D13 = PA_2 ,
138
+ D8 = PC_9 ,
139
+ D9 = PC_10 ,
140
+ D10 = PF_9 ,
141
+ D11 = PF_6 ,
142
+ D12 = PF_7 ,
143
+ D13 = PF_8 ,
144
144
D14 = PG_3 ,
145
145
D15 = PG_2 ,
146
146
147
- // FIXME: other board-specific naming
147
+ // Other board-specific naming
148
+
148
149
// UART naming
149
150
USBTX = PB_13 ,
150
151
USBRX = PB_12 ,
151
152
STDIO_UART_TX = USBTX ,
152
153
STDIO_UART_RX = USBRX ,
154
+
155
+ // I2C naming
156
+ I2C_SCL = D15 ,
157
+ I2C_SDA = D14 ,
158
+
153
159
// LED naming
154
160
LED1 = PA_10 ,
155
161
LED2 = PA_11 ,
156
162
LED3 = PA_10 , // No real LED. Just for passing ATS.
157
163
LED4 = PA_11 , // No real LED. Just for passing ATS.
158
164
LED_GREEN = LED2 ,
165
+
159
166
// Button naming
160
167
SW2 = PB_0 ,
161
168
SW3 = PB_1 ,
You can’t perform that action at this time.
0 commit comments