Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ella-0/rust-riscv-playground
- Owner: Ella-0
- Created: 2020-07-03T12:37:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-10T16:56:18.000Z (over 4 years ago)
- Last Synced: 2024-11-07T04:49:42.156Z (2 months ago)
- Language: Rust
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.