summaryrefslogtreecommitdiff
path: root/src/app/prototest/main.cc
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-09-07 12:57:04 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-09-07 12:57:04 +0200
commit0558244645611f314f47e0fa427f7323ce253eaf (patch)
tree824bcd55ec8577703345106d0a08e167407500a7 /src/app/prototest/main.cc
parent0248c6352f2117e50fac71dd632a79d8fa4f8737 (diff)
remove external libraries from main branch
Diffstat (limited to 'src/app/prototest/main.cc')
-rw-r--r--src/app/prototest/main.cc79
1 files changed, 0 insertions, 79 deletions
diff --git a/src/app/prototest/main.cc b/src/app/prototest/main.cc
deleted file mode 100644
index 7fc897e..0000000
--- a/src/app/prototest/main.cc
+++ /dev/null
@@ -1,79 +0,0 @@
-#include "arch.h"
-#include "driver/gpio.h"
-#include "driver/stdout.h"
-
-#ifdef PROTOTEST_BENCH_CYCLES
-#include "driver/counter.h"
-#endif
-
-#ifdef PROTOTEST_ARDUINOJSON
-#include "lib/ArduinoJson.h"
-#endif
-#ifdef PROTOTEST_BINN
-#include "lib/binn.h"
-#endif
-#ifdef PROTOTEST_CAPNPROTO_C
-#include <capnp_c.h>
-#include "capnp_c_bench.capnp.h"
-#endif
-#ifdef PROTOTEST_MANUALJSON
-#include "object/stdbuf.h"
-#endif
-#ifdef PROTOTEST_MODERNJSON
-#include "lib/modernjson/json.h"
-#endif
-#ifdef PROTOTEST_MPACK
-#include "mpack.h"
-#endif
-#ifdef PROTOTEST_NANOPB
-#include <pb.h>
-#include "nanopbbench.pb.h"
-#include <pb_encode.h>
-#include <pb_decode.h>
-#endif
-#ifdef PROTOTEST_UBJSON
-#include "ubj.h"
-#endif
-#ifdef PROTOTEST_XDR
-#include "lib/xdr.h"
-#endif
-#ifdef PROTOTEST_XDR16
-#include "lib/xdr16.h"
-#endif
-
-#include <stdint.h>
-
-#ifdef PROTOTEST_INCLUDE_GLOBAL
-#include "prototest_global.cc.inc"
-#endif
-
-void loop(void)
-{
- //static uint16_t ts = 0;
- //ts++;
-
-#ifdef PROTOTEST_INCLUDE_LOCAL
-#include "prototest_local.cc.inc"
-#endif
-
-}
-
-int main(void)
-{
- arch.setup();
- gpio.setup();
- kout.setup();
-
- //gpio.led_on(0);
- kout << "Hello, World!" << endl;
-
-#if defined(PROTOTEST_BENCH_CYCLES) and !defined(PROTOTEST_ARCH_esp8266)
- while (1) {
- loop();
- }
-#else
- arch.idle_loop();
-#endif
-
- return 0;
-}