Minimal ECSS Packet Utilisation Standard (PUS) protocol implementation in C for small-scale space missions.
- ECSS-E-ST-70-41C: Packet Utilisation Standard (PUS)
EmbeddedSpacePacket/
├── include/
│ └──
├── src/
│ └──
├── examples/
│ └──
├── tests/
│ ├── cunit.h # Minimal test framework
│ └── unit_tests.c # Unit tests
├── scripts/
│ └── coverage_html.sh # Coverage report
├── build/ # Build artifacts
├── Makefile
└── README.md
makeBuilds the static library, the example binary and the test binary in build/.
make lib
# Produces: build/make example
./build/examples/examplemake ctest
./build/tests/ctestRequires gcovr installed in your system:
sudo apt install gcovrGenerate coverage report:
make coverage-htmlOutput report:
build/coverage/index.htmlmake clean- Library (stripped):
- Serialization buffer:
- No heap usage: all allocations are caller-supplied
See LICENSE file.