Skip to content
This repository was archived by the owner on Aug 25, 2026. It is now read-only.

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustbricks

Abandoned experiment. Archived. Not usable code.

A one-commit spike at running bare-metal Rust on the LEGO SPIKE Prime hub, which is built around an STM32F413. The idea was to see whether we could get off MicroPython and PyBricks and onto something with real types and a real compiler.

What is actually here is the stock cortex-m-quickstart scaffolding: a blinky that toggles PA5 on a Nucleo board, plus a memory.x and a .cargo/config.toml pointed at an STM32F4 target. Nothing LEGO-specific was ever written. No hub peripherals, no motor or sensor drivers, no way to load it onto a hub.

We stopped because getting code onto the hub at all requires either replacing the PyBricks bootloader or going through it, and neither was worth the season time when PyBricks already worked. Kept public only so the idea is on record.

If you want to program a SPIKE Prime, use PyBricks. Our real robot code is in the other repositories in this organisation.

Team Lebob · Perth, Western Australia · https://lebob.com.au

About

Abandoned experiment · bare-metal Rust on the SPIKE Prime STM32F413. Never got past a blinky. Read the README, then use PyBricks instead.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages