summaryrefslogtreecommitdiff
path: root/code/esp32/main/app_main.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2018-01-16 23:43:07 +0100
committerUros Majstorovic <majstor@majstor.org>2018-01-16 23:43:07 +0100
commit01c3e3af2394f863323b846fa304ff7e0a30e9df (patch)
tree84b499e6ece88e637ed86bbdd87333613e2433c5 /code/esp32/main/app_main.c
parent0d0e9facfcea3cf96da3b63285865182fdd5477e (diff)
eos support
Diffstat (limited to 'code/esp32/main/app_main.c')
-rw-r--r--code/esp32/main/app_main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c
new file mode 100644
index 0000000..1d3fa34
--- /dev/null
+++ b/code/esp32/main/app_main.c
@@ -0,0 +1,26 @@
+#include <stdio.h>
+#include <stdint.h>
+#include <stddef.h>
+#include <string.h>
+
+#include <freertos/FreeRTOS.h>
+#include <freertos/task.h>
+#include <freertos/semphr.h>
+
+#include <esp_system.h>
+#include <esp_event.h>
+#include <esp_event_loop.h>
+#include <esp_log.h>
+#include <esp_err.h>
+#include <driver/spi_slave.h>
+
+#include "fe310.h"
+#include "transport.h"
+
+// Main application
+void app_main() {
+ eos_fe310_init();
+ eos_net_init();
+}
+
+