This repo is an implementation of the AEB ECU for Project Phoenix.
See the design doc for more info.
-
Lidar UART rx: pd0
-
Lidar PWM out: pe9
-
CAN rx: pb8
-
CAN tx: pb9
CAN transceiver is powered with 3v3 and Gnd.
LD06 connector order, left to right:
UART tx, PWM in, GND, 5V
This codebase is designed to be run on an ST Nucleo-f767zi, along with an LD06 lidar.
- Install the Rust toolchain.
cargo install probe-runcargo install flip-linkrustup target install thumbv7em-none-eabihf- build the repo with
cargo buildorcargo build --releaseand flash manually, or debug withcargo run.