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/11/05 04:51:28 UTC

[43/50] incubator-mynewt-site git commit: Updated tutorials.

Updated tutorials.

This closes #118.


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

Branch: refs/heads/develop
Commit: 4be4d3f8c936eb0a7193b06cd00d196bab2c91c3
Parents: bc45bd4
Author: David G. Simmons <sa...@mac.com>
Authored: Thu Oct 20 16:07:35 2016 -0400
Committer: aditihilbert <ad...@runtime.io>
Committed: Tue Oct 25 09:52:23 2016 -0700

----------------------------------------------------------------------
 docs/os/tutorials/STM32F303.md |  6 ++++--
 docs/os/tutorials/nRF52.md     | 16 +++++++---------
 2 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/4be4d3f8/docs/os/tutorials/STM32F303.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/STM32F303.md b/docs/os/tutorials/STM32F303.md
index 00ab024..695af1c 100644
--- a/docs/os/tutorials/STM32F303.md
+++ b/docs/os/tutorials/STM32F303.md
@@ -96,14 +96,14 @@ Now you can install this into the project using:
 $ newt install -v 
 Downloading repository description for apache-mynewt-core... success!
 ...
-apache-mynewt-core successfully installed version 0.7.9-none
+apache-mynewt-core successfully installed version 0.9.1-none
 ...
 Downloading repository description for mynewt_stm32f3... success!
 Downloading repository mynewt_stm32f3 
 ...
 Resolving deltas: 100% (65/65), done.
 Checking connectivity... done.
-mynewt_stm32f3 successfully installed version 0.0.0-none
+mynewt_stm32f3 successfully installed version 0.9.0-none
 ```
 
 <br>
@@ -183,6 +183,8 @@ Build manifest:~/dev/myproj/bin/stmf3_blinky/apps/blinky/manifest.json
 
 
  The STM32F3DISCOVERY board includes an ST-LINK/V2 embedded debug tool interface that will be used to program/debug the board. To program the MCU on the board, simply plug in the two jumpers on CN4, as shown in the picture in red. If you want to learn more about the board you will find the User Manual at [http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf](http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/user_manual/DM00063382.pdf)
+ 
+ Just plug the USB cable into the ```USB ST-LINK``` port and it should power on and be ready to dowload to.
 
 * ![STMdiscovery](pics/STM32f3discovery_connector.png)
 

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/4be4d3f8/docs/os/tutorials/nRF52.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/nRF52.md b/docs/os/tutorials/nRF52.md
index 15e5171..469bd6e 100644
--- a/docs/os/tutorials/nRF52.md
+++ b/docs/os/tutorials/nRF52.md
@@ -15,7 +15,6 @@ Note that there are several versions of the nRF52 in the market. The boards test
 ### Hardware needed
 
 * nRF52 Development Kit (one of the following)
-    * Preview Kit from Nordic - PCA 10036
     * Dev Kit from Nordic - PCA 10040
     * Eval Kit from Rigado - BMD-300-EVAL-ES
 * Laptop running Mac OS
@@ -50,7 +49,7 @@ or just follow the commands below.
     apache-mynewt-core
     Downloading repository description for apache-mynewt-core... success!
     ...
-    apache-mynewt-core successfully installed version 0.7.9-none
+    apache-mynewt-core successfully installed version 0.9.0-none
 ``` 
 
 <br>
@@ -62,7 +61,6 @@ Create two targets - one for the bootloader and one for the nrf52 board.
 <font color="#F2853F">
 Note: The correct bsp must be chosen for the board you are using. </font>
 
-* For the Nordic Preview Dev Kit choose @apache-mynewt-core/hw/bsp/nrf52pdk (as shown below)
 * For the Nordic Dev Kit choose @apache-mynewt-core/hw/bsp/nrf52dk instead (in the highlighted lines)
 * For the Rigado Eval Kit choose @apache-mynewt-core/hw/bsp/bmd300eval instead (in the highlighted lines)
 
@@ -70,22 +68,22 @@ Note: The correct bsp must be chosen for the board you are using. </font>
 ```hl_lines="3 8"
 $ newt target create blink_nordic
 $ newt target set blink_nordic app=apps/blinky
-$ newt target set blink_nordic bsp=@apache-mynewt-core/hw/bsp/nrf52pdk
+$ newt target set blink_nordic bsp=@apache-mynewt-core/hw/bsp/nrf52dk
 $ newt target set blink_nordic build_profile=debug
 
 $ newt target create nrf52_boot
 $ newt target set nrf52_boot app=@apache-mynewt-core/apps/boot
-$ newt target set nrf52_boot bsp=@apache-mynewt-core/hw/bsp/nrf52pdk
+$ newt target set nrf52_boot bsp=@apache-mynewt-core/hw/bsp/nrf52dk
 $ newt target set nrf52_boot build_profile=optimized
 
 $ newt target show 
 targets/blink_nordic
     app=apps/blinky
-    bsp=@apache-mynewt-core/hw/bsp/nrf52pdk
+    bsp=@apache-mynewt-core/hw/bsp/nrf52dk
     build_profile=debug
 targets/nrf52_boot
     app=@apache-mynewt-core/apps/boot
-    bsp=@apache-mynewt-core/hw/bsp/nrf52pdk
+    bsp=@apache-mynewt-core/hw/bsp/nrf52dk
     build_profile=optimized
 ```
 
@@ -96,8 +94,8 @@ targets/nrf52_boot
 ```
 $ newt build nrf52_boot
 ...
-Compiling log_shell.c
-Archiving log.a
+Compiling boot.c
+Archiving boot.a
 Linking boot.elf
 App successfully built: ~/dev/myproj/bin/nrf52_boot/apps/boot/boot.elf
 ```