Added build instructions for poweriface firmware
This commit is contained in:
parent
aaa925eeb7
commit
1454c983e0
1 changed files with 30 additions and 0 deletions
30
README.md
30
README.md
|
@ -26,6 +26,21 @@ on its GPIO header.
|
||||||
See (CAN Hat)[https://github.com/onitake/canhat] for
|
See (CAN Hat)[https://github.com/onitake/canhat] for
|
||||||
more information.
|
more information.
|
||||||
|
|
||||||
|
## Firmware
|
||||||
|
|
||||||
|
Some of the modules require firmware. There is a makefile in
|
||||||
|
each module to build and flash it to its microcontroller.
|
||||||
|
|
||||||
|
Before building, you need to check out the CAN driver
|
||||||
|
source code, which is referenced as a Git submodule.
|
||||||
|
|
||||||
|
Run the following commands in the checked out repository:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
|
```
|
||||||
|
|
||||||
## Modules
|
## Modules
|
||||||
|
|
||||||
The Matemat components are highly modular. Individual
|
The Matemat components are highly modular. Individual
|
||||||
|
@ -62,6 +77,21 @@ messages on changes.
|
||||||
|
|
||||||
Interface between CAN bus and power board.
|
Interface between CAN bus and power board.
|
||||||
|
|
||||||
|
This module requires firmware. Switch into the firmware
|
||||||
|
directory `poweriface/firmware/` and run
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make
|
||||||
|
```
|
||||||
|
|
||||||
|
To flash the firmware, attach a programmer to the ISP
|
||||||
|
header on the PCB, then run:
|
||||||
|
|
||||||
|
|
||||||
|
```shell
|
||||||
|
make flash
|
||||||
|
```
|
||||||
|
|
||||||
### sensor
|
### sensor
|
||||||
|
|
||||||
Environment sensor interface.
|
Environment sensor interface.
|
||||||
|
|
Loading…
Reference in a new issue