Code Monkey home page Code Monkey logo

rustworks's Introduction

RustWorks

Pour une version française de ce README allez a README-FR.md.

An OS (eventually) for the Numworks calculator (model n0110).

Setup

First install Rust by following these instructions then open a terminal and execute the following commands:

rustup target add thumbv7em-none-eabihf

# Ubuntu
sudo apt-get install gcc-arm-none-eabi binutils-arm-none-eabi 
sudo apt-get install dfu-util
# macOS
brew tap osx-cross/arm
brew install arm-gcc-bin
brew install dfu-util

rustup component add llvm-tools-preview
cargo install cargo-binutils
cargo install cargo-make

# If you have an STLink debugger and can connect it to the calculator install `probe-run` or
# `cargo-embed` for easy debugging and `cargo-flash` if you just want faster flashing speeds.
cargo install probe-run
cargo install cargo-embed
cargo install cargo-flash

DFU Flash

Complete setup, plug in your calculator and put it into DFU mode (press 6 and reset at the same time), then run the following command:

cargo make dfu

STLink

If you have an STLink debugger (I am using the STLink V3SET) you can flash faster by using one of the following:

Flash

cargo flash --chip=stm32f730V8Tx
# Or you can use this which does the same thing but might be easier to remember:
cargo make flash

Debug

Using cargo-embed (recommended):

cargo embed

Using probe-rs:

cargo run

rustworks's People

Contributors

pierrediab avatar rfuest avatar willemml 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.