We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28eb39c commit 1aafdfaCopy full SHA for 1aafdfa
targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_MCU_LPC546XX/TARGET_LPCXpresso/mbed_overrides.c
@@ -18,6 +18,7 @@
18
#include "fsl_emc.h"
19
#include "fsl_power.h"
20
#include "fsl_flashiap.h"
21
+#include "hal/pinmap.h"
22
23
#define CRC16
24
#include "crc.h"
@@ -186,3 +187,17 @@ uint32_t qspi_get_freq(void)
186
187
return CLOCK_GetFroHfFreq();
188
}
189
190
+const PinList *pinmap_restricted_pins()
191
+{
192
+ /* D6 pin is used by the LCD
193
+ A4 pin is used by the accelerometer */
194
+ static const PinName pins[] = {
195
+ D6, A4
196
+ };
197
+ static const PinList pin_list = {
198
+ sizeof(pins) / sizeof(pins[0]),
199
+ pins
200
201
+ return &pin_list;
202
+}
203
+
0 commit comments