Skip to content
Snippets Groups Projects
Commit 801f11bf authored by Samuel Tardieu's avatar Samuel Tardieu
Browse files

Update instructions

parent 16477253
Branches
Tags
No related merge requests found
Pipeline #97962 passed
......@@ -23,7 +23,8 @@ $ cargo install probe-rs-tools
You must flash the I²C bootloader using a JTAG probe:
```shell
$ cargo run --profile production -p bootloader
$ cd bootloader
$ cargo run --profile production
```
The bootloader is in charge of launching the existing controller, or
......@@ -35,7 +36,8 @@ JTAG probe.
You canflash the controller directly using a JTAG probe:
```shell
$ cargo run --profile production -p controller
$ cd controller
$ cargo run --profile production
```
## Raspberry Pi
......@@ -60,7 +62,8 @@ The Python module is located in `controller/python/controller.py`.
The `firmware-updater` program can be either be built on the Raspberry Pi:
```shell
$ cargo build --profile production -p firmware-updater
$ cd firmware-updater
$ cargo build --profile production
```
or can be cross-compiled from another machine, provided you have
......@@ -68,7 +71,8 @@ already installed `aarch-unknown-linux-musl-gcc` which is needed for
linking:
```shell
$ cargo build --profile production -p firmware-updater --target aarch-unknown-linux-musl
$ cd firmware-updater
$ cargo build --profile production --target aarch-unknown-linux-musl
```
### Updating the firmware
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment