Repository: incubator-mynewt-site Updated Branches: refs/heads/develop 5de32ba19 -> 38b20a681
Updated tutorials. 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/cc3415ea Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/cc3415ea Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/cc3415ea Branch: refs/heads/develop Commit: cc3415ea8f8e5ed0725745b10865f36ae43ed9ec Parents: bc45bd4 Author: David G. Simmons <[email protected]> Authored: Thu Oct 20 16:07:35 2016 -0400 Committer: David G. Simmons <[email protected]> Committed: Thu Oct 20 16:07:35 2016 -0400 ---------------------------------------------------------------------- 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/cc3415ea/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. *  http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/cc3415ea/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 ```
