[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.
pull/11152/head
Chun-Chieh Li 2019-08-06 16:53:29 +08:00
parent c99c43cacd
commit 96dac4faa7
1 changed files with 16 additions and 0 deletions

View File

@ -82,6 +82,22 @@ void pin_mode(PinName pin, PinMode mode)
*/
}
/* List of pins excluded from testing */
const PinList *pinmap_restricted_pins()
{
static const PinName pins[] = {
USBTX, USBRX, // Dedicated to USB VCOM
#if defined(TARGET_NUMAKER_IOT_M487)
A2, A3, // Dedicated to on-board ESP8266 WiFi module RTS/CTS
#endif
};
static const PinList pin_list = {
sizeof(pins) / sizeof(pins[0]),
pins
};
return &pin_list;
}
/* List of peripherals excluded from testing */
const PeripheralList *pinmap_restricted_peripherals()
{