We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1455e4b commit 2d93f50Copy full SHA for 2d93f50
targets/TARGET_NUVOTON/TARGET_M480/pinmap.c
@@ -82,6 +82,22 @@ void pin_mode(PinName pin, PinMode mode)
82
*/
83
}
84
85
+/* List of pins excluded from testing */
86
+const PinList *pinmap_restricted_pins()
87
+{
88
+ static const PinName pins[] = {
89
+ USBTX, USBRX, // Dedicated to USB VCOM
90
+#if defined(TARGET_NUMAKER_IOT_M487)
91
+ A2, A3, // Dedicated to on-board ESP8266 WiFi module RTS/CTS
92
+#endif
93
+ };
94
+ static const PinList pin_list = {
95
+ sizeof(pins) / sizeof(pins[0]),
96
+ pins
97
98
+ return &pin_list;
99
+}
100
+
101
/* List of peripherals excluded from testing */
102
const PeripheralList *pinmap_restricted_peripherals()
103
{
0 commit comments