Robin Mueller
ade15ad16d
This PR refactores the tests so they are built as part of the FSFW. This is done by adding Catch2 with the FetchContent directive. A future implementation might also use a system installation of Catch2 by first checking whether Catch2 can already be found as a package The custom configuration folder testcfg was moved from the user folder to the actual unittest folder. The tests can be built by setting the CMake FSFW_BUILD_UNITTESTS option to TRUE/ON. They are built with the static library and dropped inside the build folders fsfw directory.
20 lines
466 B
C++
20 lines
466 B
C++
#ifndef CONFIG_TMTC_APID_H_
|
|
#define CONFIG_TMTC_APID_H_
|
|
|
|
#include <cstdint>
|
|
|
|
/**
|
|
* Application Process Definition: entity, uniquely identified by an
|
|
* application process ID (APID), capable of generating telemetry source
|
|
* packets and receiving telecommand packets.
|
|
*
|
|
* Chose APID(s) for mission and define it here.
|
|
*/
|
|
namespace apid {
|
|
static const uint16_t DEFAULT_APID = 0x00;
|
|
static const uint16_t SOURCE_OBSW = 0x73;
|
|
}
|
|
|
|
|
|
#endif /* CONFIG_TMTC_APID_H_ */
|