Build a Green House Controller Using the MicroBit v2 & Rust
summary
Rust replaces kernel drivers on a MicroBit v2 running Tock OS, compiled with make and deployed via openocd and talk-loader; the project builds a custom Tock capsule driver that implements syscall commands 0/1/2 (presence check, heater on/off, pump on/off), registers it in main.rs, and exposes a C user-space library packaged as a .tab. Demo reads temperature (27°C reported), toggles a heater LED via the LED matrix, and works after flashing the new kernel and installing the app.
AI-written summary · about
chapters (10)
- 0:00Start
- 2:51Hardware Interface Layer
- 3:43Hardware
- 6:42Project Structure
- 6:53Kernel
- 12:32Headers
- 13:10Demo
- 17:45Flash the Kernel
- 29:57Write a Driver
- 48:02Debugging
related talks
21mChips don't bite! An introduction to µController programming for Rusteaceans
50mHow to Do Embedded Development with Rust
41mRust Meets Zephyr: Building Safer Embedded Applications
04mLightning Talk - Embedded Rust
28mSensors, Servos, and Signals with Rust
29mA Rust-based Runtime for the Internet of Things
38mIntermezzos
34mWriting an Embedded Operating System in Rust
