Skip to content

Rust firmware for the DC motor controller.

License

Notifications You must be signed in to change notification settings

Robotics-BUT/DCMotor-firmware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DCMotor firmware

This repo contains an alternative firmware for the DCMotor controller board written in Rust

Dependencies

1. flip-link:

$ cargo install flip-link

2. The git version of probe-run:

$ cargo install probe-run

3. Install toolchain

$ rustup target add thumbv6m-none-eabi

4. Useful tools:

$ cargo install cargo-binutils cargo-bloat

5. Udev rules

Setup udev rules

Usage

1. Clone the code

2. Modify CANOpen ID in main.rs

3. Connect the driver board

4. Run

cargo run --release

Acknowledgements

DCMotor firmware was developed using tools that are part of the Knurling project, Ferrous Systems' effort at improving tooling used to develop for embedded systems. Various libraries contributed by the Rust and embedded Rust communities were also used.

Development of the firmware was sponsored by the Robotics and AI research group at Faculty of Electrical Engineering and Communications at Brno University of Technology.

but

License

MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)