Git Product home page Git Product logo

geartrainer-rust's Introduction

GearTrainer-Rust

Project that does the Gear Trainer, but in rust using a NUCLEO-F446RE (STM32F446RE MCU) instead of an Arduino Uno (ATmega328P MCU)

Getting set-up

  1. Install cargo/rust
    1. https://www.rust-lang.org/tools/install
  2. Update cargo/rust
    1. Run rustup update in command line
  3. Install arm platform support
    1. Run rustup target add thumbv7em-none-eabihf in your terminal
    2. https://doc.rust-lang.org/rustc/platform-support/arm-none-eabi.html
  4. Navigate to desired project folder
    1. ExerciseX/
  5. Add the llvm tools
    1. Run rustup component add llvm-tools in your terminal
  6. Add cargo-binutils
    1. Run cargo install cargo-binutils in your terminal
  7. Add cargo embed tools
    1. Run cargo install cargo-embed
  8. Ensure you have the ST-LINK drivers downloaded
    1. https://www.st.com/en/development-tools/stsw-link007.html#get-software

Building and Flashing

  1. Build & flash the bin file
    1. Run cargo embed --debug in your terminal
    2. Run cargo embed --release in your terminal

Resources

  1. User Manual - https://www.st.com/resource/en/reference_manual/rm0390-stm32f446xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf
  2. Reference Manual - https://www.st.com/resource/en/datasheet/stm32f446re.pdf

geartrainer-rust's People

Contributors

rampagy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.