2022-03-17 14:28:32 +01:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
#include "InitMission.h"
|
|
|
|
#include "OBSWConfig.h"
|
|
|
|
#include "OBSWVersion.h"
|
2022-03-21 08:53:55 +01:00
|
|
|
#include "fsfw/version.h"
|
2022-03-17 14:28:32 +01:00
|
|
|
#include "fsfw/tasks/TaskFactory.h"
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief This is the main program entry point for the obsw running on the trenz electronic
|
|
|
|
* te0720-1cfa.
|
|
|
|
* @return
|
|
|
|
*/
|
|
|
|
int main(void) {
|
2022-03-21 08:53:55 +01:00
|
|
|
using namespace fsfw;
|
2022-03-17 14:28:32 +01:00
|
|
|
std::cout << "-- EIVE OBSW --" << std::endl;
|
|
|
|
std::cout << "-- Compiled for Trenz TE0720-1CFA"
|
|
|
|
<< " --" << std::endl;
|
2022-03-21 08:53:55 +01:00
|
|
|
std::cout << "-- OBSW v" << SW_VERSION << "." << SW_SUBVERSION << "." << SW_REVISION << ", FSFW v"
|
|
|
|
<< FSFW_VERSION << "--" << std::endl;
|
2022-03-17 14:28:32 +01:00
|
|
|
std::cout << "-- " << __DATE__ << " " << __TIME__ << " --" << std::endl;
|
|
|
|
|
|
|
|
initmission::initMission();
|
|
|
|
|
|
|
|
for (;;) {
|
|
|
|
/* Suspend main thread by sleeping it. */
|
|
|
|
TaskFactory::delayTask(5000);
|
|
|
|
}
|
|
|
|
}
|