Skip to content

Embedded firmware written in Rust using the svd2rust STM32 HAL and RTIC framework. Firmware for the Front Vehicle Controller of Arrow 4.

License

Notifications You must be signed in to change notification settings

team-arrow-racing/front-vehicle-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Front Vehicle Controller

Embedded firmware written in Rust using the svd2rust STM32 HAL and RTIC framework. Firmware for the Front Vehicle Controller of Arrow 4.

Getting Started

Install dependencies

# Install tools
cargo install probe-rs flip-link
# Add target platform
rustup target add thumbv7em-none-eabihf

Once you have connected your programmer to the target, you can run cargo run like any other rust project.

Unit Tests

Surprisingly, just because we're on an embedded platform, we still have the ability to run unit tests on the target, thanks to defmt-test.

Just use cargo test to run each unit test module (each is flashed and run separately).

Log Level

The logging level use by defmt can be set with the environment variable DEFMT_LOG. Possible values are trace, debug, info, warn, error, and off. By default the log level is set to info.

References

About

Embedded firmware written in Rust using the svd2rust STM32 HAL and RTIC framework. Firmware for the Front Vehicle Controller of Arrow 4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published