Skip to content

ferrous-systems/sparc-experiments

Repository files navigation

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

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published