mirror of https://github.com/ARMmbed/mbed-os.git
LPC546XX: Add pins to LPCXpresso restricted list
FPGA GPIO tests cannot be run on certain pins Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>pull/11002/head
parent
28eb39c724
commit
58ba83b6e4
|
@ -18,6 +18,7 @@
|
|||
#include "fsl_emc.h"
|
||||
#include "fsl_power.h"
|
||||
#include "fsl_flashiap.h"
|
||||
#include "hal/pinmap.h"
|
||||
|
||||
#define CRC16
|
||||
#include "crc.h"
|
||||
|
@ -186,3 +187,17 @@ uint32_t qspi_get_freq(void)
|
|||
return CLOCK_GetFroHfFreq();
|
||||
}
|
||||
|
||||
const PinList *pinmap_restricted_pins()
|
||||
{
|
||||
/* D6 pin is used by the LCD
|
||||
A4 pin is used by the accelerometer */
|
||||
static const PinName pins[] = {
|
||||
D6, A4
|
||||
};
|
||||
static const PinList pin_list = {
|
||||
sizeof(pins) / sizeof(pins[0]),
|
||||
pins
|
||||
};
|
||||
return &pin_list;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue