3 Commits

5 changed files with 6 additions and 31 deletions
+3
View File
@@ -10,3 +10,6 @@
[submodule "tmtc/common_tmtc"]
path = tmtc/common_tmtc
url = https://egit.irs.uni-stuttgart.de/fsfw/fsfw-example-tmtc-common.git
[submodule "tmtc-for-fsfw-hosted-example"]
path = tmtc-for-fsfw-hosted-example
url = https://egit.irs.uni-stuttgart.de/fsw-lecture/tmtc-for-fsfw-hosted-example
-29
View File
@@ -58,39 +58,11 @@ After cloning, make sure to clone and initialize the submodules
git submodule update --init
```
## Quickstart
With a fresh activated Windows Subsystem for Linux (WSL), using `wsl --install archlinux` the following steps are sufficient to build the flight software with cmake or just:
```sh
pacman Syu
pacman -S base-devel zsh git sudo cmake wget curl rustup
rustup default nightly # Only for just
cargo install just # Only for just
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # Only for better git integration in shell
cd ~
git clone https://egit.irs.uni-stuttgart.de/fsfw/fsfw-example-hosted --recursive
cd fsfw-example-hosted
mkdir build # Create Build Folder
cd build
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DFSFW_OSAL=linux .. # Create Makefiles
cmake --build . -j # Build Flight Software
./fsfw-example-hosted # execute Flight software
code .. # Open source code in Windows Visual Studio Code
```
## Prerequisites
If you need to set up these prerequisites, you can find some more information in the dedicated
[chapter](#prereqsetup).
Caution: Some assertions block the build with gcc 15 when building the `host` version. Please use `linux` as target or install gcc14.
1. Makefile build: make installed (bundled with MSYS2 on Windows or via [xPacks Windows Build Tools](https://xpack.github.io/windows-build-tools/install/)). Natively installed on Linux.
2. Recommended for application code development: [Eclipse for C/C++](https://www.eclipse.org/downloads/packages/) .
Project files and launch configuration are provided for Eclipse to ease development.
@@ -112,7 +84,6 @@ the `tmtcc.py` utility to send a ping telecommand to the running OBSW
cd tmtc
python3 -m venv venv
cd deps/tmtccmd
pip install -r requirements.txt
pip install .[gui]
```
+1 -1
Submodule fsfw updated: bf311757a2...c4d0afe5d9