Newt commands pkg and sync updated. Changed order of events
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/09506a4b Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/09506a4b Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/09506a4b Branch: refs/heads/master Commit: 09506a4b0c9c0f57cb8fd0a09fb7758df0dc9152 Parents: a0b2813 Author: aditihilbert <[email protected]> Authored: Thu Mar 2 15:50:47 2017 -0800 Committer: aditihilbert <[email protected]> Committed: Thu Mar 2 15:50:47 2017 -0800 ---------------------------------------------------------------------- custom-theme/landing.html | 2 +- docs/newt/command_list/newt_pkg.md | 43 ++++++++++++++++++++++++++++++++ docs/newt/command_list/newt_sync.md | 24 ++++++++++++++++++ mkdocs.yml | 8 +++--- 4 files changed, 72 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/09506a4b/custom-theme/landing.html ---------------------------------------------------------------------- diff --git a/custom-theme/landing.html b/custom-theme/landing.html index 358e706..ccc7ec2 100644 --- a/custom-theme/landing.html +++ b/custom-theme/landing.html @@ -148,7 +148,7 @@ <a href="http://www.nxp.com/products/software-and-tools/hardware-development-tools/freedom-development-boards/freedom-development-platform-for-kinetis-k64-k63-and-k24-mcus:FRDM-K64F"> FRDM-K64F </a> from NXP (Cortex-M4) </li> <li> - <a href="https://creatordev.io/ci40-iot-dev-kit.html"> Creator Ci40 IoT Kit (MIPS CPU) + <a href="https://creatordev.io/ci40-iot-dev-kit.html"> Creator Ci40 IoT Kit </a> from Imagination Technologies (MIPS CPU) </li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/09506a4b/docs/newt/command_list/newt_pkg.md ---------------------------------------------------------------------- diff --git a/docs/newt/command_list/newt_pkg.md b/docs/newt/command_list/newt_pkg.md new file mode 100644 index 0000000..83c992d --- /dev/null +++ b/docs/newt/command_list/newt_pkg.md @@ -0,0 +1,43 @@ +## <font color="#F2853F" style="font-size:24pt">newt pkg </font> + +Commands for creating and manipulating packages. + +#### Usage: +```no-highlight + newt pkg [command] [flags] +``` +#### Flags: +```no-highlight + -t, --type string Type of package to create: pkg, bsp, sdk. (default "pkg") +``` +#### Global Flags: +```no-highlight + -h, --help Help for newt commands + -j, --jobs int Number of concurrent build jobs (default 8) + -l, --loglevel string Log level (default "WARN") + -o, --outfile string Filename to tee output to + -q, --quiet Be quiet; only display error output + -s, --silent Be silent; don't output anything + -v, --verbose Enable verbose output when executing commands +``` +#### Description + +The pkg command provides subcommands to create and manage packages. The subcommands take one or two `package-name` arguments. + +Sub-command | Explanation +------------------------| ------------------------ +copy | The copy <src-pkg> <dst-pkg> command creates the new `dst-pkg` package by cloning the `src-pkg` package. +move | The move <old-pkg> <new-pkg> command moves the `old-pkg` package to the `new-pkg` package. +new | The new <new-pkg> command creates a new package named `new-pkg`, from a template, in the current directory. You can create a package of type `pkg`, `bsp`, or `sdk`. The default package type is `pkg`. You use the -t flag to specify a different package type. +remove | The remove <my-pkg> command deletes the `my-pkg` package. + +#### Examples + +Sub-command | Usage | Explanation +-------------| -----------------------|----------------- +copy | newt pkg copy <br>apps/bletiny apps/new_bletiny | Copies the `apps/bletiny` package to the `apps/new_bletiny`. +move | newt pkg move <br>apps/slinky apps/new_slinky | Moves the `apps/slinky` package to the `apps/new_slinky` package. +new | newt pkg new apps/new_slinky | Creates a package named `apps/new_slinky` of type `pkg` in the current directory. +new | newt pkg new hw/bsp/myboard -t bsp| Creates a package named `hw/bsp/myboard` of type `bsp` in the current directory. +remove | newt pkg remove hw/bsp/myboard | Removes the `hw/bsp/myboard` package. + http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/09506a4b/docs/newt/command_list/newt_sync.md ---------------------------------------------------------------------- diff --git a/docs/newt/command_list/newt_sync.md b/docs/newt/command_list/newt_sync.md new file mode 100644 index 0000000..abf8c9b --- /dev/null +++ b/docs/newt/command_list/newt_sync.md @@ -0,0 +1,24 @@ +## <font color="#F2853F" style="font-size:24pt">newt sync </font> + +Synchronize project dependencies. + +#### Usage: + +```no-highlight + newt version [flags] +``` +#### Flags: +```no-highlight + -f, --force Force overwrite of existing remote repository +#### Global Flags: +```no-highlight + -h, --help Help for newt commands + -j, --jobs int Number of concurrent build jobs (default 8) + -l, --loglevel string Log level (default "WARN") + -o, --outfile string Filename to tee output to + -q, --quiet Be quiet; only display error output + -s, --silent Be silent; don't output anything + -v, --verbose Enable verbose output when executing commands +``` +#### Description +Synchronize project dependencies and repositories. Use -f to force overwrite of existing repository. http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/09506a4b/mkdocs.yml ---------------------------------------------------------------------- diff --git a/mkdocs.yml b/mkdocs.yml index f62020c..1f20610 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -401,22 +401,22 @@ extra: Chapter 5 - Modules: 'Lays out all the available modules such as HAL (Hardware Abstraction Layer), console, le system, networking stacks, and other middleware components.' Chapter 6 - Packaging it: 'Packages for distribution delineates the process of creating complete packages to load on your embedded device to get it up, connected, and ready for remote management.' events: - event 4: + event 1: title: 'ApacheIoT, ApacheCon North America' description: 'A new conference track that lays the vision, framework, and components for an IoT system. See more at http://us.apacheiot.org. Multiple talks will feature Apache Mynewt.' location: "Santa Clara Convention Center, Santa Clara, CA, USA" date: '16-18 May, 2017' - event 3: + event 2: title: 'IoTFuse: Conference 2017' description: 'Presentation on managing devices running open source Operating Systems including Apache Mynewt' location: "Minneapolis Convention Center, Minneapolis, CA, USA" date: '21 April, 2017' - event 2: + event 3: title: 'Bluetooth World' description: 'Get to the heart of BLE support from Apache Mynewt at Exhibit Booth #11A' location: "Santa Clara Convention Center, Santa Clara, CA, USA" date: '28-29 March, 2017' - event 1: + event 4: title: 'Embedded World' description: 'Contact runtime.io or email us at [email protected] to discuss Apache Mynewt.' location: "Nuremberg, Germany"
