summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eos.c
blob: bb231d1d756576f6754775b9b2998f5b535adf08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include "event.h"
#include "interrupt.h"
#include "timer.h"
#include "i2s.h"
#include "uart.h"
#include "spi.h"
#include "net.h"
#include "wifi.h"
#include "cell.h"
#include "sock.h"
#include "eve.h"

#include "eos.h"

void eos_init(void) {
    eos_evtq_init();
    eos_intr_init();
    eos_timer_init();
    eos_i2s_init();
    eos_uart_init();
    eos_spi_init();
    eos_net_init();
    eos_wifi_init();
    eos_cell_init();
    eos_sock_init();
    eos_spi_dev_start(EOS_SPI_DEV_DISP);
    eos_eve_init();
    eos_spi_dev_stop();
}