eive-obsw/bsp_q7s/main.cpp

25 lines
402 B
C++

#include "q7sConfig.h"
#if Q7S_SIMPLE_MODE == 0
#include "core/obsw.h"
#else
#include "simple/simple.h"
#endif
#include <iostream>
/**
* @brief This is the main program for the target hardware.
* @return
*/
int main(void)
{
using namespace std;
cout << "-- Q7S Simple Application --" << endl;
#if Q7S_SIMPLE_MODE == 0
return obsw::obsw();
#else
return simple::simple();
#endif
}