Skip to content

Commit 12e4ada

Browse files
Add USER_BUTTON and SPI in file PinNames.h
1 parent 1dadab7 commit 12e4ada

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

targets/TARGET_TT/TARGET_TT_M4G9/PinNames.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ typedef enum {
101101
MBED_CONF_APP_UART0_RX = PE2,
102102

103103
// Switches
104+
USER_BUTTON = PL4,
104105
SW1 = PL4,
105106
SW2 = PL5,
106107
SW3 = PV0,
@@ -112,6 +113,13 @@ typedef enum {
112113
I2C_SDA = SDA,
113114
I2C_SCL = SCL,
114115

116+
// SPI pins
117+
SPI_MOSI = D11,
118+
SPI_MISO = D12,
119+
SPI_SCK = D13,
120+
SPI_CS = D10,
121+
122+
115123
// Not connected
116124
NC = (int)0xFFFFFFFF,
117125
} PinName;

0 commit comments

Comments
 (0)