Crates.io | rustworks |
lib.rs | rustworks |
version | 0.0.1 |
source | src |
created_at | 2021-05-13 15:04:25.229674 |
updated_at | 2021-05-13 15:04:25.229674 |
description | An operating system for the Numworks n0110 calculator. |
homepage | https://github.com/willemml/rustworks |
repository | https://github.com/willemml/rustworks |
max_upload_size | |
id | 396962 |
size | 69,659 |
An OS (eventually) for the Numworks calculator (model n0110).
First install Rust by following these instuctions then:
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` for faster flashing and easy debugging.
cargo install probe-run
Complete setup, plug in your calculator and put it into dfu mode (press 6 and reset at the same time), then run the following:
cargo make dfu
If you have an STLink debugger (I am using the STLink V3SET) you can flash faster by using one of the following:
cargo flash
cargo run