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 636:6fe765be4226, committed 2015-11-05
- Comitter:
- janekm
- Date:
- Thu Nov 05 08:10:32 2015 +0000
- Parent:
- 635:a11c0372f0ba
- Commit message:
- Changed pin configuration for serial port
Changed in this revision
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h Wed Sep 30 17:00:09 2015 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/TARGET_HRM1017/PinNames.h Thu Nov 05 08:10:32 2015 +0000
@@ -106,10 +106,10 @@
BUTTON1 = p16,
BUTTON2 = p17,
- RX_PIN_NUMBER = p11,
- TX_PIN_NUMBER = p9,
- CTS_PIN_NUMBER = p10,
- RTS_PIN_NUMBER = p8,
+ RX_PIN_NUMBER = p10,
+ TX_PIN_NUMBER = p8,
+ CTS_PIN_NUMBER = p30,
+ RTS_PIN_NUMBER = p30,
// mBed interface Pins
USBTX = TX_PIN_NUMBER,
--- a/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c Wed Sep 30 17:00:09 2015 +0100
+++ b/targets/hal/TARGET_NORDIC/TARGET_MCU_NRF51822/serial_api.c Thu Nov 05 08:10:32 2015 +0000
@@ -79,9 +79,9 @@
obj->index = 0;
- obj->uart->PSELRTS = RTS_PIN_NUMBER;
+ //obj->uart->PSELRTS = RTS_PIN_NUMBER;
obj->uart->PSELTXD = tx; //TX_PIN_NUMBER;
- obj->uart->PSELCTS = CTS_PIN_NUMBER;
+ //obj->uart->PSELCTS = CTS_PIN_NUMBER;
obj->uart->PSELRXD = rx; //RX_PIN_NUMBER;
// set rx/tx pins in PullUp mode
