summaryrefslogtreecommitdiff
path: root/code/esp32/main
diff options
context:
space:
mode:
Diffstat (limited to 'code/esp32/main')
-rw-r--r--code/esp32/main/app_main.c27
1 files changed, 6 insertions, 21 deletions
diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c
index 19ad85c..afaee91 100644
--- a/code/esp32/main/app_main.c
+++ b/code/esp32/main/app_main.c
@@ -1,34 +1,19 @@
-#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 "i2c.h"
#include "modem.h"
#include "pcm.h"
-#include "transport.h"
-#include "bq25895.h"
+#include "_net.h"
+#include "sock.h"
+#include "wifi.h"
// Main application
void app_main() {
eos_i2c_init();
eos_modem_init();
eos_pcm_init();
+ eos_net_init();
eos_wifi_init();
- eos_fe310_init();
- eos_bq25895_set_ilim();
+ eos_sock_init();
+ // eos_bq25895_set_ilim();
}