I'm a big fan of Rust , the new systems programming language from Mozilla, and I'm a big fan of the Raspberry Pi , so I thought I'd write a few notes on running Rust on the Raspberry Pi! Once upon a time installing Rust was a little but messy, but now there's rustup-rs - a Rust install tool written in Rust! Step 1. Get a Raspberry Pi, boot it up, and get yourself a terminal window. Step 2. Run this command: curl https://sh.rustup.rs -sSf | sh The installer will check out your architecture (armv7l for a Pi 2 or Pi 3, or armv6 for an original Pi) and download a pre-compiled copy of Rust, ready to run. pi@boron: ~ $ curl https://sh.rustup.rs -sSf | sh info: downloading installer Welcome to Rust! This will download and install the official compiler for the Rust programming language, and its package manager, Cargo. It will add the cargo, rustc, rustup and other commands to Cargo's bin directory, located at: /home/pi/.cargo/bin This path will the
Showing posts from October, 2016
- Other Apps
It appears some of Freescale's Kinetis line of ARM microcontrollers are available in 5V variants. Specifically, the KE02, the KE04 and the KE06. Lots of I/O, PWM, USB interface/debug via a separate (actually much more powerful) MCU, Cortex-M0+ (which means Rust support, via the thumbv6m-none-eabi target). Could this be the 5V replacement for the Stellaris Launchpad I've been looking for?