No description
- Rust 98.7%
- Python 1.2%
- Shell 0.1%
Add some info in README Migrate gpio code and fix _start function Add UART0 control Implement static data initialization and dynamic allocation Add some comments Async runtime handles interrupts Cleanup Upgrade rust, fix upload script Last commit because new project coming working |
||
|---|---|---|
| .cargo | ||
| doc | ||
| src | ||
| .gitignore | ||
| Cargo.toml | ||
| layout.ld | ||
| platformio.ini | ||
| pre_upload.py | ||
| README.md | ||
| rust-toolchain.toml | ||
| upload | ||
async-red-v
This is (will be) a proof of concept Rust async runtime for the SparkFun RED-V RedBoard
If you have one, you can try this program for yourself.
How to
In order to build and upload the program, you will need Rust (of course), cargo, and
platformio with the sifive platform installed. You will also need a rv32imac
compiler.
Build and upload the program with one of these commands (for debug or release versions):
cargo run
cargo run --release
If it gives you an error about firmware.elf not having any section, re-run the
upload command. I have not the time/energy to define a proper custom platform,
and this is the only way to have our own build script when using platformio.