test

Fork of mbed-dev by mbed official

Revision:
165:289d4deac6e4
Parent:
161:2cc1468da177
diff -r 74e0ce7f98e8 -r 289d4deac6e4 targets/TARGET_ONSEMI/TARGET_NCS36510/PinNames.h
--- a/targets/TARGET_ONSEMI/TARGET_NCS36510/PinNames.h	Fri Apr 28 14:04:18 2017 +0100
+++ b/targets/TARGET_ONSEMI/TARGET_NCS36510/PinNames.h	Wed May 10 12:06:41 2017 +0100
@@ -128,8 +128,14 @@
     LED_YELLOW  = GPIO6,
     LED_BLUE    = GPIO5,
     USER_BUTTON = GPIO7,  /*NEW connection on NCS36510-RF Rev 1.1 - Alias of SW1 */
+
     SW1 = GPIO7,  /*NEW connection on NCS36510-RF Rev 1.1 */
     SW2 = GPIO10,   /*NEW connection on NCS36510-RF Rev 1.1 */
+
+    // Standardized button names
+    BUTTON1 = SW1,
+    BUTTON2 = SW2,
+
     SERIAL_TX   = GPIO0,
     SERIAL_RX   = GPIO1,
     USBTX       = GPIO0,