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 runThere 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 --releaseCopyright (c) Ferrous Systems, 2023
Licensed under either MIT or Apache-2.0 at your option.
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.