Skip to content

BlinkyStitt/smart-compass-rs

Repository files navigation

Smart Compass V1

Setup

brew cask install gcc-arm-embedded

# for on-chip debugging
# Forewarning: Semihosting operations are very slow. Like, each WRITE operation can take hundreds of milliseconds
brew install open-ocd

# for samd11, samd21:
rustup target add thumbv6m-none-eabi

# for samd51, same54:
rustup target add thumbv7em-none-eabihf

# for uploading the code onto devices with bootloaders
cargo install cargo-hf2

Development

  1. Hit the device reset button twice.

  2. Build and upload one of the programs:

    cd smart_compass_feather_m0
    ./bin/build-and-upload.sh test_lights
    
    # OR
    cd smart_compass_stm32f3_discovery
    cargo hf2 --release --bin smart_compass

Reading

About

Rust rewrite of WyseNynja/smart-compass-v0

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages