ZackPierce / oxcc

A port of Open Source Car Control written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

oxcc

Building

rustup default nightly

rustup component add rust-src

rustup target add thumbv7em-none-eabihf
# rustc 1.29.0-nightly (54628c8ea 2018-07-30)
cargo build

Deploying

./scripts/deploy

# or manually
arm-none-eabi-objcopy \
    -O ihex \
    target/thumbv7em-none-eabihf/debug/oxcc \
    target/thumbv7em-none-eabihf/debug/oxcc.hex

st-flash --format ihex write target/thumbv7em-none-eabihf/debug/oxcc.hex

Debugging

./scripts/run-openocd

# or manually
# openocd -f board/stm32f7discovery.cfg
cargo run

# or manually
# arm-none-eabi-gdb target/thumbv7em-none-eabihf/debug/oxcc

Links

About

A port of Open Source Car Control written in Rust


Languages

Language:Rust 99.1%Language:GDB 0.6%Language:Shell 0.3%