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/03/17 02:22:18 UTC
[2/5] incubator-mynewt-site git commit: resize pictures to the render
better more minor edits to match new newt format
resize pictures to the render better
more minor edits to match new newt format
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/585c6dd2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/585c6dd2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/585c6dd2
Branch: refs/heads/master
Commit: 585c6dd296fb7f1ec645eef37f377ae4ec46c6e9
Parents: 591e062
Author: Paul Dietrich <pa...@yahoo.com>
Authored: Wed Mar 16 11:10:20 2016 -0700
Committer: Paul Dietrich <pa...@yahoo.com>
Committed: Wed Mar 16 11:10:20 2016 -0700
----------------------------------------------------------------------
docs/os/tutorials/Olimex.md | 22 ++++++++++------------
docs/os/tutorials/pics/bottomview.png | Bin 1995826 -> 701983 bytes
docs/os/tutorials/pics/topview.png | Bin 1945584 -> 723333 bytes
3 files changed, 10 insertions(+), 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/585c6dd2/docs/os/tutorials/Olimex.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/Olimex.md b/docs/os/tutorials/Olimex.md
index fea329e..a8f80fc 100644
--- a/docs/os/tutorials/Olimex.md
+++ b/docs/os/tutorials/Olimex.md
@@ -196,7 +196,7 @@ Let's create boot_olimex:
$ newt target set boot_olimex compiler_def=optimized
Target boot_olimex successfully set compiler_def to optimized
$ newt target set boot_olimex bsp=hw/bsp/olimex_stm32-e407_devboard
- Target boot_olimex successfully set bsp to hw/bsp/olimex_stm32-e407_devboard
+ Target boot_olimex successfully set bsp to ...
$ newt target set boot_olimex app=apps/boot
Target targets/boot_olimex successfully set target.app to apps/boot
$ newt target show boot_olimex
@@ -207,26 +207,24 @@ Let's create boot_olimex:
compiler=arm-none-eabi-m4
compiler_def=optimized
```
-* Now let's build all the three targets now.
+* Now let's build both targets now.
```no-highlight
- Successfully run!
$ newt build boot_olimex
- App successfully built: ~/dev/core/bin/boot_olimex/apps/boot/boot_olimex.elf
- Successfully run!
...
- Successfully run!
+ App successfully built: ~/dev/core/bin/boot_olimex/apps/boot/boot_olimex.elf
$ newt build blinky
+ ...
Linking blinky.elf
App successfully built: ~/dev/core/bin/blinky/apps/blinky/blinky.elf
- Successfully run!
```
* Create the bootloader image and download the bootloader and the image to flash ... in a flash!
+When creating an image, you can assign a version number to your image; here we use '1.2.3'
```no-highlight
$ newt create-image boot_olimex 1.2.3
- $ newt target download boot_olimex
+ $ newt download boot_olimex
$ newt create-image blinky 1.2.3
- $ newt target download blinky
+ $ newt download blinky
```
@@ -236,14 +234,14 @@ Let's create boot_olimex:
The LED light will start blinking again. Success!
- Note #1: If you want to download the image to flash and a gdb session opened up, use `newt debug blinky` after `newt target download blinky`.
+ Note #1: If you want to download the image to flash and a gdb session opened up, use `newt debug blinky` after `newt download blinky`.
```no-highlight
$ newt debug blinky
- Debugging with ~/dev/core/hw/bsp/olimex_stm32-e407_devboard/olimex_stm32-e407_devboard_debug.sh blinky
+ Debugging with ~/dev/core/hw/bsp/olimex_stm32-e407_...
Debugging ~/dev/core/project/blinky/bin/blinky/blinky.elf
GNU gdb (GNU Tools for ARM Embedded Processors) 7.8.0.20150604-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
+ License GPLv3+: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
...
(info)
...
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/585c6dd2/docs/os/tutorials/pics/bottomview.png
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/pics/bottomview.png b/docs/os/tutorials/pics/bottomview.png
index fb7bf0a..c50a461 100644
Binary files a/docs/os/tutorials/pics/bottomview.png and b/docs/os/tutorials/pics/bottomview.png differ
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/585c6dd2/docs/os/tutorials/pics/topview.png
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/pics/topview.png b/docs/os/tutorials/pics/topview.png
index e57995e..e889ee0 100644
Binary files a/docs/os/tutorials/pics/topview.png and b/docs/os/tutorials/pics/topview.png differ