mbed library sources modified for open wear

Dependents:   openwear-lifelogger-example

Fork of mbed-src by mbed official

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Wed Aug 20 10:00:06 2014 +0100
Parent:
290:bade01f4d529
Child:
292:bdc8a81aee9a
Commit message:
Synchronized with git revision 4e54e07c4f304d976f549e8d5c9152569507216b

Full URL: https://github.com/mbedmicro/mbed/commit/4e54e07c4f304d976f549e8d5c9152569507216b/

Change pins for RBL nRF51822 board.

Changed in this revision

targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h Show annotated file Show diff for this revision Revisions of this file
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h	Wed Aug 20 09:30:07 2014 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h	Wed Aug 20 10:00:06 2014 +0100
@@ -114,7 +114,8 @@
     // mBed interface Pins
     USBTX = TX_PIN_NUMBER,
     USBRX = RX_PIN_NUMBER,
-        
+
+/*        
     SPI_PSELMOSI0 = p20,
     SPI_PSELMISO0 = p22,
     SPI_PSELSS0 = p24,
@@ -124,43 +125,48 @@
     SPI_PSELMISO1 = p13,
     SPI_PSELSS1 = p14,
     SPI_PSELSCK1 = p15,
-    
-    SPIS_PSELMOSI = p12,
-    SPIS_PSELMISO = p13,
+*/
+
+    SPIS_PSELMOSI = p20,
+    SPIS_PSELMISO = p22,
     SPIS_PSELSS = p14,    
-    SPIS_PSELSCK = p15,
+    SPIS_PSELSCK = p25,
 
-    I2C_SDA0 = p22,
-    I2C_SCL0 = p20,
+    I2C_SDA0 = p29,
+    I2C_SCL0 = p28,
 
+/*
     I2C_SDA1 = p13,
     I2C_SCL1 = p15,
-    
-    D0  = p7,
-    D1  = p8,
-    D2  = p9,
-    D3  = p10,
-    D4  = p11,
-    D5  = p12,
-    D6  = p13,
+*/ 
+   
+    D0  = p11,
+    D1  = p9,
+    D2  = p10,
+    D3  = p8,
+    D4  = p21,
+    D5  = p23,
+    D6  = p16,
     D7  = p17,
     
-    D8  = p18,
-    D9  = p23,
-    D10 = p24,
-    D11 = p25,
-    D12 = p28,
-    D13 = p29,
+    D8  = p19,
+    D9  = p18,
+    D10 = p14,
+    D11 = p12,
+    D12 = p13,
+    D13 = p15,
 
+/*
     D14 = p5,
     D15 = p6,
+*/
 
-    A0  = p1,
-    A1  = p2,
-    A2  = p3,
-    A3  = p4,
-    A4  = p5,
-    A5  = p6,
+    A0  = p6,
+    A1  = p5,
+    A2  = p4,
+    A3  = p3,
+    A4  = p2,
+    A5  = p1,
     
     // Not connected
     NC = (int)0xFFFFFFFF