#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #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 "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, .widget.spec.page.title = "Phone", .widget.spec.page.constructor = app_phone }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "WiFi", .widget.spec.page.constructor = app_wifi }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Cellular data", .widget.spec.page.constructor = app_cell_pdp }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Modem", .widget.spec.page.constructor = app_modem }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Camera", .widget.spec.page.constructor = app_cam }, { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "File system", .widget.spec.page.constructor = app_fs }, */ { .widget.type = EVE_WIDGET_TYPE_PAGE, .widget.g.w = APP_SCREEN_W, .widget.spec.page.title = "Test", .widget.spec.page.constructor = app_test }, }; 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_phone_init(); // app_wifi_init(); // app_cell_dev_init(); // app_cell_pdp_init(); // app_fs_init(); eos_evtq_loop(); }