eive-obsw/bsp_q7s/main.cpp

23 lines
367 B
C++
Raw Normal View History

2021-06-30 15:18:41 +02:00
#include "q7sConfig.h"
2020-09-30 17:17:01 +02:00
2021-06-30 15:18:41 +02:00
#if Q7S_SIMPLE_MODE == 0
2022-04-29 15:47:54 +02:00
#include "obsw.h"
2021-06-30 15:18:41 +02:00
#else
#include "simple/simple.h"
#endif
2020-09-16 16:22:36 +02:00
2021-07-05 10:24:38 +02:00
#include <iostream>
2020-09-16 16:22:36 +02:00
/**
2020-11-20 18:30:15 +01:00
* @brief This is the main program for the target hardware.
2020-09-16 16:22:36 +02:00
* @return
*/
2023-03-06 00:55:12 +01:00
int main(int argc, char* argv[]) {
2022-01-17 15:58:27 +01:00
using namespace std;
2021-06-30 15:18:41 +02:00
#if Q7S_SIMPLE_MODE == 0
2023-03-06 00:55:12 +01:00
return obsw::obsw(argc, argv);
2021-05-12 17:01:11 +02:00
#else
2022-01-17 15:58:27 +01:00
return simple::simple();
2021-05-12 17:01:11 +02:00
#endif
2020-09-16 16:22:36 +02:00
}