Merge pull request #6330 from bcostm/fix_pins_nucleo_l433rc_p

NUCLEO_L433RC_P: fix pins definitions
pull/6401/merge
Cruz Monrreal 2018-03-20 14:56:05 -05:00 committed by GitHub
commit 6cb6dd9e62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 12 deletions

View File

@ -111,7 +111,6 @@ typedef enum {
PC_14 = 0x2E, PC_14 = 0x2E,
PC_15 = 0x2F, PC_15 = 0x2F,
PD_2 = 0x32, PD_2 = 0x32,
#ifdef STM32L433_100PINS // LQFP100 or UFBGA100 versions #ifdef STM32L433_100PINS // LQFP100 or UFBGA100 versions
PD_0 = 0x30, PD_0 = 0x30,
@ -165,10 +164,6 @@ typedef enum {
A3 = PC_2, A3 = PC_2,
A4 = PC_1, A4 = PC_1,
A5 = PC_0, A5 = PC_0,
A6 = PA_7,
A7 = PA_2,
D0 = PA_2, D0 = PA_2,
D1 = PA_3, D1 = PA_3,
D2 = PA_12, D2 = PA_12,
@ -183,6 +178,8 @@ typedef enum {
D11 = PB_15, D11 = PB_15,
D12 = PB_14, D12 = PB_14,
D13 = PB_13, D13 = PB_13,
D14 = PB_7,
D15 = PB_8,
// STDIO for console print // STDIO for console print
#ifdef MBED_CONF_TARGET_STDIO_UART_TX #ifdef MBED_CONF_TARGET_STDIO_UART_TX
@ -197,10 +194,10 @@ typedef enum {
#endif #endif
// Generic signals namings // Generic signals namings
LED1 = PA_5, LED1 = PB_13,
LED2 = PA_5, LED2 = PB_13,
LED3 = PA_5, LED3 = PB_13,
LED4 = PA_5, LED4 = PB_13,
USER_BUTTON = PC_13, USER_BUTTON = PC_13,
BUTTON1 = USER_BUTTON, BUTTON1 = USER_BUTTON,
SERIAL_TX = STDIO_UART_TX, SERIAL_TX = STDIO_UART_TX,
@ -215,7 +212,7 @@ typedef enum {
SPI_CS = D10, SPI_CS = D10,
PWM_OUT = D9, PWM_OUT = D9,
//USB pins // USB pins
USB_DM = PA_11, USB_DM = PA_11,
USB_DP = PA_12, USB_DP = PA_12,
USB_NOE = PA_13, USB_NOE = PA_13,