diff --git a/README.md b/README.md index 2265389..b7041f6 100644 --- a/README.md +++ b/README.md @@ -23,21 +23,6 @@ docker run -v ./embeddedsw:/fsbl compile_fsbl /bin/bash -c "cd lib/sw_apps/zynq_ ``` **Binary can be found at ```embeddedsw/lib/sw_apps/zynq_fsbl/src/fsbl.elf```** - -## mission_rust - -##### Build the docker image: -```sh -cd docker/compile_mission/ -docker build -t compile_mission . -``` - -##### To build the mission_rust, run the following command in the `docker/compile_mission` directory: -```sh -docker run -v $(pwd)/../../mission_rust:/mission_rust compile_mission /bin/bash -c "cargo build -Z build-std" -``` -**Library can be found at ```mission_rust/target/armv7a-none-eabihf/debug/libmission_rust.a```** - ## obsw ##### Clone the submodules (FreeRTOS and lwIP): diff --git a/docker/compile_fsbl/embeddedsw b/docker/compile_fsbl/embeddedsw new file mode 160000 index 0000000..3728f54 --- /dev/null +++ b/docker/compile_fsbl/embeddedsw @@ -0,0 +1 @@ +Subproject commit 3728f546f178a1bcd91cf6efc9f8921447846cec diff --git a/docker/compile_mission/Dockerfile b/docker/compile_mission/Dockerfile deleted file mode 100644 index 837a46d..0000000 --- a/docker/compile_mission/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -# Use Debian 12.5 as the base image -FROM debian:12.5 - -# Set environment variables to avoid any interactive dialogue -ENV DEBIAN_FRONTEND=noninteractive - -# Install dependencies required for Rust and rustup -RUN apt-get update && apt-get install -y curl gcc cmake && \ - # Clean up the apt cache to reduce image size - apt-get clean && rm -rf /var/lib/apt/lists/* - -# Install Rustup and select the nightly toolchain -RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly && \ - . $HOME/.cargo/env - -# Add the Rust toolchain binaries to PATH -ENV PATH="/root/.cargo/bin:${PATH}" - -# Install the nightly Rust toolchain, the rust-src component, and set the override -RUN rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu - - -# Your project's specific setup steps here -# For example, setting the working directory and copying your project files into the container -WORKDIR /mission_rust/ -