Corrected links and typos in various docs such as bootloader.md, hal_gpio.md, fatfs.md etc. This closes #160.
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/0449fdad Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/tree/0449fdad Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/diff/0449fdad Branch: refs/heads/develop Commit: 0449fdad8195a9fed012733d600e7c572746262c Parents: 1cee1a2 Author: aditihilbert <[email protected]> Authored: Tue Mar 7 10:13:29 2017 +0100 Committer: aditihilbert <[email protected]> Committed: Tue Mar 7 10:14:02 2017 +0100 ---------------------------------------------------------------------- docs/os/modules/bootloader/bootloader.md | 8 -------- docs/os/modules/fs/fatfs.md | 4 ++-- docs/os/modules/hal/hal_gpio/hal_gpio.md | 2 +- docs/os/modules/shell/shell.md | 20 ++++++++++---------- docs/os/tutorials/project-target-slinky.md | 2 +- 5 files changed, 14 insertions(+), 22 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/0449fdad/docs/os/modules/bootloader/bootloader.md ---------------------------------------------------------------------- diff --git a/docs/os/modules/bootloader/bootloader.md b/docs/os/modules/bootloader/bootloader.md index 961b964..6c89ae6 100644 --- a/docs/os/modules/bootloader/bootloader.md +++ b/docs/os/modules/bootloader/bootloader.md @@ -54,14 +54,6 @@ struct image_header { uint8_t ih_key_id; uint8_t _pad1; uint16_t ih_hdr_s< [email protected] -35d33 -< [email protected] -42d39 -< [email protected] -55d51 -< [email protected] -110d105 -< [email protected]; uint16_t _pad2; uint32_t ih_img_size; /* Does not include header. */ uint32_t ih_flags; http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/0449fdad/docs/os/modules/fs/fatfs.md ---------------------------------------------------------------------- diff --git a/docs/os/modules/fs/fatfs.md b/docs/os/modules/fs/fatfs.md index b409235..4ec72ff 100644 --- a/docs/os/modules/fs/fatfs.md +++ b/docs/os/modules/fs/fatfs.md @@ -17,7 +17,7 @@ supported on MMC/SD cards. The current configuraton was chosen to minimize memory use and some options address limitations existing in the OS: -* Write support is enabled by default (can be disable to minimize memory use). +* Write support is enabled by default (can be disabled to minimize memory use). * Long filename (up to 255) support is disabled. * When writing files, time/dates are not persisted due to current lack of a standard `hal_rtc` interface. @@ -27,7 +27,7 @@ limitations existing in the OS: ### API -To include `fatfs` on a project just include is as a dependency in your +To include `fatfs` on a project just include it as a dependency in your project: ``` http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/0449fdad/docs/os/modules/hal/hal_gpio/hal_gpio.md ---------------------------------------------------------------------- diff --git a/docs/os/modules/hal/hal_gpio/hal_gpio.md b/docs/os/modules/hal/hal_gpio/hal_gpio.md index 503f374..1191235 100644 --- a/docs/os/modules/hal/hal_gpio/hal_gpio.md +++ b/docs/os/modules/hal/hal_gpio/hal_gpio.md @@ -19,7 +19,7 @@ port pins) depends on the specific variant of the stm32F4xx. So if I want to turn on port B pin 3, that would be virtual pin 1*16 + 3 = 19. This translation is defined in the MCU implementation of -[hal_gpio.c](https://github.com/apache/incubator-mynewt-larva/blob/master/hw/mcu/stm/stm32f4xx/src/hal_gpio.c) +[hal_gpio.c](https://github.com/apache/incubator-mynewt-core/blob/master/hw/mcu/stm/stm32f4xx/src/hal_gpio.c) for the stmf32F4xx. Each MCU will typically have a different translation method depending on its GPIO architecture. http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/0449fdad/docs/os/modules/shell/shell.md ---------------------------------------------------------------------- diff --git a/docs/os/modules/shell/shell.md b/docs/os/modules/shell/shell.md index ff05c98..e302b7a 100644 --- a/docs/os/modules/shell/shell.md +++ b/docs/os/modules/shell/shell.md @@ -29,22 +29,22 @@ receives newtmgr request messages. Create a sim target to check out these commands available in shell. ```no-highlight -user@~/dev/larva$ newt target create blinky_sim +user@~/dev$ newt target create blinky_sim Creating target blinky_sim Target blinky_sim successfully created! -user@~/dev/larva$ newt target set blinky_sim name=blinky_sim +user@~/dev$ newt target set blinky_sim name=blinky_sim Target blinky_sim successfully set name to blinky_sim -user@~/dev/larva$ newt target set blinky_sim arch=sim +user@~/dev$ newt target set blinky_sim arch=sim Target blinky_sim successfully set arch to sim -user@~/dev/larva$ newt target set blinky_sim project=blinky +user@~/dev$ newt target set blinky_sim project=blinky Target blinky_sim successfully set project to blinky -user@~/dev/larva$ newt target set blinky_sim bsp=hw/bsp/native +user@~/dev$ newt target set blinky_sim bsp=hw/bsp/native Target blinky_sim successfully set bsp to hw/bsp/native -user@~/dev/larva$ newt target set blinky_sim compiler_def=debug +user@~/dev$ newt target set blinky_sim compiler_def=debug Target blinky_sim successfully set compiler_def to debug -user@~/dev/larva$ newt target set blinky_sim compiler=sim +user@~/dev$ newt target set blinky_sim compiler=sim Target blinky_sim successfully set compiler to sim -user@~/dev/larva$ newt target show +user@~/dev$ newt target show blinky_sim arch: sim bsp: hw/bsp/native @@ -52,7 +52,7 @@ blinky_sim compiler_def: debug name: blinky_sim project: blinky -user@~/dev/larva$ newt target build blinky_sim +user@~/dev$ newt target build blinky_sim Building target blinky_sim (project = blinky) Compiling case.c Compiling suite.c @@ -63,7 +63,7 @@ Building project blinky Linking blinky.elf Successfully run! -user@~/dev/larva$ ./project/blinky/bin/blinky_sim/blinky.elf +user@~/dev$ ./project/blinky/bin/blinky_sim/blinky.elf uart0 at /dev/ttys005 ``` http://git-wip-us.apache.org/repos/asf/incubator-mynewt-site/blob/0449fdad/docs/os/tutorials/project-target-slinky.md ---------------------------------------------------------------------- diff --git a/docs/os/tutorials/project-target-slinky.md b/docs/os/tutorials/project-target-slinky.md index bea8049..fcdf759 100644 --- a/docs/os/tutorials/project-target-slinky.md +++ b/docs/os/tutorials/project-target-slinky.md @@ -155,7 +155,7 @@ You can now disconnect the debugging cable from the board. You should see the gr ```no-highlight $ pwd - /Users/<user>/dev/larva/project/slinky + /Users/<user>/dev/project/slinky $ newtmgr conn add olimex01 type=serial connstring=/dev/tty.usbserial-AJ03HAQQ Connection profile olimex01 successfully added $ newtmgr conn show
