Skip to content

Commit 184e58d

Browse files
authored
Merge pull request #2704 from jeromecoutant/PR_DISCO_L476VG_SPI
DISCO_L476VG: add SPI nicknames
2 parents 6b8774f + 0b25fd5 commit 184e58d

File tree

1 file changed

+8
-0
lines changed
  • hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG

1 file changed

+8
-0
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32L4/TARGET_DISCO_L476VG/PinNames.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,14 @@ typedef enum {
182182
USBTX = PD_5,
183183
USBRX = PD_6,
184184

185+
I2C_SCL = PB_8,
186+
I2C_SDA = PB_9,
187+
SPI_MOSI = PA_7,
188+
SPI_MISO = PA_6,
189+
SPI_SCK = PA_5,
190+
SPI_CS = PA_4,
191+
PWM_OUT = PB_3,
192+
185193
// Not connected
186194
NC = (int)0xFFFFFFFF
187195
} PinName;

0 commit comments

Comments
 (0)