Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 292:e8c83abeb68f, committed 2014-08-21
- Comitter:
- mbed_official
- Date:
- Thu Aug 21 08:00:07 2014 +0100
- Parent:
- 291:bdc8a81aee9a
- Child:
- 293:2a9cf2ed1474
- Commit message:
- Synchronized with git revision 51025c56d3f50281afb9134a445a455ab6023e12
Full URL: https://github.com/mbedmicro/mbed/commit/51025c56d3f50281afb9134a445a455ab6023e12/
[RBL nRF51] Fixed 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 17:00:07 2014 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_RBLAB_NRF51822/PinNames.h Thu Aug 21 08:00:07 2014 +0100
@@ -98,10 +98,10 @@
P0_29 = p29,
P0_30 = p30,
- LED1 = p18,
- LED2 = p19,
- LED3 = p18,
- LED4 = p19,
+ LED1 = p15,
+ LED2 = p15,
+ LED3 = p15,
+ LED4 = p15,
BUTTON1 = p16,
BUTTON2 = p17,
@@ -114,18 +114,16 @@
// mBed interface Pins
USBTX = TX_PIN_NUMBER,
USBRX = RX_PIN_NUMBER,
-
-/*
+
SPI_PSELMOSI0 = p20,
SPI_PSELMISO0 = p22,
- SPI_PSELSS0 = p24,
+ SPI_PSELSS0 = p14,
SPI_PSELSCK0 = p25,
- SPI_PSELMOSI1 = p12,
- SPI_PSELMISO1 = p13,
+ SPI_PSELMOSI1 = p20,
+ SPI_PSELMISO1 = p22,
SPI_PSELSS1 = p14,
- SPI_PSELSCK1 = p15,
-*/
+ SPI_PSELSCK1 = p25,
SPIS_PSELMOSI = p20,
SPIS_PSELMISO = p22,
@@ -137,8 +135,8 @@
/*
I2C_SDA1 = p13,
- I2C_SCL1 = p15,
-*/
+ I2C_SCL1 = p15,
+/*
D0 = p11,
D1 = p9,
@@ -156,10 +154,12 @@
D12 = p13,
D13 = p15,
-/*
- D14 = p5,
- D15 = p6,
-*/
+ D14 = p29, // I2C - SDA
+ D15 = p28, // I2C - SCL
+
+ D16 = p25, // SPI - SCK
+ D17 = p22, // SPI - MISO
+ D18 = p20, // SPI - MOSI
A0 = p6,
A1 = p5,
@@ -168,6 +168,13 @@
A4 = p2,
A5 = p1,
+ D19 = A0,
+ D20 = A1,
+ D21 = A2,
+ D22 = A3,
+ D23 = A4,
+ D24 = A5,
+
// Not connected
NC = (int)0xFFFFFFFF
} PinName;
