summaryrefslogtreecommitdiff
path: root/fw/esp32/main
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-27 02:34:46 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-27 02:34:46 +0200
commit53b7904443109da0aa06e3225cddc0bcbdf85b93 (patch)
tree4dd1de9b8e365224344d4dc40a3ce91b69be44c2 /fw/esp32/main
parentf78eeaa085e6da05f4a79ea8c4cb5bd8bc77bbab (diff)
added spi driver for imx8; added lwip tun driver
Diffstat (limited to 'fw/esp32/main')
-rw-r--r--fw/esp32/main/app_main.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/fw/esp32/main/app_main.c b/fw/esp32/main/app_main.c
index 145739c..1ae7f7c 100644
--- a/fw/esp32/main/app_main.c
+++ b/fw/esp32/main/app_main.c
@@ -12,6 +12,8 @@
#include "_net.h"
#include "wifi.h"
#include "sock.h"
+#include "app.h"
+#include "tun.h"
#include "power.h"
#define ESP_INTR_FLAG_DEFAULT 0
@@ -36,7 +38,9 @@ void app_main() {
eos_wifi_init();
eos_sock_init();
+#ifdef EOS_WITH_APP
+ eos_app_init();
+ eos_tun_init();
+#endif
eos_power_init();
}
-
-