Sign inSign up

pulsation/milkv-duo-rust

By pulsation

•Updated about 2 years ago

An out-of-the-box toolchain to compile rust programs that can run on the RISC-V Milk-V Duo platform.

Image
Languages & frameworks
Developer tools
0

10K+

pulsation/milkv-duo-rust repository overview

⁠Milk-V Duo rust toolchain

⁠Purpose

An out-of-the-box toolchain to compile rust programs that can run on the Milk-V Duo platform, based on the Milk-V Duo SDK⁠.

⁠What is the Milk-V Duo?

Milk-V Duo⁠ is a RISC-V⁠ SOC based compact development platform.

⁠How to use this image

Source Dockerfile available here⁠.

⁠Rust

Run this from the directory of the cargo project you want to build :

docker run --rm -it \
           -v $(pwd):/home/milkv/buildroot \
           pulsation/milkv-duo-rust:latest \
           cargo +nightly build --target riscv64gc-unknown-linux-musl \
           <cargo-task>
⁠Duo examples

Clone the duo examples repository :

git clone https://github.com/milkv-duo/duo-examples

Pick an example and run make :

cd duo-examples/hello-world/
docker run --rm -it -v $(pwd):/home/milkv/buildroot pulsation/milkv-duo-rust:latest make

Tag summary

Content type

Image

Digest

sha256:f69530f7b…

Size

1 GB

Last updated

about 2 years ago

docker pull pulsation/milkv-duo-rust