eive-obsw/bsp_q7s/main.cpp

23 lines
367 B
C++

#include "q7sConfig.h"
#if Q7S_SIMPLE_MODE == 0
#include "obsw.h"
#else
#include "simple/simple.h"
#endif
#include <iostream>
/**
* @brief This is the main program for the target hardware.
* @return
*/
int main(int argc, char* argv[]) {
using namespace std;
#if Q7S_SIMPLE_MODE == 0
return obsw::obsw(argc, argv);
#else
return simple::simple();
#endif
}