From d894eb01e9c979d0eb51f9495a7cf7281c213302 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 4 Sep 2022 18:39:21 +0200 Subject: removed old test --- fw/fe310/test/main.c | 107 --------------------------------------------------- 1 file changed, 107 deletions(-) delete mode 100644 fw/fe310/test/main.c (limited to 'fw/fe310/test/main.c') diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c deleted file mode 100644 index f292ecf..0000000 --- a/fw/fe310/test/main.c +++ /dev/null @@ -1,107 +0,0 @@ -#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 "test.h" - -static const uint32_t touch_matrix[6] = {0xf7ac,0x440,0x3e704,0xfffff718,0x108a3,0xfff76d42}; - -void app_home_page(EVEWindow *window, EVEViewStack *stack) { - EVEFormSpec spec[] = { - /* - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "Phone", - .widget.tspec.page.constructor = app_phone - }, - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "WiFi", - .widget.tspec.page.constructor = app_wifi - }, - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "Cellular data", - .widget.tspec.page.constructor = app_cell_pdp - }, - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "Modem", - .widget.tspec.page.constructor = app_modem - }, - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "Camera", - .widget.tspec.page.constructor = app_cam - }, - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "File system", - .widget.tspec.page.constructor = app_fs - }, - */ - { - .widget.type = EVE_WIDGET_TYPE_PAGE, - .widget.g.w = APP_SCREEN_W, - .widget.tspec.page.title = "Test", - .widget.tspec.page.constructor = app_test - }, - }; - - EVEForm *form = eve_form_create(window, stack, spec, 1, NULL, NULL, NULL); -} - -void print_mem(void); - -int main() { - eos_init(); - // eos_run_once(); - eos_eve_set_touch_matrix(touch_matrix); - - 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(); - */ - // audio_start(); - // app_ecp_init(); - - eos_evtq_loop(); -} -- cgit v1.2.3