From d4118653947b42d2fde07cfad27f303252ae59a0 Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Fri, 20 Jun 2025 14:29:52 +0200 Subject: [PATCH 1/4] Quickstart with current compiler version --- README.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/README.md b/README.md index 26100c0..cfda73a 100644 --- a/README.md +++ b/README.md @@ -58,11 +58,37 @@ 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 +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 Softwaer +./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. From c9ccae25a971504400d117187aa0ff51d53c2d95 Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Fri, 20 Jun 2025 15:17:27 +0200 Subject: [PATCH 2/4] README.md aktualisiert --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cfda73a..7c8c333 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,7 @@ With a fresh activated Windows Subsystem for Linux (WSL), using `wsl --install a 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 ~ @@ -76,7 +77,7 @@ 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 Softwaer +cmake --build . -j # Build Flight Software ./fsfw-example-hosted # execute Flight software code .. # Open source code in Windows Visual Studio Code ´´´ From ea2670b779c421360e67792bd5f07fce1e194b35 Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Fri, 27 Jun 2025 15:00:26 +0200 Subject: [PATCH 3/4] README.md aktualisiert --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7c8c333..182e11f 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,7 @@ 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 @@ -111,6 +112,7 @@ 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] ``` From 250c176b466204eba07a107d6e7e1adc2dd5ac28 Mon Sep 17 00:00:00 2001 From: Paul Nehlich Date: Thu, 3 Jul 2025 18:13:06 +0200 Subject: [PATCH 4/4] README.md aktualisiert --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 182e11f..81e0f2e 100644 --- a/README.md +++ b/README.md @@ -64,7 +64,7 @@ git submodule update --init 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 +```sh pacman –Syu pacman -S base-devel zsh git sudo cmake wget curl rustup rustup default nightly # Only for just @@ -80,7 +80,7 @@ cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DFSFW_OSAL=linux .. # Create cmake --build . -j # Build Flight Software ./fsfw-example-hosted # execute Flight software code .. # Open source code in Windows Visual Studio Code -´´´ +```