Skip to content

A template project for getting started with Rust on the Microbit

License

Notifications You must be signed in to change notification settings

dspasojevic/microrust-start

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

microrust-start

A sample application for teaching embedded development using the BBC micro:bit board. The project demonstrates the following concepts:

  • PACs, HALs, BSPs...
  • RTT
  • Panic handling
  • Serial communication
  • GPIO and interrupts
  • Testing

Pre-requisities

For building:

rustup target add thumbv7em-none-eabihf

...and the GNU Arm toolchain.

For running:

cargo install probe-run

For debugging:

cargo install --git https://github.com/probe-rs/probe-rs probe-rs-debugger

...and then visit https://github.com/probe-rs/vscode#vs-code-probe-rs-debugger for instructions on how to install the VSCode plugin.

Running

cargo run --target thumbv7em-none-eabihf

Debugging

Launch via the VSCode debugger.

Testing

cargo test

About

A template project for getting started with Rust on the Microbit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 97.4%
  • RPC 2.6%