forked from ROMEO/obsw
Removed build mission_rust, because it gets built with obsw
This commit is contained in:
parent
4bb54c0c38
commit
d64bc617de
15
README.md
15
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):
|
||||
|
1
docker/compile_fsbl/embeddedsw
Submodule
1
docker/compile_fsbl/embeddedsw
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 3728f546f178a1bcd91cf6efc9f8921447846cec
|
@ -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/
|
||||
|
Loading…
x
Reference in New Issue
Block a user