summaryrefslogtreecommitdiff
path: root/code/esp32/main/app_main.c
blob: d2bb70444569a9279a0c40a651ad339c95b19fee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <driver/gpio.h>

#include "i2c.h"
#include "cell.h"
#include "_net.h"
#include "wifi.h"
#include "sock.h"
#include "bq25895.h"

// Main application
void app_main() {
    eos_i2c_init();
    eos_pcm_init();
    gpio_install_isr_service(0);
    eos_modem_init();
    eos_net_init();
    eos_cell_init();
    eos_wifi_init();
    eos_sock_init();
    eos_bq25895_set_ilim();
}