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 c9fb405 commit f551341Copy full SHA for f551341
targets/TARGET_NUVOTON/TARGET_M251/pinmap.c
@@ -19,6 +19,7 @@
19
#include "mbed_assert.h"
20
#include "pinmap.h"
21
#include "PortNames.h"
22
+#include "PeripheralNames.h"
23
#include "mbed_error.h"
24
25
/**
@@ -82,3 +83,18 @@ void pin_mode(PinName pin, PinMode mode)
82
83
* 2. PushPullOutput/PIN_INPUT
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