eive-obsw/bsp_q7s/main.cpp

23 lines
344 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
#include "core/obsw.h"
#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
*/
2022-01-17 15:58:27 +01:00
int main(void) {
using namespace std;
2021-06-30 15:18:41 +02:00
#if Q7S_SIMPLE_MODE == 0
2022-01-17 15:58:27 +01:00
return obsw::obsw();
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
}