Skip to content

Commit 869e48d

Browse files
Improvements made to PinNames.h of SDP-K1 board.
PinNames.h: - Removing definition of Status LED. - Redefining SPI and I2C pin names using Arduino pins names.
1 parent 00863c2 commit 869e48d

File tree

1 file changed

+15
-12
lines changed
  • targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F469xI/TARGET_SDP_K1

1 file changed

+15
-12
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F469xI/TARGET_SDP_K1/PinNames.h

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -306,22 +306,25 @@ typedef enum {
306306
// Debug pins
307307
DEBUG_GPIO0 = PG_6,
308308
// Generic signals namings
309-
LED1 = PK_4, // Status LED
310-
LED2 = PK_7, // Red LED
311-
LED3 = PK_6, // Orange LED
312-
LED4 = PK_5, // Green LED
313-
AWAKE = PK_3,
309+
LED1 = PK_7, // Red LED
310+
LED2 = PK_6, // Orange LED
311+
LED3 = PK_5, // Green LED
312+
LED_RED = LED1,
313+
LED_ORANGE = LED2,
314+
LED_GREEN = LED3,
314315
SERIAL_TX = STDIO_UART_TX,
315316
SERIAL_RX = STDIO_UART_RX,
316317
USBTX = STDIO_UART_TX,
317318
USBRX = STDIO_UART_RX,
318-
I2C_SCL = PB_8,
319-
I2C_SDA = PB_7,
320-
SPI_MOSI = PA_7,
321-
SPI_MISO = PB_4,
322-
SPI_SCK = PB_3,
323-
SPI_CS = PA_15, // SPI pins to Arduino connector
324-
319+
320+
// SPI and I2C pins on Arduino connector
321+
SPI_CS = D10,
322+
SPI_MOSI = D11,
323+
SPI_MISO = D12,
324+
SPI_SCK = D13,
325+
I2C_SDA = D14,
326+
I2C_SCL = D15,
327+
325328
// Adding these signals for the SDP connector
326329
SDP_SPI_MOSI = PF_9, // SDP Connector for SPI lines
327330
SDP_SPI_MISO = PF_8,

0 commit comments

Comments
 (0)