Merge pull request #4951 from JanneKiiskila/ublox_odin_buttons

UBLOX_EVK_ODIN_W2- add BUTTON1/2 definitions
pull/4964/merge
Jimmy Brisson 2017-08-29 13:46:10 -05:00 committed by GitHub
commit 82f5ce22f8
1 changed files with 7 additions and 2 deletions

View File

@ -95,7 +95,7 @@ typedef enum {
P_A17 = PD_12, // GPIO-3
P_A18 = PA_3, // UART-DSR
// B
// C
// C
P_C5 = PG_4, // SPI-IRQ
P_C6 = PE_13, // SPI-MISO
P_C8 = PE_12, // Res
@ -153,9 +153,14 @@ typedef enum {
LED1 = PE_0, // Red / Mode
LED2 = PB_6, // Green / Switch-1
LED3 = PB_8, // Blue
LED4 = D10,
LED4 = D10,
SW0 = PF_2, // Switch-0
SW1 = PB_6, // Green / Switch-1
// Standardized button names
BUTTON1 = SW0,
BUTTON2 = SW1,
// ST-Link
USBRX = PA_10,
USBTX = PA_9,