Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bhansconnect/roc-microbit
A roc platform for running on the microbit embedded processor
https://github.com/bhansconnect/roc-microbit
microbit microbit-v2 roc-lang
Last synced: 3 months ago
JSON representation
A roc platform for running on the microbit embedded processor
- Host: GitHub
- URL: https://github.com/bhansconnect/roc-microbit
- Owner: bhansconnect
- Created: 2022-02-14T07:21:39.000Z (over 2 years ago)
- Default Branch: trunk
- Last Pushed: 2022-06-28T06:23:57.000Z (over 2 years ago)
- Last Synced: 2024-04-16T04:18:50.494Z (7 months ago)
- Topics: microbit, microbit-v2, roc-lang
- Language: Rust
- Homepage:
- Size: 83 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- roc-awesome - bhansconnect/roc-microbit
README
# Roc-Micro:bit
A roc platform for running on the microbit embedded processor.
A lot of stuff is still at the begining and being figured out.
Hopefully it will offer an Arduino like experience via Roc.### To Use
- Setup git submodules (needed for roc)
```
git submodule init
git submodule update
```- Install `probe-run` with defmt support.
```
cargo install probe-run
```- Build roc (requires [nix](https://nixos.org/download.html)).
```
./build-roc.sh
```- Deploy an app.
```
DEFMT_LOG=info ./deploy-app.sh prime
```### Pre-commit hooks
This project is using pre-commit. Please run `pre-commit install` to install the git pre-commit hooks on your clone. Instructions on how to install pre-commit can be found [here](https://pre-commit.com/#install).
Every time you try to commit, pre-commit will run checks on your files to make sure they follow style standards and they aren't affected by some simple issues. If the checks fail, pre-commit won't let you commit.