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/24 22:14:56 UTC

[1/3] incubator-mynewt-site git commit: Add "build_profile=optimized" step for bootloader.

Repository: incubator-mynewt-site
Updated Branches:
  refs/heads/master 0e633da1e -> ea9e96af2


Add "build_profile=optimized" step for bootloader.


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

Branch: refs/heads/master
Commit: 029d53ccab4a73cd839868ad11c8e2004b4083c2
Parents: 4217439
Author: Christopher Collins <cc...@apache.org>
Authored: Thu Mar 24 11:55:23 2016 -0700
Committer: Christopher Collins <cc...@apache.org>
Committed: Thu Mar 24 11:55:23 2016 -0700

----------------------------------------------------------------------
 docs/os/tutorials/arduino_zero.md | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/029d53cc/docs/os/tutorials/arduino_zero.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/arduino_zero.md b/docs/os/tutorials/arduino_zero.md
index aebfd21..7a7af40 100644
--- a/docs/os/tutorials/arduino_zero.md
+++ b/docs/os/tutorials/arduino_zero.md
@@ -96,6 +96,8 @@ $ newt target set arduino_boot bsp=@mynewt_arduino_zero/hw/bsp/arduino_zero
 Target targets/arduino_boot successfully set target.bsp to @mynewt_arduino_zero/hw/bsp/arduino_zero
 $ newt target set arduino_boot app=@apache-mynewt-core/apps/boot 
 Target targets/arduino_boot successfully set target.app to @apache-mynewt-core/apps/boot
+$ newt target set arduino_boot build_profile=optimized
+Target targets/arduino_boot successfully set target.build_profile to optimized
 $ newt target set arduino_boot features=arduino_zero_pro 
 Target targets/arduino_boot successfully set pkg.features to arduino_zero_pro
 ```
@@ -108,6 +110,9 @@ These commands do a few things:
   * Set the board support package for the target to 
     ```@mynewt_arduino_zero/hw/bsp/arduino_zero```.  This is a reference to the downloaded 
     Arduino Zero support from Github.
+  * Use the "optimized" build profile for the ```arduino_boot``` target.  This
+    instructs Newt to generate smaller and more efficient code for this target.
+    This setting is necessary due to the bootloader's strict size constraints.
   * Tells the Board Support Package to enable support for the Arduino Zero Pro, and not 
     the Arduino Zero.  This is done through setting a build feature.  If you are building 
     for an Arduino Zero, and not a Zero Pro, this feature should be set to ```arduino_zero```.


[2/3] incubator-mynewt-site git commit: small changes to newt install directions

Posted by ad...@apache.org.
small changes to newt install directions


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

Branch: refs/heads/master
Commit: 8691a6eb8dc115a2a59c26de4261c0acafc5e0ae
Parents: 0e633da
Author: aditihilbert <ad...@runtime.io>
Authored: Thu Mar 24 14:13:35 2016 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Thu Mar 24 14:13:35 2016 -0700

----------------------------------------------------------------------
 docs/os/get_started/project_create.md | 6 ++++--
 docs/os/tutorials/arduino_zero.md     | 4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8691a6eb/docs/os/get_started/project_create.md
----------------------------------------------------------------------
diff --git a/docs/os/get_started/project_create.md b/docs/os/get_started/project_create.md
index bb3c838..bb8d3b9 100644
--- a/docs/os/get_started/project_create.md
+++ b/docs/os/get_started/project_create.md
@@ -29,11 +29,13 @@ Project myproj successfully created.
 <br>
 
 Newt populates this new project with a base skeleton of a new Apache Mynewt 
-project.  It has the following structure:
+project.  It has the following structure. 
+
+**Note**: If you do not have `tree`, install it by running `brew install tree`.
 
 ```no-highlight 
 $ cd myproj
-$ tree -L 3
+$ tree 
 .
 ├── DISCLAIMER
 ├── LICENSE

http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/8691a6eb/docs/os/tutorials/arduino_zero.md
----------------------------------------------------------------------
diff --git a/docs/os/tutorials/arduino_zero.md b/docs/os/tutorials/arduino_zero.md
index aebfd21..5299640 100644
--- a/docs/os/tutorials/arduino_zero.md
+++ b/docs/os/tutorials/arduino_zero.md
@@ -44,9 +44,9 @@ To fetch the package from the runtime git repository, you need to add
 the repository to the ```project.yml``` file in your base project directory.
 
 Here is an example ```project.yml``` file with the Arduino Zero repository
-added:
+added. The lines to be added are highlighted.
 
-```no-higlight
+```hl_lines="6 14 15 16 17 18"
 $ more project.yml 
 project.name: "my_project"
 


[3/3] incubator-mynewt-site git commit: Merge branch 'arduino-tutorial-boot-build-profile' of https://github.com/ccollins476ad/incubator-mynewt-site

Posted by ad...@apache.org.
Merge branch 'arduino-tutorial-boot-build-profile' of https://github.com/ccollins476ad/incubator-mynewt-site

This closes #66


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

Branch: refs/heads/master
Commit: ea9e96af2dfb82bf822d25a1044e33ebeff4a035
Parents: 8691a6e 029d53c
Author: aditihilbert <ad...@runtime.io>
Authored: Thu Mar 24 14:13:44 2016 -0700
Committer: aditihilbert <ad...@runtime.io>
Committed: Thu Mar 24 14:13:44 2016 -0700

----------------------------------------------------------------------
 docs/os/tutorials/arduino_zero.md | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/ea9e96af/docs/os/tutorials/arduino_zero.md
----------------------------------------------------------------------