eive-obsw/bsp_egse/main.cpp

29 lines
838 B
C++
Raw Normal View History

2022-02-05 13:19:20 +01:00
#include <iostream>
#include "InitMission.h"
#include "OBSWConfig.h"
#include "OBSWVersion.h"
#include "fsfw/tasks/TaskFactory.h"
2022-03-27 13:07:18 +02:00
#include "fsfw/version.h"
2022-02-05 13:19:20 +01:00
/**
2022-02-25 14:24:51 +01:00
* @brief This is the main program entry point for the egse (raspberry pi 4)
2022-02-05 13:19:20 +01:00
* @return
*/
int main(void) {
std::cout << "-- EIVE OBSW --" << std::endl;
2022-02-05 18:09:55 +01:00
std::cout << "-- Compiled for EGSE from Arcsec"
<< " --" << std::endl;
2022-02-05 13:19:20 +01:00
std::cout << "-- OBSW " << SW_NAME << " v" << SW_VERSION << "." << SW_SUBVERSION << "."
<< SW_REVISION << ", FSFW v" << FSFW_VERSION << "." << FSFW_SUBVERSION << FSFW_REVISION
<< "--" << std::endl;
std::cout << "-- " << __DATE__ << " " << __TIME__ << " --" << std::endl;
initmission::initMission();
for (;;) {
/* Suspend main thread by sleeping it. */
TaskFactory::delayTask(5000);
}
}