diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
commit | 2c981aec5e5c10f9fd036dfb48105b16f16e4233 (patch) | |
tree | 4d191cbb595202579c961214a116fe0e1faeb5e7 /code/fe310/eos/eos.c | |
parent | da01d561d0c0365d985516d3696b17302fd33770 (diff) |
net bugfix; net alloc changed
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(); } |