diff --git a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_LPCXpresso/PeripheralPins.c b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_LPCXpresso/PeripheralPins.c index d7b457c41a9..b6364d7ccf2 100644 --- a/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_LPCXpresso/PeripheralPins.c +++ b/targets/TARGET_NXP/TARGET_MCUXpresso_MCUS/TARGET_LPC55S69/TARGET_LPCXpresso/PeripheralPins.c @@ -16,3 +16,24 @@ #include "PeripheralPins.h" #include "PeripheralPinMaps.h" + +// List of GPIOs with limited functionality +const PinList *pinmap_gpio_restricted_pins() +{ + static const PinName pins[] = { + A4, // fixed pull-up (for I2C) + A5, // fixed pull-up (for I2C) + D5, // fixed pull-up (for LED) + D3, // fixed pull-up (for LED) + D4, // fixed pull-up (for LED) + D7, // fixed pull-up + D15, // fixed pull-up (for I2C) + D14 // fixed pull-up (for I2C) + }; + + static const PinList pin_list = { + sizeof(pins) / sizeof(pins[0]), + pins + }; + return &pin_list; +}