mirror of https://github.com/ARMmbed/mbed-os.git
Addressed review comments: fixed unmapped switches and added Hexiware buttons
parent
28d1ac5a44
commit
418d83b6c2
|
@ -201,6 +201,11 @@ typedef enum {
|
|||
LED3 = LED_BLUE,
|
||||
LED4 = LED_RED,
|
||||
|
||||
// Standardized button names
|
||||
BUTTON1 = PTA12,
|
||||
BUTTON2 = PTA13,
|
||||
BUTTON3 = PTA15,
|
||||
|
||||
// USB Pins
|
||||
USBTX = PTB17,
|
||||
USBRX = PTB16,
|
||||
|
|
|
@ -128,8 +128,6 @@ typedef enum {
|
|||
SW3 = NOT_CONNECTED,
|
||||
// Standardized button names
|
||||
BUTTON1 = SW1,
|
||||
BUTTON2 = SW2,
|
||||
BUTTON3 = SW3,
|
||||
|
||||
// USB bridge connected UART pins
|
||||
USBTX = P0_1,
|
||||
|
|
|
@ -81,8 +81,6 @@ typedef enum {
|
|||
SW3 = NOT_CONNECTED,
|
||||
// Standardized button names
|
||||
BUTTON1 = SW1,
|
||||
BUTTON2 = SW2,
|
||||
BUTTON3 = SW3,
|
||||
|
||||
// USB bridge connected UART pins
|
||||
USBTX = P2_1,
|
||||
|
|
|
@ -128,10 +128,15 @@ typedef enum {
|
|||
LED_YELLOW = GPIO6,
|
||||
LED_BLUE = GPIO5,
|
||||
USER_BUTTON = GPIO7, /*NEW connection on NCS36510-RF Rev 1.1 - Alias of SW1 */
|
||||
// Standardized button names
|
||||
BUTTON1 = USER_BUTTON,
|
||||
|
||||
SW1 = GPIO7, /*NEW connection on NCS36510-RF Rev 1.1 */
|
||||
SW2 = GPIO10, /*NEW connection on NCS36510-RF Rev 1.1 */
|
||||
|
||||
// Standardized button names
|
||||
BUTTON1 = USER_BUTTON,
|
||||
BUTTON2 = SW1,
|
||||
BUTTON3 = SW2,
|
||||
|
||||
SERIAL_TX = GPIO0,
|
||||
SERIAL_RX = GPIO1,
|
||||
USBTX = GPIO0,
|
||||
|
|
|
@ -144,6 +144,11 @@ typedef enum {
|
|||
USER_BUTTON = JOYSTICK_CENTER,
|
||||
// Standardized button names
|
||||
BUTTON1 = USER_BUTTON,
|
||||
BUTTON2 = JOYSTICK_LEFT,
|
||||
BUTTON3 = JOYSTICK_RIGH,
|
||||
BUTTON4 = JOYSTICK_UP,
|
||||
BUTTON5 = JOYSTICK_DOWN,
|
||||
|
||||
SERIAL_TX = PD_5,
|
||||
SERIAL_RX = PD_6,
|
||||
USBTX = PD_5,
|
||||
|
|
Loading…
Reference in New Issue