GithubHelp home page GithubHelp logo

rust-feather-m4's Introduction

rust feather M4

experiments with rust on the Adafruit Feather M4 Express (Adafruit Industries 3857) board with the ATSAMD51J19 microprocessor featuring the ARM Cortex-M4F microprocessor core

run

./build.sh {name of one in src/bin}
./flash.sh {name of one in src/bin}
./build-and-flash.sh {name of one in src/bin}

install

install rust:

curl https://sh.rustup.rs -sSf | sh
rustup update

install component for ARM M4 targets:

rustup target add thumbv7em-none-eabihf

install bossac (https://github.com/shumatech/BOSSA) which we'll use to upload our binary to the feather M4s flash memory:

git clone https://github.com/shumatech/BOSSA.git
cd BOSSA
make
cp bin/bossac ~/bin

install arm-none-eabi-objcopy which makes *.bin files out of *.elf files (https://stackoverflow.com/questions/2427011/what-is-the-difference-between-elf-files-and-bin-files):

brew tap PX4/homebrew-px4
brew update
brew install gcc-arm-none-eabi

enter this repository:

git clone [email protected]:snd/rust-feather-m4.git
cd rust-feather-m4

board

https://www.alliedelec.com/product/adafruit-industries/3857/71458403

https://www.digikey.com/product-detail/en/adafruit-industries-llc/3857/1528-2648-ND/9553567

ATSAMD51J19 microprocessor

by microchip (source: https://twitter.com/microchipmakes/status/1017405803349839872)

microprocessor: https://www.microchip.com/wwwproducts/en/ATSAMD51J19A https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51/downloads https://www.digikey.com/product-detail/en/adafruit-industries-llc/3857/1528-2648-ND/9553567

awesome resources

files

  • memory.x contains specification of the memory layout of the target chip

steps taken to initialize this project

cargo install cargo-generate

cargo generate --git https://github.com/rust-embedded/cortex-m-quickstart --name rust-feather-m4

rust-feather-m4's People

Contributors

snd avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.