aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsprhawk <hongbo@yang.me>2014-09-02 01:51:11 +0800
committersprhawk <hongbo@yang.me>2014-09-02 01:53:18 +0800
commitefc7a3371b7f5ae221895721df182933312aad2b (patch)
tree42733d3a6a4bd9c69339dacb97caf6cbef304e8f
parent90779256e00cc6daff35cc768238a5bdaa21a151 (diff)
downloadnrf51822-posix-build-scripts-efc7a3371b7f5ae221895721df182933312aad2b.tar.gz
nrf51822-posix-build-scripts-efc7a3371b7f5ae221895721df182933312aad2b.tar.bz2
nrf51822-posix-build-scripts-efc7a3371b7f5ae221895721df182933312aad2b.tar.xz
nrf51822-posix-build-scripts-efc7a3371b7f5ae221895721df182933312aad2b.zip
updated README
-rw-r--r--README.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/README.md b/README.md
index ae932d0..27f2d83 100644
--- a/README.md
+++ b/README.md
@@ -2,6 +2,23 @@ nrf51822 build script under MacOSX
=================================
Usage:
+1. make erase_all
+
+2. make debug
+
+3. make release
+
+4. make flash
+
+5. make pin-reset
+
+6. make serial # will start screen as your terminal
+
+7. make gdbserver # will start gdbserver (-LocalHostOnly)
+
+8. make gdb # will start gdb and set breakpoint at main then start
+
+Steps:
------
0. download and extract nRF51-SDK 6.0.0 and s110 softdevice 7.0.0
@@ -26,4 +43,6 @@ Usage:
9. make flash
-note: s110 7.0.0 and s110 6.0.0 has different memory layout, 7.0.0 uses 0x16000 as app location while 6.0.0 uses 0x14000, and the build scripts here support 7.0.0 only, if you want to use with 6.0.0. If you want to use 6.0.0, first change Makefile.common, find the STARTADDRESS and change the address, and replace all the .ld files with which included in nRF51-SDK 5.2.0)
+note [1]: s110 7.0.0 and s110 6.0.0 has different memory layout, 7.0.0 uses 0x16000 as app location while 6.0.0 uses 0x14000, and the build scripts here support 7.0.0 only, if you want to use with 6.0.0. If you want to use 6.0.0, first change Makefile.common, find the STARTADDRESS and change the address, and replace all the .ld files with which included in nRF51-SDK 5.2.0)
+
+note[2]: Currently JLink (for MacOSX) v4.90b will not require disabling CDC, highly recommend use that new version, that will allow use GDB and virtual com port simutaneously.