No description
  • Rust 98.7%
  • Python 1.2%
  • Shell 0.1%
Find a file
lilymonade 7f7aa128d6 First commit
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
2026-04-19 13:28:43 +02:00
.cargo First commit 2026-04-19 13:28:43 +02:00
doc First commit 2026-04-19 13:28:43 +02:00
src First commit 2026-04-19 13:28:43 +02:00
.gitignore First commit 2026-04-19 13:28:43 +02:00
Cargo.toml First commit 2026-04-19 13:28:43 +02:00
layout.ld First commit 2026-04-19 13:28:43 +02:00
platformio.ini First commit 2026-04-19 13:28:43 +02:00
pre_upload.py First commit 2026-04-19 13:28:43 +02:00
README.md First commit 2026-04-19 13:28:43 +02:00
rust-toolchain.toml First commit 2026-04-19 13:28:43 +02:00
upload First commit 2026-04-19 13:28:43 +02:00

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.