Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mikhailms/microbit-v2-template
Project template to start embeded Rust project for micro:bit-v2
https://github.com/mikhailms/microbit-v2-template
Last synced: 2 days ago
JSON representation
Project template to start embeded Rust project for micro:bit-v2
- Host: GitHub
- URL: https://github.com/mikhailms/microbit-v2-template
- Owner: MikhailMS
- Created: 2022-08-26T21:27:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T21:47:33.000Z (over 2 years ago)
- Last Synced: 2024-11-08T15:40:15.178Z (about 2 months ago)
- Language: Rust
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Project template for Micro:bit V2
Small template for any new micro:bit V2 projects I may have in the future
Taken from incredible [Discovery book](https://docs.rust-embedded.org/discovery/microbit/index.html) and slightly changed to only work on micro:bit V2 (so only required libraries are mentioned in Cargo & Embeded toml files)
## How to use
1. `git clone` this project
2. Enable required libraries in `Cargo.toml` - by default only following are enabled
```
cortex-m = "0.7.3"
cortex-m-rt = "0.7.0"
microbit-v2 = "0.12.0"
panic-halt = "0.2.0"
```
3. Add your code in `src/main.rs`
4. Use `cargo embed` to flash your application onto micro:bit V2