mynewt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ccoll...@apache.org
Subject [1/2] incubator-mynewt-site git commit: nimble tutorial: remove outdated newt usage.
Date Mon, 21 Mar 2016 21:01:30 GMT
Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/nimble_tutorial 46d7f55ce -> 5817ff159


nimble tutorial: remove outdated newt usage.


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/415f0b1f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/415f0b1f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/415f0b1f

Branch: refs/heads/nimble_tutorial
Commit: 415f0b1fafe35614e30fc40fc80b1a4cd526fc59
Parents: 46d7f55
Author: Christopher Collins <ccollins@apache.org>
Authored: Mon Mar 21 14:00:23 2016 -0700
Committer: Christopher Collins <ccollins@apache.org>
Committed: Mon Mar 21 14:00:23 2016 -0700

----------------------------------------------------------------------
 docs/os/tutorials/nimble_setup.md | 24 ++++++++++--------------
 1 file changed, 10 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/415f0b1f/docs/os/tutorials/nimble_setup.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/nimble_setup.md b/docs/os/tutorials/nimble_setup.md
index fddd5b4..9311925 100644
--- a/docs/os/tutorials/nimble_setup.md
+++ b/docs/os/tutorials/nimble_setup.md
@@ -37,30 +37,26 @@ What this command just did was to create a directory called `ble_tgt`
in the tar
 
 The target is not yet complete though! We need to set some target variables for this project.
Currently, the nimble stack has been ported to the Nordic nrf5x chipsets; specifically the
nrf51 and nrf52. This application will use the nrf52 but we will also show the setup for the
nrf51 in case your project uses that chip.
 
-Here are the commands you will need to setup your target for the nrf52:
+Here is the command you will need to setup your target for the nrf52:
 
 ```no-highlight
-$ newt target set ble_tgt arch=cortex_m4
-Target targets/ble_tgt successfully set target.arch to cortex_m4
-$ newt target set ble_tgt bsp=hw/bsp/nrf52pdk
+$ newt target set ble_tgt app=apps/ble_app          \
+                          bsp=hw/bsp/nrf52pdk       \
+                          build_profile=optimized
+Target targets/ble_tgt successfully set target.app to apps/ble_app
 Target targets/ble_tgt successfully set target.bsp to hw/bsp/nrf52pdk
-$ newt target set ble_tgt build_profile=optimized
 Target targets/ble_tgt successfully set target.build_profile to optimized
-$newt target set ble_tgt app=apps/ble_app
-Target targets/ble_tgt successfully set target.app to apps/ble_app
 ```
 
-Here are the commands you will need to setup your target for the nrf51:
+Here is the command you will need to setup your target for the nrf51:
 
 ```no-highlight
-$ newt target set ble_tgt arch=cortex_m0
-Target targets/ble_tgt successfully set target.arch to cortex_m0
-$ newt target set ble_tgt bsp=hw/bsp/nrf51dk
+$ newt target set ble_tgt app=apps/ble_app          \
+                          bsp=hw/bsp/nrf51dk        \
+                          build_profile=optimized
+Target targets/ble_tgt successfully set target.app to apps/ble_app
 Target targets/ble_tgt successfully set target.bsp to hw/bsp/nrf51dk
-$ newt target set ble_tgt build_profile=optimized
 Target targets/ble_tgt successfully set target.build_profile to optimized
-$newt target set ble_tgt app=apps/ble_app
-Target targets/ble_tgt successfully set target.app to apps/ble_app
 ```
 
 <br>


Mime
View raw message