ferrous-systems / sparc-experiments

Rust on the Gaisler LEON3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sparc-experiments

Rust on the Gaisler LEON3

There is a docker container in sparc-docker/Dockerfile.

cd sparc-docker
docker build -t sparc-docker .

The docker container downloads SPARC tools and the TSIM simulator from Gaisler. You should check the licences for those tools before distributing the built container containing them.

There is a C example in sparc-demo-c (to check the tools work):

$ docker run --rm -ti -v $(pwd):/work sparc-docker
# cd /work/sparc-demo-c
# make run

There is a Rust example in sparc-demo-rustc. See the README for more info.

$ docker run --rm -ti -v $(pwd):/work sparc-docker
# cd /work/sparc-demo-rust
# cargo +nightly run --release

Licence

Copyright (c) Ferrous Systems, 2023

Licensed under either MIT or Apache-2.0 at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.

About

Rust on the Gaisler LEON3

License:Apache License 2.0


Languages

Language:Rust 46.8%Language:C 21.8%Language:Dockerfile 18.0%Language:Makefile 13.4%