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 3cb95a8 commit 9aa69d0Copy full SHA for 9aa69d0
targets/TARGET_NUVOTON/TARGET_M261/pinmap.c
@@ -18,6 +18,7 @@
18
#include "mbed_assert.h"
19
#include "pinmap.h"
20
#include "PortNames.h"
21
+#include "PeripheralNames.h"
22
#include "mbed_error.h"
23
24
/**
@@ -83,3 +84,17 @@ void pin_mode(PinName pin, PinMode mode)
83
84
*/
85
}
86
87
+/* List of peripherals excluded from testing */
88
+const PeripheralList *pinmap_restricted_peripherals()
89
+{
90
+ static const int perifs[] = {
91
+ STDIO_UART // Dedicated to USB VCOM
92
+ };
93
+
94
+ static const PeripheralList peripheral_list = {
95
+ sizeof(perifs) / sizeof(perifs[0]),
96
+ perifs
97
98
99
+ return &peripheral_list;
100
+}
0 commit comments