From a1311f813cde6483bcef6bf38cefa3b470c20f9b Mon Sep 17 00:00:00 2001 From: Maciej Bocianski Date: Mon, 21 Jan 2019 15:43:05 +0100 Subject: [PATCH] ARCH_PRO: add SPI pin definitions --- .../TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h index f0b060d8d9..00a8785f4e 100644 --- a/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h +++ b/targets/TARGET_NXP/TARGET_LPC176X/TARGET_ARCH_PRO/PinNames.h @@ -109,6 +109,12 @@ typedef enum { I2C_SCL = D15, I2C_SDA = D14, + //SPI Pins configuration + SPI_MOSI = P0_9, + SPI_MISO = P0_8, + SPI_SCK = P0_7, + SPI_CS = P0_6, + // Not connected NC = (int)0xFFFFFFFF } PinName;