diff options
author | Uros Majstorovic <majstor@majstor.org> | 2022-03-30 13:22:19 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2022-03-30 13:22:19 +0200 |
commit | c6962c5700f99441538dafa346626bb7e6d12488 (patch) | |
tree | f463808368735c290312b7bff906f2599293d0ac /fw/fe310/test/main.c | |
parent | 0a5f8363fe4e6b3c7d4f17fde61e00ab63e43bcb (diff) |
sock api fixed; net reply messages fixed
Diffstat (limited to 'fw/fe310/test/main.c')
-rw-r--r-- | fw/fe310/test/main.c | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c index 13c113e..d1409f7 100644 --- a/fw/fe310/test/main.c +++ b/fw/fe310/test/main.c @@ -17,23 +17,24 @@ #include <eve/widget/widgets.h> -#include <app/app_root.h> - #include <prci_driver.h> -#include "status.h" +#include "app/app_root.h" + #include "cell_dev.h" #include "cell_pdp.h" #include "phone.h" #include "modem.h" #include "wifi.h" #include "cam.h" -// #include "fs.h" +#include "fs.h" #include "audio.h" +#include "ecp.h" #include "test.h" void app_home_page(EVEWindow *window, EVEViewStack *stack) { EVEWidgetSpec spec[] = { + /* { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, @@ -64,7 +65,6 @@ void app_home_page(EVEWindow *window, EVEViewStack *stack) { .widget.spec.page.title = "Camera", .widget.spec.page.constructor = app_cam }, - /* { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, @@ -80,21 +80,24 @@ void app_home_page(EVEWindow *window, EVEViewStack *stack) { }, }; - EVEForm *form = eve_form_create(window, stack, spec, 6, NULL, NULL, NULL); + EVEForm *form = eve_form_create(window, stack, spec, 1, NULL, NULL, NULL); } +void print_mem(void); + int main() { eos_init(); printf("FREQ:%lu\n", PRCI_get_cpu_freq()); printf("\nREADY.\n"); app_root_init(app_home_page, 0x20); - app_status_init(); - app_phone_init(); - app_wifi_init(); - app_cell_dev_init(); - app_cell_pdp_init(); + // app_phone_init(); + // app_wifi_init(); + // app_cell_dev_init(); + // app_cell_pdp_init(); // app_fs_init(); - audio_start(); + // audio_start(); + app_ecp_init(); + eos_evtq_loop(); } |