diff options
Diffstat (limited to 'code/fe310/eos/eos.c')
-rw-r--r-- | code/fe310/eos/eos.c | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/code/fe310/eos/eos.c b/code/fe310/eos/eos.c index b656f91..a0bf4c9 100644 --- a/code/fe310/eos/eos.c +++ b/code/fe310/eos/eos.c @@ -1,9 +1,12 @@ #include "event.h" #include "interrupt.h" #include "timer.h" +#include "i2s.h" #include "spi.h" #include "net.h" -#include "i2s.h" +#include "wifi.h" +#include "sock.h" +#include "eve.h" #include "eos.h" @@ -11,8 +14,12 @@ void eos_init(void) { eos_evtq_init(); eos_intr_init(); eos_timer_init(); - eos_net_init(); - eos_spi_init(); eos_i2s_init(); - eos_net_start(); + eos_spi_init(); + eos_net_init(); + eos_wifi_init(); + eos_sock_init(); + eos_spi_dev_start(EOS_SPI_DEV_DISP); + eos_eve_init(); + eos_spi_dev_stop(); } |