Skip to content

Commit

Permalink
🐛 Fix missing 'demos' in nxp flashing command
Browse files Browse the repository at this point in the history
  • Loading branch information
kammce committed Jun 23, 2024
1 parent d3254b9 commit dd4a5f5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions mkdocs/contributor_guide/board_library.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Board Library Guide

A board library
10 changes: 5 additions & 5 deletions mkdocs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ of the compiler you want to use. These profiles set the compiler package as the
global compiler ensuring that un0built dependencies use it for building
libraries. It can be installed using:


```bash
conan config install -tf profiles -sf conan/profiles/v1 https://github.com/libhal/arm-gnu-toolchain.git
```
Expand Down Expand Up @@ -295,7 +294,8 @@ Now we have everything we need to build our project. To build using conan you ju
include those arguments.

When this completes you should have some applications in the
`build/lpc4078/MinSizeRel/` with names such as `uart.elf` or `blinker.elf`.
`demos/build/lpc4078/MinSizeRel/` with names such as `uart.elf` or
`blinker.elf`.

Each micro-controller has different properties such as more or less ram and
the presence or lack of a floating point unit.
Expand All @@ -313,7 +313,7 @@ the presence or lack of a floating point unit.
is not a full path to an existing compiler tool.
```

Fix this by deleting the `build/` in the `demo` directory like so:
Fix this by deleting the `demos/build/` like so:

```
rm -r demos/build
Expand Down Expand Up @@ -355,7 +355,7 @@ In order to complete this tutorial you'll one of these devices:
```

```bash
nxpprog --control --binary "build/lpc4078/MinSizeRel/uart.elf.bin" --device "/dev/tty.usbserial-140"
nxpprog --control --binary demos/build/lpc4078/MinSizeRel/uart.elf.bin --device /dev/tty.usbserial-140
```

- Replace `/dev/tty.usbserial-140` with the correct port.
Expand All @@ -373,7 +373,7 @@ In order to complete this tutorial you'll one of these devices:
then

```bash
stm32loader -p /dev/tty.usbserial-10 -e -w -v demos/build/stm32f103c8/Debug/blinker.elf.bin
stm32loader -e -w -v -p /dev/tty.usbserial-10 demos/build/stm32f103c8/Debug/blinker.elf.bin
```

Replace `/dev/tty.usbserial-10` with the correct port.
Expand Down

0 comments on commit dd4a5f5

Please sign in to comment.