summaryrefslogtreecommitdiff
path: root/code/esp32/main
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-08-30 13:45:51 +0200
committerUros Majstorovic <majstor@majstor.org>2019-08-30 13:45:51 +0200
commit4c4154b1c37a8f1909836547db35dbc7029c90b1 (patch)
treee36455119ad276329d5784443e03faa7cd0c200e /code/esp32/main
parentd4885f39f5012f082e0ebbbf7c3aae385187facf (diff)
ditto
Diffstat (limited to 'code/esp32/main')
-rw-r--r--code/esp32/main/app_main.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/code/esp32/main/app_main.c b/code/esp32/main/app_main.c
index 1d3fa34..19ad85c 100644
--- a/code/esp32/main/app_main.c
+++ b/code/esp32/main/app_main.c
@@ -15,12 +15,20 @@
#include <driver/spi_slave.h>
#include "fe310.h"
+#include "i2c.h"
+#include "modem.h"
+#include "pcm.h"
#include "transport.h"
+#include "bq25895.h"
// Main application
void app_main() {
+ eos_i2c_init();
+ eos_modem_init();
+ eos_pcm_init();
+ eos_wifi_init();
eos_fe310_init();
- eos_net_init();
+ eos_bq25895_set_ilim();
}