Skip to content

Commit 96dac4f

Browse files
committed
[M487] Exclude A2/A3 from testing for NuMaker-IoT-M487 V1.3
Since NuMaker-IoT-M487 V1.3, A2/A3 are dedicated to on-board ESP8266 WiFi module RTS/CTS pins and so must exclude from FPGA CI testing.
1 parent c99c43c commit 96dac4f

File tree

1 file changed

+16
-0
lines changed
  • targets/TARGET_NUVOTON/TARGET_M480

1 file changed

+16
-0
lines changed

targets/TARGET_NUVOTON/TARGET_M480/pinmap.c

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,22 @@ void pin_mode(PinName pin, PinMode mode)
8282
*/
8383
}
8484

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+
85101
/* List of peripherals excluded from testing */
86102
const PeripheralList *pinmap_restricted_peripherals()
87103
{

0 commit comments

Comments
 (0)