Skip to content

Commit

Permalink
[M487] Exclude A2/A3 from testing for NuMaker-IoT-M487 V1.3
Browse files Browse the repository at this point in the history
Since NuMaker-IoT-M487 V1.3, A2/A3 are dedicated to on-board ESP8266 WiFi
module RTS/CTS and so must exclude from FPGA CI testing.
  • Loading branch information
ccli8 committed Aug 6, 2019
1 parent c8321fd commit 8f4a551
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions targets/TARGET_NUVOTON/TARGET_M480/pinmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 8f4a551

Please sign in to comment.