@@ -125,10 +125,70 @@ const cyhal_gpio_t mapping_gpio_pin[] = {
125125 /* 29 */ P12_4 ,// SDHC_CMD / IO / PWM
126126 /* 30 */ P12_5 ,// SDHC_CLK / IO / PWM
127127
128- // Debugger Serial UART pins (not available on connector)
128+ // Additional pins not available in external connector
129+
130+ // Debugger Serial UART pins
129131
130132 /* 31 */ P5_0 , // DEBUG_UART_RX
131133 /* 32 */ P5_1 , // DEBUG_UART_TX
134+
135+ // IMU Interrupt pins
136+
137+ /* 33 */ P0_4 , // IMU_INT2
138+ /* 34 */ P1_5 , // IMU_INT1
139+
140+ // Magnetometer interrupt pin
141+
142+ /* 35 */ P1_0 , // MAG_INT
143+
144+ // Digital pressure sensor interrupt pin
145+
146+ /* 36 */ P1_4 , // PSEN_INT
147+
148+ // PDM microphone pins
149+
150+ /* 37 */ P10_4 , // PDM_MIC_CLK
151+ /* 38 */ P10_5 , // PDM_MIC_DATA
152+
153+ // Radar sensor pins
154+
155+ /* 39 */ P11_0 , // RSPI_IRQ
156+ /* 40 */ P11_1 , // RXRES_L
157+ /* 41 */ P12_0 , // RSPI_MOSI
158+ /* 42 */ P12_1 , // RSPI_MISO
159+ /* 43 */ P12_2 , // RSPI_SCLK
160+ /* 44 */ P12_3 , // RSPI_CS
161+
162+ // QSPI flash pins
163+
164+ /* 45 */ P11_2 , // QSPI_SEL_L
165+ /* 46 */ P11_3 , // QSPI_DATA3
166+ /* 47 */ P11_4 , // QSPI_DATA2
167+ /* 48 */ P11_5 , // QSPI_DATA1
168+ /* 49 */ P11_6 , // QSPI_DATA0
169+ /* 50 */ P11_7 , // QSPI_CLK
170+
171+ // Bluetooth module power mode pins
172+
173+ /* 51 */ P3_4 , // BT_REG_ON
174+ /* 52 */ P3_5 , // BT_DEV_WAKE
175+ /* 53 */ P4_0 , // BT_HOST_WAKE
176+ /* 54 */ P4_1 , // WL_HOST_WAKE
177+
178+ // Battery charger module pins
179+
180+ /* 55 */ P5_5 , // LBCPP_PG
181+ /* 56 */ P5_6 , // LBCPP_CHG
182+ /* 57 */ P5_7 , // LBCPP_CE
183+ /* 58 */ P6_0 , // LBCPP_EN2
184+ /* 59 */ P6_1 , // LBCPP_EN1
185+ /* 60 */ P6_3 , // LBCPP_ITERM
186+
187+ // USB pins
188+
189+ /* 61 */ P6_2 , // USB_S
190+ /* 62 */ USBDP , // USB_DP
191+ /* 63 */ USBDM , // USB_DM
132192};
133193
134194const uint8_t GPIO_PIN_COUNT = (sizeof (mapping_gpio_pin ) / sizeof (mapping_gpio_pin [0 ])) - 1 ;
0 commit comments