nrf52 serial and ble nano2 serial

Dependencies:  

Files at this revision

API Documentation at this revision

Comitter:
linuxsonu
Date:
Wed May 02 09:37:36 2018 +0000
Commit message:
initial

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed_app.json Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 98aa84122685 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Wed May 02 09:37:36 2018 +0000
@@ -0,0 +1,9 @@
+#include "mbed.h"
+Serial pc(P0_29,P0_30);
+DigitalOut myled1(P0_13);
+int main() {
+    pc.baud(9600);
+    while(1) {
+          pc.printf("it worked");
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 98aa84122685 mbed-os.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Wed May 02 09:37:36 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/linuxsonu/code/mbed-os/#087a10df380b
diff -r 000000000000 -r 98aa84122685 mbed_app.json
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed_app.json	Wed May 02 09:37:36 2018 +0000
@@ -0,0 +1,7 @@
+{
+    "target_overrides": {
+        "NRF52_DK": {
+            "target.uart_hwfc": 0
+        }
+    }
+}