The following instructions are mostly Arch Linux focused
- Install rust and the cargo package manager
- Run
cargo build
to build the binary
- Raspberry Pi 4 Model B 4GB or Raspberry Pi 3 Model B/B+
- Copperhill Tech PiCAN FD Shield
- Arch Linux ARM
- Raspberry Pi 4B
- Raspberry Pi 3B/B+
- aarch64 option currently doesn't support overlays out of the box
- can-utils AUR package
- To set up a virtual CAN interface for testing, run
./setup_vcan.sh
as root orsudo ./setup_vcan.sh
. - To generate CAN bus traffic for testing, use the cangen utility included in
can-utils
- Example command for generating frames with a gap of 500ms, a set ID of 1, and data payload of fixed length 8:
cangen vcan0 -g 500 -I 1 -L 8
- The static files can be served through many different means
- an easy way to do this is to use
python3 -m http.server
- install the Node.js reference http server
npm install -g http-server
and run with./start_webserver.sh
- an easy way to do this is to use