mbed-src updated for BMD-200 evaluation board. Just pin numbers are updated.

Dependents:   mbed_blinky-bmd-200 bmd-200_accel_demo firstRig

Fork of mbed-src by mbed official

Replacement for the "mbed" or "mbed-src" library when using the BMD-200 Evaluation kit. This library only remaps the pin names (i.e. LED1 points to p0.01 instead of p0.18, etc) as used by the BMD-200 Evaluation board (select the nRF51822_mkit platform). All other code is untouched.

Files at this revision

API Documentation at this revision

Comitter:
dcnichols
Date:
Fri Jul 10 17:36:27 2015 +0000
Parent:
591:61103edf8a92
Parent:
519:1240aead2c81
Commit message:
updating to latest mbed-src

Changed in this revision

diff -r 61103edf8a92 -r 5e2eb8beba71 targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h	Fri Jul 10 14:15:08 2015 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_NRF51822_MKIT/PinNames.h	Fri Jul 10 17:36:27 2015 +0000
@@ -98,27 +98,27 @@
     P0_29 = p29,
     P0_30 = p30,
     
-    LED1    = p18,
-    LED2    = p19,
-    LED3    = p18,
-    LED4    = p19,
+    LED1    = p1,
+    LED2    = p25,
+    LED3    = p24,
+    LED4    = p24,
     
-    BUTTON1 = p16,
-    BUTTON2 = p17,
+    BUTTON1 = p11,
+    BUTTON2 = p0,
         
-    RX_PIN_NUMBER = p11,
-    TX_PIN_NUMBER = p9,
-    CTS_PIN_NUMBER = p10,
-    RTS_PIN_NUMBER = p8,
+    RX_PIN_NUMBER = p9,
+    TX_PIN_NUMBER = p10,
+    CTS_PIN_NUMBER = p2,
+    RTS_PIN_NUMBER = p3,
 
     // mBed interface Pins
     USBTX = TX_PIN_NUMBER,
     USBRX = RX_PIN_NUMBER,
         
-    SPI_PSELMOSI0 = p20,
-    SPI_PSELMISO0 = p22,
-    SPI_PSELSS0 = p24,
-    SPI_PSELSCK0 = p25,
+    SPI_PSELMOSI0 = p1,
+    SPI_PSELMISO0 = p2,
+    SPI_PSELSS0 = p3,
+    SPI_PSELSCK0 = p0,
         
     SPI_PSELMOSI1 = p12,
     SPI_PSELMISO1 = p13,
@@ -130,8 +130,8 @@
     SPIS_PSELSS = p14,    
     SPIS_PSELSCK = p15,
 
-    I2C_SDA0 = p22,
-    I2C_SCL0 = p20,
+    I2C_SDA0 = p8,
+    I2C_SCL0 = p5,
 
     I2C_SDA1 = p13,
     I2C_SCL1 = p15,