Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ella-0/rust-riscv-playground

RISC-V and Rust
https://github.com/ella-0/rust-riscv-playground

Last synced: 16 days ago
JSON representation

RISC-V and Rust

Awesome Lists containing this project

README

        

# rust-riscv-playground
A simple not yet finished MIDI driver for the HiFive-Revb to try out embedded Rust and RISC-V

## Panic
Rust requires you to implement a panic function if not using the standard library. The not yet fully working panic that i've implemented is meant to
turn on the red LED and hang.

## Alloc
To use Rusts collections API alloc needs to be implemented. I have done this using some basic boilerplate around the C `malloc` and `free` functions.