You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by ad...@apache.org on 2016/07/08 21:03:55 UTC

incubator-mynewt-site git commit: Added missing steps to primo_blinky tutorial.

Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/master b503b5b74 -> b4131b366


Added missing steps to primo_blinky tutorial.

This closes #105. This change will be cherry-picked into master branch.


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/commit/b4131b36
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/b4131b36
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/b4131b36

Branch: refs/heads/master
Commit: b4131b366cdc552efb5613107ca29fb11aa09ec0
Parents: b503b5b
Author: Brian Giori <br...@gmail.com>
Authored: Fri Jul 8 10:55:38 2016 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Fri Jul 8 12:00:54 2016 -0700

----------------------------------------------------------------------
 docs/os/tutorials/blinky_primo.md | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/b4131b36/docs/os/tutorials/blinky_primo.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/blinky_primo.md b/docs/os/tutorials/blinky_primo.md
index 7f0d406..07d1dc6 100644
--- a/docs/os/tutorials/blinky_primo.md
+++ b/docs/os/tutorials/blinky_primo.md
@@ -45,8 +45,20 @@ Licensed under GNU GPL v2
 For bug reports, read
     http://openocd.org/doc/doxygen/bugs.html
 ```
+Next, make sure that you have checked out the newt develop branch and rebuilt newt.
+```
+$ cd $GOPATH/src/mynewt.apache.org/newt
+$ git checkout develop
+$ git pull
+$ cd newt
+$ go install
+```
+**Note:** This step can be removed once the changes have been pushed to master.
+
 You can now use openocd to upload to Arduino Primo board via the USB port itself.
 
+
+
 <br>
 
 
@@ -110,7 +122,6 @@ Would you like to upgrade repository apache-mynewt-core from 0.9.0-none to 0.0.0
 
 Create two targets - one for the bootloader and one for the Primo board.  
 
-
 ```
 $ newt target create primoblinky
 $ newt target set primoblinky app=@apache-mynewt-core/apps/blinky bsp=@apache-mynewt-core/hw/bsp/arduino_primo_nrf52 build_profile=debug
@@ -133,6 +144,13 @@ targets/primoblinky
     build_profile=optimized
 ```
 
+If you are using openocd you must set the openocd_debug feature for both primo_boot and primoblinky.
+
+```
+$ newt target set primo_boot features=openocd_debug
+$ newt target set primoblinky features=openocd_debug
+```
+
 <br>
 
 ### Build the target executables