Coder Social home page Coder Social logo

msp432-newio's Introduction

This is a very simple Rust program for the TI MSP432 Launchpad which demonstrates use of the msp432p401r crate.

Embedded systems code written in Rust can fail to work depending on changes in the version of the nightly compiler used. You can check this article which explains how to use the tm4c123x crate for programming the Texas Instruments Tiva/Stellaris launchpads - the same toolchain setup should be used for building the code in this repository also. You will have to use UniFlash for flash programming (rather than lm4flash).

Once the toolchain is installed, you can build the code by running:

make release

The binary is copied to the upload folder and its name is msp432.release.bin. You can use UniFlash to flash this code and you will see the RGB LED on the MSP432 Launchpad lighting up!

msp432-newio's People

Contributors

pcein avatar

Stargazers

Mattia avatar Kevin Kellar avatar Caio Tavares avatar William Zhang avatar Sam Zaydel avatar Kevin Mui avatar Caleb Jasik avatar Nicholas Latham avatar Andreas Heider avatar Manas Karekar avatar  avatar Stian Eklund  avatar

Watchers

James Cloos avatar

msp432-newio's Issues

error: unknown debugging option: `linker-flavor`

Quick question:

I've cloned this repo on Ubuntu 20, but cargo build --release fails with various errors.

error: failed to run `rustc` to learn about target-specific information

Caused by:
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names -C link-arg=-Tlink.x -C linker=arm-none-eabi-ld -Z linker-flavor=ld --target thumbv7em-none-eabihf --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit code: 1)
  --- stderr
  error: unknown debugging option: `linker-flavor`

Would you be willing to provide further instructions as how to use rust example code for the MSP432?

Thanks,

Kevin

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.