This repo will include hardware agnostic/generic implementations of the ECSS services
-
Clone SatelliteSim into the same root directory as this repository (just to keep things simple) and follow the instructions in the SatelliteSim repo for building CSP
-
For now, this still references the upsat services library for some header files, so clone that too
-
Compile this code to a static lib (.a) file, the command should be similar to the following,
gcc *.c Platform/demo/*.c Platform/demo/hal/*.c Services/*.c -c -I . -I Platform/demo -I Platform/hal -I Services/ -I ../upsat-ecss-services/services/ -I ../SatelliteSim/Source/include/ -I ../SatelliteSim/Project/ -I ../SatelliteSim/libcsp/include/ -I ../SatelliteSim/Source/portable/GCC/POSIX/ -I ../SatelliteSim/libcsp/build/include/ -lpthread -std=c99 -lrt && ar -rsc client_server.a *.o
- Link to this static library file in the SatelliteSim's Makefile (again, as described in the readme at that repo), and run
make clean && make all