Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DC motor driver hat
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
DC motor driver hat
Commits
801f11bf
Commit
801f11bf
authored
7 months ago
by
Samuel Tardieu
Browse files
Options
Downloads
Patches
Plain Diff
Update instructions
parent
16477253
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#97962
passed
7 months ago
Stage: check
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
INSTALL.md
+8
-4
8 additions, 4 deletions
INSTALL.md
with
8 additions
and
4 deletions
INSTALL.md
+
8
−
4
View file @
801f11bf
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment