From 93ad99a468b66223bb7949012bf686b8b4e045fc Mon Sep 17 00:00:00 2001 From: sharandac Date: Tue, 5 Jul 2022 17:06:56 +0200 Subject: [PATCH] add first compass support --- CONTRIBUTING.md | 2 + README.md | 2 +- .../app/compass/images/compass_64px.png | Bin 0 -> 5613 bytes .../compass/images/compass_needle_200px.png | Bin 0 -> 4932 bytes lib/twatch2021/twatch2021_config.h | 92 +++-- platformio.ini | 66 ++- src/app/compass/compass_app.cpp | 76 ++++ src/app/compass/compass_app.h | 34 ++ src/app/compass/compass_app_main.cpp | 127 ++++++ src/app/compass/compass_app_main.h | 28 ++ src/app/compass/images/compass_64px.c | 377 ++++++++++++++++++ src/app/compass/images/compass_needle_200px.c | 335 ++++++++++++++++ src/config.h | 2 +- src/hardware/button.cpp | 6 +- src/hardware/compass.cpp | 268 +++++++++++-- src/hardware/compass.h | 52 ++- src/hardware/motion.cpp | 1 + src/hardware/pmu.cpp | 4 + src/hardware/rtcctl.cpp | 43 +- src/hardware/sdcard.cpp | 1 + src/hardware/touch.cpp | 81 ++-- src/main.cpp | 2 + 22 files changed, 1473 insertions(+), 126 deletions(-) create mode 100644 images/Hedge Icons/app/compass/images/compass_64px.png create mode 100644 images/Hedge Icons/app/compass/images/compass_needle_200px.png create mode 100644 src/app/compass/compass_app.cpp create mode 100644 src/app/compass/compass_app.h create mode 100644 src/app/compass/compass_app_main.cpp create mode 100644 src/app/compass/compass_app_main.h create mode 100644 src/app/compass/images/compass_64px.c create mode 100644 src/app/compass/images/compass_needle_200px.c diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3fe3dd23..d66c985c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,6 +8,8 @@ pio run -t upload or simple press "build and upload" in platformIO, or follow the great step by step [tutorial](https://www.youtube.com/watch?v=wUGADCnerCs) from ShotokuTech[ShotokuTech](https://github.com/ShotokuTech). +Please pay attention to which version you have for the T-Watch 2020 and T-Watch-2021! + ## Applications For quick clock application development use the new QuickGLUI - high level API. See [here](https://github.com/sharandac/My-TTGO-Watch/pull/163). diff --git a/README.md b/README.md index 0798e1a1..05eedeb2 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ # My-TTGO-Watch -A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021 (no ota-updates), M5Paper, M5Core2 and native Linux support for testing. +A GUI named hedge for smartwatch like devices based on ESP32. Currently support for T-Watch2020 (V1,V2,V3), T-Watch2021 (V1 and V2, no ota-updates), M5Paper, M5Core2 and native Linux support for testing. ## Features diff --git a/images/Hedge Icons/app/compass/images/compass_64px.png b/images/Hedge Icons/app/compass/images/compass_64px.png new file mode 100644 index 0000000000000000000000000000000000000000..ccdacb25571ca1b691c09587ff90b597764b6b84 GIT binary patch literal 5613 zcmVqW1SC%u*-@7G1WXW7Kz;BC3LH5o zBEs`Q@QI2jK@%j3>|12h2)wW)BH|13NDKk8PL^RZ`%HIrRo(YTRaaMa_k{2OrO&C; zJ>AvQ_xroQ<@;N%7-RUb9vj-X;yBKDU^=iruotj9&nc@tN~sJmIF&& z*WECF)aVawjq*VYU~6}m0EYo*04IsaWJ_r*tx!s#MIj>L6@AA5#u$t-_$D9-0z5y! z3w(?*tANLV2Y?qxHxD--NddHXcMS*52QE-bO>`^^TU%IKzpwx6`93Az!}UCZAXp8| z18yJHJiO~8A%OPot`^{O;3C_ynliQ>ftC+gSq+}=Q!JGzd0sDY3ov(7^YG4piU8Vs zx;1biaIK@Q)~sWrl&W2}f%Z9wnT9kjr`7P+r209(L{E)@wtLLp3R z5Ux8h385=6Uii6GUPsS=KEIJOce5a; zSzHi~yQ|2>Kknh}jiq=US_$FW)Ewa6XwC0m03E$O84(_~v~_wzCW}N~$q(SsX9w8# zd%euxU?8udK|xNl#8YH5iW?8IBOnr9j(`(tN09Jtfk>z^HsP}qz0L@;#%m^yvv{hH zP&iqEoG^crVZR^rvuMd6eh{g%2o0GmmbOk8;o*+ncNcVxHkml|3DF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!dd(Dl)jbF4mXH3-EE=DtYWuB0T6z7dp ztT;OlO{$VbRy9+nI>OXUwS%h^U3ayFRkIsuQFVZO=~=;ZMyJ68WNil}>gL{_-i7aZ zRCZKrE5K!1sRzqrvSlG$_XUe@PK~-R(U2k~lM0t-?Ps%Qiys1RQ0ZD?RJvY1XBf*b z8OAk}t#myhdaNsjudmDTI28Kl^WI6eeT;jmQ;LttBL?ZUd2Ds!%#k74?>cE6n zid-gx61f?;%(3hpIxz8`j?BEXZ5zXe4Vw-8tWa|EZmE10p}d9IC!ceM&h@<3Ldhivg1WO(?{pj1Z8mJ)25)UOv~@vO z0agu!1?MSwVR#nCHp3pHVay2FbthqDv(z0yQc97v9URMwkImVZ^^ZF?S0#w};AF}7 znu?`TdH&`De^^?Rv2AQ^#Rn&C%lhXWoU9%C^rEA)azPLT6J5`vwe`_BI$J9UUx33TIy`NRnd}7tzVG9k06z%gZjnh5M2S+?@PM_}8cQie zWEJq3i4ITOT7NVTPuF`477Ez5{l1RRmrA7#xoq}BTjT!$+L%mY97%w000000NkvXX Hu0mjf6>zm) literal 0 HcmV?d00001 diff --git a/images/Hedge Icons/app/compass/images/compass_needle_200px.png b/images/Hedge Icons/app/compass/images/compass_needle_200px.png new file mode 100644 index 0000000000000000000000000000000000000000..fe1ae6929011f8a091728375a71929fe6ce19b17 GIT binary patch literal 4932 zcmV-K6T9q*P)hWLI^^|L4A?H?>-7?dwRIk!I|{gNHF@Ji!UrWdebOG9i^Bw&Re5K&2`e zK0p!&2w(;r2P&jOs3HZG4?seyNPq-8EOvqei4z+GUT37yNHf}ZwWQwPyXWM?d#$x4 zy>2ycs!LUx*YEf4Ip?1B%0R&Dpa1wldR^bZC*Lr1!~cBe(u;1;@2Q|SPF@)?Ilb|Y z-qzLxD!2jzCWc2*TwP1#*HUk(1YiceF*Cma4oB4T^mOabWd+A?yH$ml5q33xE`X+v zj*}L_HXRq=`Q7)_9x#1<>`s$8QrFOMUJqM5OCWmSQ2!+Bhv_O^A zN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#i7y>B<51^-)A4_Wtu40c?^&bIe*fB-)j~2KxKa z(cY5ha)~f`PEZ8%-EB?JRRy^D%o*e|xxX!C2#7Qk3JBA|fB0q|8m?%ciJ54GiFMRGG~?L+I(ecW5!>?GeY8^v3WP*7 z@_c7=vU)&QciW6*smx{_2J-%q=O%IvKY1j;!=L)IXVTf+^p>b-vpG)8a0uxIQuSLMhYs z+RonJ1X|+ajxRrjBLP1Az&nu77xa!9rU(?#o)aKd0RW)AH3`d5rFZum=o*Po^h!r# z+m8e(02_t$;-_BQb#%bj|K-t~ z!&+~*B!WO`Cs+-A*bTXS7D`-rEpsoGF~Nx2hOP+F8Jzo>R(BN^brq-U^Oojxoq2-0S)!K;Y&)@f3SV?W!=6ceY_Y z>sgHj?XX;_^F=@ z;HHxUNW?-bVZulyfWT&Y=7tkmE92{#rTKg%fd2<8K9xQ`rf?bn0000+! literal 0 HcmV?d00001 diff --git a/lib/twatch2021/twatch2021_config.h b/lib/twatch2021/twatch2021_config.h index 011fc1bc..c0195053 100644 --- a/lib/twatch2021/twatch2021_config.h +++ b/lib/twatch2021/twatch2021_config.h @@ -1,31 +1,67 @@ /** * BMA423 interrupts */ -#define BMA_INT_1 22 -#define BMA_INT_2 39 -/** - * motor Pin - */ -#define MOTOR_PIN 4 -/** - * Button pins - */ -#define BTN_1 0 -#define BTN_2 34 -#define BTN_3 35 -/** - * I2C pins - */ -#define IICSCL 25 -#define IICSDA 26 -/** - * touch pins - */ -#define Touch_Res 33 -#define Touch_Int 32 -/** - * power control pins - */ -#define CHARGE 2 -#define PWR_ON 5 -#define BAT_ADC 36 +#if defined( VERSION_2 ) + #define BMA_INT_1 32 + #define BMA_INT_2 32 + /** + * motor Pin + */ + #define MOTOR_PIN 4 + /** + * Button pins + */ + #define BTN_1 0 + #define BTN_2 34 + #define BTN_3 35 + /** + * I2C pins + */ + #define IICSCL 25 + #define IICSDA 26 + /** + * + */ + #define RTC_Int 32 + /** + * touch pins + */ + #define Touch_Res 33 + #define Touch_Int 32 + /** + * power control pins + */ + #define CHARGE 2 + #define PWR_ON 5 + #define BAT_ADC 36 +#else + #define BMA_INT_1 22 + #define BMA_INT_2 39 + /** + * motor Pin + */ + #define MOTOR_PIN 4 + /** + * Button pins + */ + #define BTN_1 0 + #define BTN_2 34 + #define BTN_3 35 + /** + * I2C pins + */ + #define IICSCL 25 + #define IICSDA 26 + /** + * touch pins + */ + #define Touch_Res 33 + #define Touch_Int 32 + /** + * power control pins + */ + #define CHARGE 2 + #define PWR_ON 5 + #define BAT_ADC 36 + +#endif diff --git a/platformio.ini b/platformio.ini index 5a97c9ed..42b8340a 100644 --- a/platformio.ini +++ b/platformio.ini @@ -248,7 +248,7 @@ lib_deps = h2zero/NimBLE-Arduino @ ^1.3.8 -[env:t-watch2021] +[env:t-watch2021-v1] ; overrides the default arduino-esp32 framework with an custom built arduino-esp32 framework ; the custom arduino-esp32 framework provides better power managment, dynamic frquency scaling and 80Mhz Flash/SPIRAM support ; built from https://github.com/Jason2866/esp32-arduino-lib-builder @@ -311,6 +311,70 @@ lib_deps = https://github.com/mobizt/ESP-Mail-Client h2zero/NimBLE-Arduino @ ^1.3.8 +[env:t-watch2021-v2] +; overrides the default arduino-esp32 framework with an custom built arduino-esp32 framework +; the custom arduino-esp32 framework provides better power managment, dynamic frquency scaling and 80Mhz Flash/SPIRAM support +; built from https://github.com/Jason2866/esp32-arduino-lib-builder +platform_packages = framework-arduinoespressif32 @ https://github.com/sharandac/arduino-esp32-hedge-ng +platform = espressif32@4.4.0 +board = esp32dev +framework = arduino +lib_archive = true +board_build.f_flash = 80000000L +board_build.flash_mode = qio +monitor_speed = 115200 +monitor_filters = + default + esp32_exception_decoder +; board_build.partitions = huge_app.csv +board_build.partitions = twatch2021_4MB.csv +board_build.embed_txtfiles = + src/gui/mainbar/setup_tile/time_settings/timezones.json + src/utils/osm_map/osmtileserver.json +build_type = release +build_flags = + -D BOARD_HAS_PSRAM + -mfix-esp32-psram-cache-issue + -DARDUNIO_NG + -DVERSION_2 + -DUSER_SETUP_LOADED=1 + -DGC9A01_DRIVER=1 + -DTFT_WIDTH=240 + -DTFT_HEIGHT=240 + -DTFT_MISO=-1 + -DTFT_MOSI=13 + -DTFT_SCLK=14 + -DTFT_CS=15 + -DTFT_DC=19 + -DTFT_RST=27 + -DTFT_LED=21 + -DSPI_FREQUENCY=80000000 + -D LILYGO_WATCH_2021 + -D LV_LVGL_H_INCLUDE_SIMPLE + -DCORE_DEBUG_LEVEL=3 + -D SERIAL_RX_BUFFER_SIZE=256 + -ffunction-sections + -fdata-sections + -Wl,--gc-sections + -Os +build_src_filter = + +<*> +lib_deps = + https://github.com/lvgl/lvgl.git#v7.11.0 + ESP Async WebServer@>=1.2.0 + AsyncTCP@>=1.1.1 + ArduinoJson@>=6.15.2 + luc-github/ESP32SSDP + nailbuster/ESP8266FtpServer + https://github.com/tobozo/ESP32-targz/archive/refs/heads/1.0.5-beta.zip + PubSubClient@>=2.8 + Bodmer/TFT_eSPI + mikalhart/TinyGPSPlus + https://github.com/lewisxhe/BMA423_Library + https://github.com/mprograms/QMC5883LCompass + https://github.com/mobizt/ESP-Mail-Client + h2zero/NimBLE-Arduino @ ^1.3.8 + [env:t-watch2020-v1] ; overrides the default arduino-esp32 framework with an custom built arduino-esp32 framework ; the custom arduino-esp32 framework provides better power managment, dynamic frquency scaling and 80Mhz Flash/SPIRAM support diff --git a/src/app/compass/compass_app.cpp b/src/app/compass/compass_app.cpp new file mode 100644 index 00000000..66a35e0b --- /dev/null +++ b/src/app/compass/compass_app.cpp @@ -0,0 +1,76 @@ +/**************************************************************************** + * Jul 05 17:13:51 2022 + * Copyright 2022 Dirk Brosswick + * Email: dirk.brosswick@googlemail.com + ****************************************************************************/ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#include "config.h" + +#include "compass_app.h" +#include "compass_app_main.h" + +#include "gui/mainbar/mainbar.h" +#include "gui/statusbar.h" +#include "gui/app.h" +#include "gui/widget_styles.h" +#include "gui/widget_factory.h" + +#ifdef NATIVE_64BIT + #include "utils/logging.h" + #include "utils/millis.h" +#else + #include +#endif + +lv_obj_t *compass_app_main_tile = NULL; +uint32_t compass_app_main_tile_num; +/* + * app icon + */ +icon_t *compass_app = NULL; +/* + * declare you images or fonts you need + */ +LV_IMG_DECLARE(compass_64px); +/* + * declare callback functions for the app + */ +static void compass_enter_app_event_cb( lv_obj_t * obj, lv_event_t event ); +/* + * setup routine for wifimon app + */ +void compass_app_setup( void ) { + + compass_app_main_tile_num = mainbar_add_app_tile( 1, 1, "compass" ); + compass_app_main_tile = mainbar_get_tile_obj( compass_app_main_tile_num ); + compass_app = app_register( "compass", &compass_64px, compass_enter_app_event_cb ); + compass_app_main_setup( compass_app_main_tile_num ); + +} + +uint32_t compass_app_get_app_main_tile_num( void ) { + return( compass_app_main_tile_num ); +} + +static void compass_enter_app_event_cb( lv_obj_t * obj, lv_event_t event ) { + switch( event ) { + case( LV_EVENT_CLICKED ): app_hide_indicator( compass_app ); + mainbar_jump_to_tilenumber( compass_app_main_tile_num, LV_ANIM_OFF, true ); + break; + } +} diff --git a/src/app/compass/compass_app.h b/src/app/compass/compass_app.h new file mode 100644 index 00000000..ffee0fc6 --- /dev/null +++ b/src/app/compass/compass_app.h @@ -0,0 +1,34 @@ +/**************************************************************************** + * Jul 05 17:13:51 2022 + * Copyright 2022 Dirk Brosswick + * Email: dirk.brosswick@googlemail.com + ****************************************************************************/ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#ifndef _COMPASS_APP_H + #define _COMPASS_APP_H + /** + * @brief tracker main setup function + */ + void compass_app_setup( void ); + /** + * @brief get the tracker app main tile numnber + * + * @return uint32_t + */ + uint32_t compass_app_get_app_main_tile_num( void ); +#endif // _COMPASS_APP_H \ No newline at end of file diff --git a/src/app/compass/compass_app_main.cpp b/src/app/compass/compass_app_main.cpp new file mode 100644 index 00000000..50b65414 --- /dev/null +++ b/src/app/compass/compass_app_main.cpp @@ -0,0 +1,127 @@ +/**************************************************************************** + * Aug 11 17:13:51 2020 + * Copyright 2020 Dirk Brosswick + * Email: dirk.brosswick@googlemail.com + ****************************************************************************/ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#include "config.h" + +#include "compass_app.h" +#include "compass_app_main.h" + +#include "gui/mainbar/mainbar.h" +#include "gui/statusbar.h" +#include "gui/app.h" +#include "gui/widget_styles.h" +#include "gui/widget_factory.h" + +#include "hardware/compass.h" + +#ifdef NATIVE_64BIT + #include "utils/logging.h" + #include "utils/millis.h" +#else + #include + #include "gui/mainbar/setup_tile/watchface/watchface_tile.h" +#endif +/** + * local lv obj + */ +lv_obj_t *compass_exit_btn = NULL; +lv_obj_t * compass_needle_img = NULL; +/** + * call back functions + */ +static bool compass_app_main_update_event_cb( EventBits_t event, void *arg ); +static void compass_app_main_activate_cb( void ); +static void compass_app_main_hibernate_cb( void ); +static bool compass_app_main_button_cb( EventBits_t event, void *arg ); +static bool compass_app_main_compass_event_cb( EventBits_t event, void *arg ); +/* + * + */ +LV_FONT_DECLARE(Ubuntu_16px); +LV_FONT_DECLARE(Ubuntu_32px); +LV_IMG_DECLARE(compass_needle_200px); +/* + * setup routine for wifimon app + */ +void compass_app_main_setup( uint32_t tile ) { + /** + * add exit, menu and setup button to the main app tile + */ + compass_exit_btn = wf_add_exit_button( mainbar_get_tile_obj( tile ) ); + lv_obj_align( compass_exit_btn, mainbar_get_tile_obj( tile ), LV_ALIGN_IN_BOTTOM_LEFT, THEME_PADDING, -THEME_PADDING ); + + compass_needle_img = lv_img_create( mainbar_get_tile_obj( tile ), NULL); + lv_img_set_src( compass_needle_img, &compass_needle_200px); + lv_obj_align( compass_needle_img, NULL, LV_ALIGN_CENTER, 0, 0 ); + + wf_label_printf( wf_add_label( mainbar_get_tile_obj( tile ), "", APP_ICON_LABEL_STYLE ), mainbar_get_tile_obj( tile ), LV_ALIGN_IN_TOP_MID, 0, THEME_PADDING, "N" ); + wf_label_printf( wf_add_label( mainbar_get_tile_obj( tile ), "", APP_ICON_LABEL_STYLE ), mainbar_get_tile_obj( tile ), LV_ALIGN_IN_RIGHT_MID, -THEME_PADDING, 0, "E" ); + wf_label_printf( wf_add_label( mainbar_get_tile_obj( tile ), "", APP_ICON_LABEL_STYLE ), mainbar_get_tile_obj( tile ), LV_ALIGN_IN_BOTTOM_MID, 0, -THEME_PADDING, "S" ); + wf_label_printf( wf_add_label( mainbar_get_tile_obj( tile ), "", APP_ICON_LABEL_STYLE ), mainbar_get_tile_obj( tile ), LV_ALIGN_IN_LEFT_MID, THEME_PADDING, 0, "W" ); + + compass_register_cb( COMPASS_UPDATE, compass_app_main_update_event_cb, "compass updates"); + mainbar_add_tile_activate_cb( tile, compass_app_main_activate_cb ); + mainbar_add_tile_hibernate_cb( tile, compass_app_main_hibernate_cb ); + mainbar_add_tile_button_cb( tile, compass_app_main_button_cb ); +} + +static bool compass_app_main_update_event_cb( EventBits_t event, void *arg ) { + switch( event ) { + case COMPASS_UPDATE: { + compass_data_t *compass_data = (compass_data_t*)arg; + lv_img_set_angle( compass_needle_img, compass_data->azimuth * 10 ); + break; + } + } + return( true ); +} + +/** + * @brief call back function for button if the current tile active + * + * @param event event like BUTTON_LEFT, BUTTON_RIGHT, ... + * @param arg here like NULL + * @return true + * @return false + */ +static bool compass_app_main_button_cb( EventBits_t event, void *arg ) { + switch( event ) { + case BUTTON_EXIT: + mainbar_jump_back(); + break; + } + return( true ); +} +/** + * @brief call back function if the current tile activate + * + */ +static void compass_app_main_activate_cb( void ) { + compass_on(); + compass_start_calibration(); +} +/** + * @brief call back function if the current tile hibernate + * + */ +static void compass_app_main_hibernate_cb( void ) { + compass_off(); +} diff --git a/src/app/compass/compass_app_main.h b/src/app/compass/compass_app_main.h new file mode 100644 index 00000000..91c064e4 --- /dev/null +++ b/src/app/compass/compass_app_main.h @@ -0,0 +1,28 @@ +/**************************************************************************** + * Jul 05 17:13:51 2022 + * Copyright 2022 Dirk Brosswick + * Email: dirk.brosswick@googlemail.com + ****************************************************************************/ + +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ +#ifndef _COMPASS_APP_MAIN_H + #define _COMPASS_APP_MAIN_H + /** + * @brief tracker main setup function + */ + void compass_app_main_setup( uint32_t tile ); +#endif // _COMPASS_APP_MAIN_H \ No newline at end of file diff --git a/src/app/compass/images/compass_64px.c b/src/app/compass/images/compass_64px.c new file mode 100644 index 00000000..5067f0db --- /dev/null +++ b/src/app/compass/images/compass_64px.c @@ -0,0 +1,377 @@ +#if defined(LV_LVGL_H_INCLUDE_SIMPLE) +#include "lvgl.h" +#else +#include "../lvgl/lvgl.h" +#endif + + +#ifndef LV_ATTRIBUTE_MEM_ALIGN +#define LV_ATTRIBUTE_MEM_ALIGN +#endif + +#ifndef LV_ATTRIBUTE_IMG_COMPASS_64PX +#define LV_ATTRIBUTE_IMG_COMPASS_64PX +#endif + +const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_COMPASS_64PX uint8_t compass_64px_map[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, + 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0x00, 0x40, 0x08, 0x06, 0x00, 0x00, 0x00, 0xaa, 0x69, 0x71, + 0xde, 0x00, 0x00, 0x00, 0x06, 0x62, 0x4b, 0x47, 0x44, 0x00, 0x4a, 0x00, 0x6d, 0x00, 0x18, 0xb8, + 0x63, 0x3b, 0xb2, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0d, 0xd7, 0x00, + 0x00, 0x0d, 0xd7, 0x01, 0x42, 0x28, 0x9b, 0x78, 0x00, 0x00, 0x00, 0x07, 0x74, 0x49, 0x4d, 0x45, + 0x07, 0xe6, 0x07, 0x05, 0x0b, 0x1a, 0x08, 0x3b, 0x94, 0xe3, 0x15, 0x00, 0x00, 0x15, 0x7a, 0x49, + 0x44, 0x41, 0x54, 0x78, 0xda, 0xcd, 0x9b, 0x79, 0x94, 0x1c, 0x55, 0xbd, 0xc7, 0x3f, 0xbf, 0x7b, + 0xab, 0xaa, 0xbb, 0xa7, 0x67, 0x32, 0x99, 0x4c, 0x12, 0x42, 0x12, 0x16, 0xc9, 0xca, 0x7e, 0x40, + 0x96, 0x04, 0x24, 0x4f, 0x16, 0xd9, 0x51, 0x96, 0xf8, 0x04, 0x4c, 0x10, 0x51, 0x40, 0x7d, 0xf0, + 0x08, 0x0a, 0x1c, 0x39, 0x28, 0x22, 0xc2, 0xf3, 0x41, 0xf0, 0x89, 0x8a, 0x28, 0x41, 0x13, 0x24, + 0x8a, 0xec, 0x5b, 0x64, 0xd3, 0x08, 0xbc, 0xb0, 0x24, 0x22, 0xe2, 0x0b, 0xf2, 0x48, 0x0c, 0x01, + 0xb2, 0x4e, 0x96, 0x61, 0x32, 0xfb, 0x4c, 0x77, 0x75, 0x55, 0xdd, 0xf7, 0x47, 0x55, 0x57, 0x57, + 0x75, 0xf7, 0x84, 0xf0, 0x00, 0xa5, 0xcf, 0xa9, 0xd3, 0x3d, 0xdd, 0xd5, 0xd3, 0xf7, 0xfb, 0xbb, + 0xbf, 0xe5, 0xfb, 0x5b, 0xae, 0x18, 0x63, 0xf8, 0xb0, 0x1e, 0x1b, 0xda, 0xb7, 0xe2, 0x38, 0xce, + 0x78, 0x60, 0x3a, 0xb0, 0x3f, 0xb0, 0x17, 0xb0, 0x3b, 0xd0, 0x0a, 0x8c, 0x00, 0xb2, 0xd1, 0xad, + 0x05, 0x60, 0x1b, 0xd0, 0x01, 0xac, 0x01, 0x5e, 0x07, 0x96, 0x03, 0x4b, 0x5d, 0xd7, 0xdd, 0x30, + 0x7e, 0xd4, 0xe8, 0x0f, 0x6d, 0x8d, 0xf2, 0x41, 0x0b, 0x60, 0x6b, 0x77, 0x97, 0x00, 0x87, 0x01, + 0x67, 0x00, 0x27, 0x89, 0xc8, 0x64, 0x4b, 0x69, 0x2c, 0xad, 0x50, 0x4a, 0xa1, 0x45, 0x21, 0x22, + 0xe1, 0x15, 0x7d, 0xc7, 0x00, 0xc6, 0x18, 0x8c, 0x31, 0xf8, 0x26, 0x20, 0x08, 0x02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0x95, 0x7b, 0x3f, 0xe6, 0x79, 0xdc, + 0xba, 0xea, 0x69, 0xae, 0xbd, 0xf7, 0x44, 0xf6, 0x78, 0xed, 0x2a, 0x02, 0x43, 0x0c, 0xde, 0xdd, + 0x65, 0x26, 0x0b, 0x77, 0xfd, 0x97, 0xf4, 0x4e, 0xfb, 0x06, 0x3a, 0xfc, 0x58, 0x13, 0x5a, 0x34, + 0xdc, 0xfa, 0x71, 0x9b, 0x35, 0x17, 0x36, 0x31, 0xef, 0xac, 0x3c, 0x68, 0xe1, 0xfe, 0xad, 0x86, + 0xb7, 0x36, 0x78, 0xf1, 0x8f, 0x47, 0x1b, 0x7d, 0x06, 0x80, 0x6a, 0xef, 0xec, 0x44, 0x90, 0x93, + 0x44, 0x24, 0x5e, 0xdb, 0x9f, 0x5e, 0x2b, 0xc5, 0xce, 0xee, 0xe0, 0xbb, 0x06, 0xb9, 0xf8, 0xb7, + 0x03, 0x78, 0x01, 0x5c, 0x71, 0x74, 0x26, 0x94, 0x2e, 0x32, 0x44, 0xa8, 0x4b, 0xec, 0xbc, 0x00, + 0xdb, 0x0a, 0x61, 0xda, 0x18, 0x83, 0x8f, 0x76, 0x18, 0x13, 0xda, 0x7f, 0xf9, 0x07, 0x4b, 0xe1, + 0x3d, 0xdf, 0xd8, 0xfa, 0x06, 0x0b, 0x1f, 0x9b, 0xc3, 0x11, 0xff, 0x3d, 0x13, 0x5d, 0x5c, 0x91, + 0x02, 0xef, 0x38, 0xf0, 0xdc, 0x01, 0xff, 0xce, 0x3a, 0xcb, 0xa9, 0xf2, 0x3d, 0x12, 0x0a, 0xa1, + 0xd3, 0x87, 0x00, 0xfe, 0x74, 0x56, 0x03, 0xc7, 0xec, 0xe3, 0x70, 0xdf, 0xb2, 0x02, 0x7b, 0x2e, + 0xe8, 0x8f, 0x4d, 0xe1, 0xa5, 0x15, 0x15, 0x33, 0x08, 0x2b, 0xd2, 0x72, 0x52, 0x7b, 0x67, 0x27, + 0xd2, 0xd5, 0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55, 0x6f, 0x90, 0x5b, 0x22, 0xac, 0xf5, 0xba, 0xc3, 0x32, 0x57, 0x2b, + 0xdd, 0x51, 0xee, 0x11, 0x68, 0x0d, 0x97, 0x9e, 0x66, 0x61, 0x97, 0x12, 0xf3, 0x38, 0x7e, 0xe5, + 0xba, 0x75, 0x1f, 0x8b, 0x45, 0x47, 0x38, 0xa1, 0x20, 0x6c, 0x81, 0x5d, 0x9d, 0xb0, 0x7c, 0x5e, + 0x5d, 0xb7, 0x57, 0x75, 0x28, 0xad, 0xaa, 0x33, 0x4c, 0x51, 0x53, 0xe2, 0xda, 0x4e, 0x21, 0x16, + 0x58, 0x74, 0x54, 0x96, 0x0b, 0xc6, 0xe8, 0xda, 0xdd, 0xf7, 0x0c, 0x8e, 0x6f, 0xb8, 0xf4, 0x14, + 0x8d, 0xd6, 0x95, 0x5e, 0x80, 0x56, 0xba, 0x03, 0x64, 0xee, 0x90, 0x03, 0x12, 0x39, 0xc7, 0xe9, + 0x14, 0xb8, 0xda, 0xb1, 0x2a, 0x13, 0xa0, 0xbb, 0xed, 0xac, 0x98, 0x7f, 0xa2, 0x0e, 0x8b, 0x1c, + 0xb1, 0x10, 0x60, 0xee, 0x54, 0x8b, 0xb3, 0xa6, 0x65, 0x58, 0xf4, 0x7a, 0xa9, 0x22, 0x7d, 0x4b, + 0x60, 0x9c, 0x1d, 0x92, 0x98, 0x21, 0xc1, 0x27, 0x00, 0x25, 0x4d, 0x40, 0xa8, 0x52, 0xf9, 0x21, + 0x12, 0x9f, 0xc4, 0x63, 0xfd, 0x36, 0x9f, 0x1b, 0x4e, 0xcf, 0x33, 0x67, 0x9c, 0x4e, 0x81, 0xc7, + 0x33, 0xfc, 0xf2, 0x18, 0x95, 0x62, 0x7e, 0x8e, 0x65, 0x23, 0x70, 0x75, 0xce, 0x71, 0x3a, 0xdf, + 0x6d, 0x42, 0xe4, 0x36, 0x25, 0xb2, 0xd4, 0x56, 0x3a, 0xf6, 0xf2, 0xc7, 0x4f,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0xb9, 0x6c, 0xf6, 0x43, 0x5b, 0xe3, 0xff, 0x01, 0xda, 0x98, 0x4c, 0x62, 0x1c, 0x49, 0x80, + 0x6f, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, 0xae, 0x42, 0x60, 0x82, +}; + +const lv_img_dsc_t compass_64px = { + .header.always_zero = 0, + .header.w = 64, + .header.h = 64, + .data_size = 5613, + .header.cf = LV_IMG_CF_RAW_ALPHA, + .data = compass_64px_map, +}; diff --git a/src/app/compass/images/compass_needle_200px.c b/src/app/compass/images/compass_needle_200px.c new file mode 100644 index 00000000..3a2849d8 --- /dev/null +++ b/src/app/compass/images/compass_needle_200px.c @@ -0,0 +1,335 @@ +#if defined(LV_LVGL_H_INCLUDE_SIMPLE) +#include "lvgl.h" +#else +#include "../lvgl/lvgl.h" +#endif + + +#ifndef LV_ATTRIBUTE_MEM_ALIGN +#define LV_ATTRIBUTE_MEM_ALIGN +#endif + +#ifndef LV_ATTRIBUTE_IMG_COMPASS_NEEDLE_200PX +#define LV_ATTRIBUTE_IMG_COMPASS_NEEDLE_200PX +#endif + +const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMG_COMPASS_NEEDLE_200PX uint8_t compass_needle_200px_map[] = { + 0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a, 0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52, + 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0xc8, 0x08, 0x06, 0x00, 0x00, 0x00, 0xf2, 0x49, 0x21, + 0xd7, 0x00, 0x00, 0x00, 0x06, 0x62, 0x4b, 0x47, 0x44, 0x00, 0x4a, 0x00, 0x6d, 0x00, 0x18, 0xb8, + 0x63, 0x3b, 0xb2, 0x00, 0x00, 0x00, 0x09, 0x70, 0x48, 0x59, 0x73, 0x00, 0x00, 0x0b, 0x13, 0x00, + 0x00, 0x0b, 0x13, 0x01, 0x00, 0x9a, 0x9c, 0x18, 0x00, 0x00, 0x00, 0x07, 0x74, 0x49, 0x4d, 0x45, + 0x07, 0xe6, 0x07, 0x05, 0x0b, 0x04, 0x00, 0xe1, 0x0e, 0x54, 0xf8, 0x00, 0x00, 0x12, 0xd1, 0x49, + 0x44, 0x41, 0x54, 0x78, 0xda, 0xb5, 0x9b, 0x69, 0x70, 0x64, 0x57, 0x75, 0xc7, 0xff, 0xe7, 0xbe, + 0xa5, 0x37, 0xb5, 0x5a, 0x6a, 0xed, 0xeb, 0x48, 0x9a, 0x91, 0x66, 0xec, 0xc1, 0x83, 0x87, 0x31, + 0x66, 0x3c, 0xc1, 0x09, 0xd8, 0x65, 0x02, 0x81, 0x84, 0x32, 0x21, 0x95, 0x22, 0xb6, 0xe3, 0x90, + 0x84, 0x40, 0xa5, 0x2a, 0x18, 0x3e, 0x40, 0x12, 0x07, 0x08, 0x60, 0x06, 0x1c, 0x07, 0x2a, 0xa4, + 0x42, 0xa8, 0x22, 0x05, 0x95, 0x0f, 0x40, 0x42, 0xaa, 0x48, 0x80, 0x04, 0x3b, 0x2c, 0x76, 0x82, + 0x03, 0x89, 0x13, 0x1b, 0x03, 0x5e, 0x67, 0xa4, 0xd1, 0x48, 0x33, 0xda, 0x77, 0xb5, 0xa4, 0xde, + 0xdf, 0xbb, 0xe7, 0xe4, 0xc3, 0x7b, 0xad, 0xb5, 0x25, 0xbd, 0x6e, 0x35, 0x6f, 0xaa, 0x4b, 0x55, + 0x9a, 0xd7, 0xef, 0xf7, 0xee, 0x39, 0xe7, 0x9e, 0xf5, 0xca, 0x40, 0xc0, 0xeb, 0x9f, 0xff, 0xf8, + 0x41, 0x7a, 0x5d, 0xdf, 0xc0, 0x27, 0xdf, 0x30, 0x74, 0xc3, 0xff, 0x7c, 0xe7, 0xd2, 0x8b, 0x6e, + 0xd0, 0xef, 0xa9, 0xa0, 0x37, 0x4e, 0x5e, 0x19, 0x31, 0x39, 0xbd, 0xf1, 0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, 0xb3, 0x59, 0x10, 0x33, 0x88, 0x08, 0xc4, 0x0c, 0x64, 0xb3, 0xb5, 0xd5, 0xc1, + 0x9d, 0xf7, 0xde, 0xd7, 0x62, 0x5a, 0xb6, 0x05, 0x11, 0x18, 0x10, 0x98, 0x2c, 0xb5, 0x05, 0x2c, + 0x4e, 0x4e, 0xdf, 0x65, 0x9a, 0x66, 0x42, 0x88, 0x20, 0xac, 0x11, 0x4d, 0xc4, 0xfb, 0x9f, 0x7c, + 0xf7, 0x03, 0xb5, 0x03, 0x8c, 0x5f, 0x1a, 0x8e, 0x22, 0x9b, 0x53, 0x0c, 0x86, 0x22, 0x82, 0x28, + 0x7a, 0xc3, 0xda, 0xf2, 0x22, 0xd5, 0x6c, 0xa3, 0xe5, 0x53, 0x2b, 0x88, 0x08, 0xfb, 0x6f, 0x44, + 0xc8, 0xa7, 0xd6, 0x93, 0xd9, 0x5c, 0x9e, 0x00, 0xc8, 0x91, 0x57, 0xf0, 0xbd, 0x4f, 0x7c, 0x02, + 0x91, 0xba, 0x98, 0xc9, 0xda, 0x53, 0x32, 0x58, 0x60, 0xba, 0x2e, 0x8c, 0x42, 0xa1, 0x36, 0x22, + 0xba, 0x3e, 0x3e, 0x86, 0x96, 0x9e, 0xee, 0xd7, 0x1a, 0x8a, 0x00, 0xf6, 0xa4, 0x62, 0x8a, 0xd0, + 0x89, 0xdb, 0x2f, 0x98, 0x35, 0x01, 0x4c, 0x5f, 0x9f, 0x40, 0x21, 0x9d, 0xbe, 0x00, 0xd6, 0x00, + 0x04, 0x04, 0x82, 0x6d, 0x18, 0xb1, 0x42, 0x36, 0x7b, 0xae, 0x26, 0x80, 0xd1, 0xcb, 0x23, 0x58, + 0x9a, 0x9c, 0x26, 0x02, 0x01, 0x24, 0x20, 0x61, 0x90, 0xeb, 0x44, 0x96, 0xa6, 0x26, 0x87, 0x6a, + 0x02, 0x08, 0x85, 0xc2, 0x30, 0xb4, 0x40, 0x95, 0xd4, 0x49, 0x80, 0xa1, 0x99, 0xb2, 0x8b, 0x8b, + 0xa1, 0x9a, 0x00, 0xee, 0xfe, 0x9d, 0xfb, 0x43, 0x86, 0x69, 0x18, 0x4c, 0x1e, 0x41, 0x00, 0x28, + 0x01, 0x6c, 0x97, 0xe5, 0x5c, 0x57, 0xf7, 0xd1, 0x01, 0x23, 0x2f, 0xbd, 0x74, 0xbb, 0x1d, 0x0e, + 0xb5, 0x80, 0x18, 0x10, 0x05, 0x08, 0x81, 0x84, 0x10, 0x4b, 0x34, 0x34, 0x7c, 0xf1, 0x9e, 0x77, + 0xd6, 0x40, 0xc9, 0x63, 0x57, 0xdb, 0xa8, 0x90, 0xb7, 0x95, 0x10, 0x40, 0x0c, 0x40, 0x20, 0x10, + 0x50, 0x24, 0x7a, 0xf7, 0xfc, 0xcc, 0xdc, 0xd1, 0x37, 0xda, 0xf2, 0xe4, 0x14, 0x12, 0x4e, 0x11, + 0x4a, 0xd4, 0xe6, 0xae, 0x22, 0x02, 0xd2, 0x8b, 0xcb, 0x5d, 0x85, 0x8d, 0xf4, 0xd1, 0x56, 0xf0, + 0xfd, 0x8b, 0x17, 0x61, 0xd9, 0xa6, 0xda, 0xb1, 0x5f, 0x3d, 0x63, 0x82, 0xed, 0xba, 0xa0, 0x6c, + 0xee, 0x68, 0x80, 0xc5, 0xf9, 0x05, 0x74, 0x0c, 0x1c, 0x1f, 0xa2, 0x5d, 0x1e, 0x41, 0x01, 0xb0, + 0x1c, 0x8d, 0xe6, 0x81, 0x63, 0x47, 0x03, 0x4c, 0x8c, 0x8d, 0x43, 0x3b, 0xee, 0xdd, 0xf0, 0xdd, + 0x33, 0x11, 0x81, 0x04, 0x20, 0x66, 0x58, 0xb6, 0x19, 0x4d, 0x74, 0x77, 0xf7, 0x1c, 0x49, 0x07, + 0x63, 0x57, 0x46, 0x81, 0x42, 0xde, 0x8c, 0xfa, 0x06, 0x4a, 0x54, 0x5a, 0x8b, 0x80, 0x84, 0x9b, + 0xe6, 0xaf, 0x8d, 0xbf, 0x06, 0xc0, 0x64, 0xd5, 0x80, 0x4c, 0x6a, 0x15, 0x61, 0x66, 0x50, 0x49, + 0xb3, 0xa5, 0x08, 0x47, 0x04, 0x2a, 0x3a, 0xb4, 0x36, 0x35, 0x1b, 0x3a, 0x92, 0x88, 0xbe, 0x3a, + 0x3f, 0x0b, 0x93, 0x40, 0x28, 0xa3, 0x03, 0x82, 0xc0, 0xf6, 0x5d, 0x78, 0xd5, 0x80, 0xcf, 0xff, + 0xfe, 0xef, 0x9d, 0xb6, 0xeb, 0xe3, 0x2d, 0xe4, 0x6f, 0x61, 0x66, 0x06, 0x91, 0xf7, 0x25, 0xc5, + 0x82, 0xb0, 0x52, 0xc6, 0xc4, 0xc3, 0x9f, 0xad, 0x1e, 0x30, 0x75, 0x75, 0x7c, 0x50, 0x39, 0xba, + 0x71, 0x67, 0xe8, 0xf2, 0x62, 0x02, 0x81, 0x10, 0x69, 0x6b, 0x7b, 0xf3, 0xe8, 0xc8, 0x95, 0xea, + 0x95, 0x3c, 0x35, 0x72, 0x05, 0x89, 0x7c, 0xde, 0x53, 0xab, 0xc8, 0xe6, 0x4f, 0xf1, 0x89, 0xeb, + 0x2b, 0xcb, 0x37, 0x2d, 0x66, 0xd3, 0xd5, 0xad, 0xe0, 0xd1, 0x8f, 0x7e, 0x1c, 0x96, 0x00, 0x90, + 0xbd, 0x51, 0x51, 0x7c, 0x1d, 0x18, 0x45, 0x47, 0x51, 0x2e, 0x5f, 0x1d, 0x40, 0x33, 0xa3, 0xf9, + 0xf8, 0x40, 0x13, 0x6d, 0x7b, 0x7b, 0x22, 0xf2, 0xad, 0x89, 0x00, 0x61, 0x98, 0x45, 0x07, 0x56, + 0xa1, 0x58, 0x1d, 0xe0, 0xca, 0xa5, 0x4b, 0x08, 0xd9, 0xf6, 0xbd, 0xe5, 0x56, 0x00, 0x00, 0x06, + 0x00, 0xdb, 0x34, 0xec, 0x93, 0x6f, 0x7e, 0x63, 0xac, 0x2a, 0xc0, 0xb5, 0xd1, 0x51, 0x2c, 0xcf, + 0xcc, 0x34, 0x60, 0x57, 0x72, 0xe2, 0xbf, 0x3f, 0x00, 0x81, 0xa1, 0x54, 0xe7, 0xd2, 0xb5, 0x89, + 0x73, 0x55, 0x29, 0x79, 0x75, 0x76, 0x16, 0xb6, 0x30, 0x12, 0x28, 0x93, 0xfe, 0x88, 0x78, 0x2e, + 0xa3, 0xe0, 0x84, 0x26, 0x47, 0x46, 0x93, 0xd5, 0xad, 0x60, 0x6e, 0x06, 0xa6, 0xf6, 0xec, 0x9d, + 0xb6, 0xed, 0x62, 0xf1, 0x43, 0xbf, 0x01, 0x00, 0xac, 0x11, 0x66, 0x5d, 0x9d, 0x0e, 0xfe, 0xf0, + 0x03, 0x1f, 0x68, 0x89, 0x36, 0x26, 0x1a, 0x88, 0x68, 0x6f, 0x7a, 0x45, 0x80, 0x10, 0x41, 0x09, + 0xc3, 0x66, 0xc1, 0xf4, 0xa7, 0x3f, 0x57, 0x39, 0x60, 0x62, 0x64, 0xe4, 0x0c, 0x91, 0xf4, 0x31, + 0x34, 0x64, 0x17, 0xc1, 0x73, 0x7a, 0x04, 0x03, 0x82, 0xfa, 0x8e, 0xd6, 0xf3, 0xd7, 0x46, 0x86, + 0x2b, 0xd7, 0xc1, 0xf0, 0xf3, 0x2f, 0xa8, 0x68, 0x66, 0x03, 0x61, 0x2f, 0x40, 0xee, 0xd9, 0x09, + 0x42, 0x00, 0x69, 0x41, 0x3e, 0x9d, 0xbd, 0x3d, 0x3b, 0x3d, 0x53, 0xd9, 0x0a, 0x3e, 0x75, 0xff, + 0xfd, 0xe0, 0x42, 0x0e, 0x60, 0x06, 0xb8, 0x9c, 0x8e, 0x05, 0x10, 0x40, 0x89, 0x81, 0xc2, 0xfa, + 0x46, 0x74, 0x6d, 0x71, 0xa9, 0x32, 0xc0, 0xab, 0x4f, 0x9d, 0x42, 0xb2, 0xbb, 0x27, 0x42, 0xcc, + 0x3b, 0xdc, 0xf4, 0x9e, 0x8b,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x7b, 0x5c, 0xc5, 0xce, + 0x37, 0x24, 0xa4, 0x97, 0x56, 0x92, 0xf9, 0xd4, 0x5a, 0xb0, 0x15, 0x3c, 0x71, 0xf1, 0x61, 0xd4, + 0x37, 0x36, 0x18, 0x06, 0x04, 0x04, 0xb5, 0x19, 0xcd, 0xf6, 0x05, 0x88, 0xc0, 0x76, 0x5c, 0xb1, + 0x8b, 0x4e, 0x30, 0xc0, 0xf8, 0xd8, 0x35, 0x74, 0xf5, 0x0d, 0xdc, 0x46, 0x2c, 0x80, 0x3a, 0xdc, + 0x8e, 0x48, 0x00, 0x9b, 0x85, 0x8c, 0xb5, 0x4c, 0x30, 0xc0, 0xcc, 0xe4, 0x14, 0xb2, 0xeb, 0xe9, + 0x3b, 0x48, 0x00, 0xed, 0x87, 0xf7, 0x43, 0x01, 0x91, 0x70, 0x77, 0xf7, 0x1b, 0x5f, 0xd7, 0x19, + 0x48, 0x07, 0xa3, 0x97, 0x5e, 0x86, 0xa1, 0x5d, 0xaa, 0x57, 0x02, 0x62, 0x81, 0x02, 0xe1, 0xa0, + 0xfc, 0x8d, 0x20, 0x60, 0xc7, 0xe9, 0x9d, 0x19, 0x1d, 0x3b, 0x06, 0x60, 0xe6, 0x50, 0x80, 0x72, + 0x0a, 0x30, 0x98, 0x01, 0x11, 0xa8, 0x52, 0xef, 0xef, 0x40, 0x35, 0x08, 0xa8, 0x58, 0x44, 0x76, + 0x79, 0x59, 0x05, 0x12, 0xd1, 0xdf, 0xcf, 0x4e, 0xc1, 0xb0, 0x0c, 0x03, 0xe4, 0x27, 0x59, 0x72, + 0x78, 0x67, 0x45, 0xb1, 0xc0, 0x74, 0x34, 0x3a, 0x63, 0xf1, 0xc3, 0x01, 0x7f, 0x75, 0xdf, 0xbd, + 0x03, 0xd1, 0xa6, 0xe4, 0xcd, 0x54, 0x4a, 0xdf, 0x28, 0x88, 0xa2, 0x19, 0x89, 0xd6, 0x96, 0xfa, + 0xc7, 0xde, 0xfb, 0x81, 0xc3, 0x01, 0x53, 0x57, 0x47, 0xeb, 0xdd, 0x74, 0x3a, 0xa9, 0x7c, 0x1b, + 0x0f, 0x72, 0x19, 0x00, 0xcc, 0x70, 0xe4, 0xed, 0xf3, 0x93, 0x93, 0x87, 0x2b, 0x79, 0xe1, 0xfa, + 0x04, 0xe2, 0x45, 0x0d, 0x5b, 0x7c, 0xaf, 0x1f, 0x40, 0x44, 0x24, 0x82, 0x8d, 0xc5, 0xc5, 0x9e, + 0x62, 0x2a, 0x75, 0xf0, 0x0a, 0xbe, 0xf7, 0xd0, 0x27, 0x11, 0x8d, 0xc4, 0x94, 0xf2, 0x1f, 0xca, + 0x04, 0x20, 0x40, 0x93, 0x57, 0x09, 0x40, 0x99, 0x2c, 0x64, 0x7d, 0xfd, 0x60, 0xc0, 0xf2, 0xe2, + 0x22, 0x7a, 0x87, 0x4e, 0xf6, 0x2a, 0x91, 0x4d, 0xf3, 0x0f, 0xe2, 0xb4, 0x95, 0x00, 0x61, 0x00, + 0x51, 0xc3, 0x3c, 0x18, 0x30, 0x31, 0x3e, 0x06, 0x5d, 0x28, 0xdc, 0x4b, 0x12, 0xbc, 0x27, 0x57, + 0x12, 0x91, 0x15, 0x0e, 0x35, 0xf5, 0xde, 0x75, 0x47, 0xec, 0x40, 0x1d, 0x5c, 0xbd, 0x7a, 0x05, + 0x70, 0x5c, 0x23, 0x12, 0xa8, 0x97, 0xb5, 0x2b, 0x8d, 0x51, 0x38, 0x33, 0x3b, 0x3a, 0xda, 0x0f, + 0xe0, 0xc5, 0x7d, 0x01, 0xb9, 0xd5, 0x55, 0x18, 0x22, 0x88, 0x60, 0x3b, 0xe1, 0xb0, 0x3a, 0x8c, + 0xa0, 0x84, 0x80, 0x4c, 0xde, 0x5c, 0x9f, 0x9c, 0x31, 0x0f, 0x14, 0x51, 0x38, 0x16, 0x83, 0xa1, + 0x75, 0xf0, 0x96, 0xfc, 0x36, 0x08, 0x31, 0x43, 0x15, 0x8b, 0x07, 0xeb, 0xe0,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0x85, 0x39, 0xfc, 0xd2, 0xe5, 0x48, 0x5d, 0x73, + 0xcb, 0xed, 0xce, 0xd2, 0x2a, 0x44, 0x31, 0x04, 0xca, 0xaf, 0xcd, 0x64, 0xdb, 0x48, 0xc5, 0x2b, + 0x74, 0x1c, 0xc3, 0x40, 0x51, 0x0c, 0x18, 0x7e, 0x7d, 0xbc, 0xab, 0x91, 0xea, 0x2f, 0x42, 0xc0, + 0x8a, 0x90, 0xe8, 0xe9, 0x0a, 0x3d, 0xfd, 0xd6, 0x8b, 0x30, 0xaf, 0x4c, 0x2f, 0x59, 0x1b, 0x05, + 0x75, 0x32, 0x5f, 0xd7, 0xec, 0x87, 0x37, 0xef, 0x66, 0xda, 0x66, 0xdf, 0x42, 0x04, 0x26, 0x46, + 0xb8, 0xbe, 0x65, 0xa9, 0xd0, 0xd4, 0x3a, 0x67, 0xc0, 0x28, 0x2d, 0x12, 0xb2, 0xab, 0x4e, 0x17, + 0x80, 0x5c, 0xc5, 0xf9, 0x44, 0x47, 0xb2, 0xa1, 0x98, 0xc9, 0x4e, 0x9a, 0x23, 0x66, 0x02, 0x6b, + 0xb6, 0x81, 0xf5, 0x58, 0x04, 0xca, 0x9f, 0x17, 0x8b, 0xec, 0x52, 0xa5, 0x00, 0xae, 0x12, 0x2c, + 0x0f, 0x5e, 0x98, 0xbd, 0xf6, 0x0b, 0x77, 0x2d, 0x15, 0xa0, 0xe2, 0xbb, 0xba, 0x09, 0x3b, 0x34, + 0x6e, 0x71, 0x21, 0xd7, 0x56, 0x67, 0xad, 0x27, 0x13, 0x31, 0x98, 0xad, 0x27, 0x4e, 0xb8, 0xe9, + 0xb1, 0xc9, 0xeb, 0xcb, 0x19, 0xf3, 0x44, 0x69, 0xf4, 0xb0, 0xdb, 0x9b, 0x8a, 0x0f, 0x88, 0x37, + 0x75, 0xbd, 0x62, 0x29, 0xda, 0x42, 0x39, 0xcb, 0x3e, 0x28, 0x4b, 0x42, 0x42, 0xe7, 0x38, 0x56, + 0x47, 0x76, 0x73, 0xb2, 0x1e, 0xea, 0x97, 0x6e, 0x7b, 0x4d, 0x66, 0x7a, 0x66, 0xf1, 0x31, 0x6f, + 0xa5, 0xde, 0x2e, 0x66, 0x30, 0x18, 0xda, 0xff, 0x30, 0x18, 0x04, 0x28, 0x05, 0x18, 0x20, 0x31, + 0x05, 0x42, 0x5e, 0xe7, 0xb7, 0xf4, 0x41, 0x69, 0x70, 0x41, 0x25, 0x3d, 0xb8, 0x18, 0x4f, 0xad, + 0xad, 0x7d, 0xf4, 0x42, 0x1b, 0xcc, 0x8f, 0x3d, 0xfc, 0xd7, 0x10, 0x10, 0x0b, 0x99, 0x9e, 0x80, + 0x04, 0x50, 0xbb, 0x5d, 0x05, 0x11, 0x98, 0xd9, 0xfb, 0x7f, 0xc6, 0xd6, 0x14, 0x04, 0x7b, 0x5b, + 0x19, 0x04, 0x78, 0x2e, 0x5b, 0x3c, 0x57, 0x61, 0x9a, 0x86, 0x77, 0x83, 0x5b, 0x8a, 0xc7, 0x7e, + 0x38, 0xdb, 0x8a, 0x09, 0xde, 0x38, 0xc5, 0xb3, 0x71, 0x05, 0x05, 0x03, 0x10, 0x82, 0xd0, 0xfe, + 0xf1, 0x39, 0x42, 0xe2, 0x26, 0x6c, 0x6f, 0x86, 0xae, 0x4e, 0x0e, 0x9e, 0xc0, 0x89, 0xfe, 0x63, + 0x42, 0xe4, 0x65, 0x07, 0x1a, 0xe2, 0x57, 0xf7, 0xdb, 0xdf, 0x92, 0x36, 0x0d, 0x53, 0x20, 0x87, + 0x78, 0x5a, 0x81, 0x65, 0x98, 0x4f, 0x77, 0x37, 0x36, 0xa4, 0x01, 0x40, 0xf5, 0x76, 0x77, 0xa0, + 0xa9, 0x31, 0xf1, 0x5d, 0x08, 0x4b, 0x69, 0xab, 0xee, 0x71, 0xa6, 0x24, 0x7e, 0x72, 0xc2, 0x9b, + 0x91, 0x0b, 0xfb, 0x6c, 0x35, 0x82, 0x8b, 0xac, 0xe3, 0xbc,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x3f, 0xd7, 0xde, 0xd6, 0x5c, 0x7b, 0xc0, 0xea, 0x5a, 0xfa, 0x29, 0x05, 0xde, 0xb0, 0xb9, 0xe8, + 0x3e, 0x78, 0xae, 0x0d, 0x35, 0x07, 0x7c, 0xfb, 0x27, 0xc3, 0x9a, 0xb4, 0x5b, 0xb0, 0xb4, 0x93, + 0x46, 0x05, 0x57, 0x60, 0x40, 0x43, 0x34, 0x04, 0x93, 0xdd, 0xb5, 0xe6, 0x78, 0xf8, 0xa9, 0x9f, + 0x0b, 0xe0, 0xa6, 0x93, 0x03, 0x48, 0xc4, 0x42, 0x2b, 0x61, 0xc2, 0x48, 0x25, 0x80, 0xc0, 0x66, + 0x7a, 0xe6, 0x86, 0x13, 0x5a, 0x2b, 0xe3, 0xeb, 0x99, 0xa5, 0xf9, 0x7c, 0x25, 0x80, 0xff, 0x07, + 0x2b, 0x3e, 0x95, 0x3e, 0x3e, 0xa6, 0x70, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x49, 0x45, 0x4e, 0x44, + 0xae, 0x42, 0x60, 0x82, +}; + +const lv_img_dsc_t compass_needle_200px = { + .header.always_zero = 0, + .header.w = 24, + .header.h = 200, + .data_size = 4932, + .header.cf = LV_IMG_CF_RAW_ALPHA, + .data = compass_needle_200px_map, +}; diff --git a/src/config.h b/src/config.h index e1ff6b43..9c996c1b 100644 --- a/src/config.h +++ b/src/config.h @@ -86,7 +86,7 @@ /** * firmeware version string */ - #define __FIRMWARE__ "2022070101" + #define __FIRMWARE__ "2022070401" /** * Allows to include config.h from C code */ diff --git a/src/hardware/button.cpp b/src/hardware/button.cpp index a97be299..8fe32a80 100644 --- a/src/hardware/button.cpp +++ b/src/hardware/button.cpp @@ -432,11 +432,7 @@ bool button_powermgm_event_cb( EventBits_t event, void *arg ) { break; } #elif defined( M5CORE2 ) - switch( event ) { - case POWERMGM_STANDBY: log_i("standby blocked"); - retval = false; - break; - } + retval = true; #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) retval = true; #elif defined( LILYGO_WATCH_2021 ) diff --git a/src/hardware/compass.cpp b/src/hardware/compass.cpp index f5802ccd..9b6632d9 100644 --- a/src/hardware/compass.cpp +++ b/src/hardware/compass.cpp @@ -22,9 +22,11 @@ #include "config.h" #include "compass.h" #include "powermgm.h" +#include "callback.h" #ifdef NATIVE_64BIT #include "utils/logging.h" + #include "utils/millis.h" #else #if defined( M5PAPER ) #include @@ -41,62 +43,256 @@ #endif #endif +static bool compass_init = false; +static bool compass_active = false; +static bool compass_calibrated = false; +static int64_t compass_calibration = 0; +callback_t *compass_callback = NULL; +static int calibrationData[3][2]; + +static void compass_calibration_loop( compass_data_t *compass_data ); +static bool compass_get_data( compass_data_t *compass_data ); static bool compass_powermgm_event_cb( EventBits_t event, void *arg ); static bool compass_powermgm_loop_event_cb( EventBits_t event, void *arg ); +static bool compass_send_event_cb( EventBits_t event, void *arg ); void compass_setup( void ) { - #if defined( M5PAPER ) - #elif defined( M5CORE2 ) - #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) - #elif defined( LILYGO_WATCH_2021 ) - compass.init(); - #else - #endif - powermgm_register_loop_cb( POWERMGM_STANDBY | POWERMGM_WAKEUP | POWERMGM_SILENCE_WAKEUP, compass_powermgm_event_cb, "compass powermgm event" ); - powermgm_register_cb( POWERMGM_STANDBY | POWERMGM_WAKEUP | POWERMGM_SILENCE_WAKEUP, compass_powermgm_loop_event_cb, "compass powermgm loop event" ); + #ifdef NATIVE_64BIT + #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + compass.init(); + compass_off(); + #else + #endif + #endif + powermgm_register_loop_cb( POWERMGM_STANDBY | POWERMGM_WAKEUP | POWERMGM_SILENCE_WAKEUP, compass_powermgm_loop_event_cb, "compass powermgm event" ); + powermgm_register_cb( POWERMGM_STANDBY | POWERMGM_WAKEUP | POWERMGM_SILENCE_WAKEUP, compass_powermgm_event_cb, "compass powermgm loop event" ); + + compass_init = true; } static bool compass_powermgm_event_cb( EventBits_t event, void *arg ) { - switch( event ) { - case POWERMGM_STANDBY: - break; - case POWERMGM_WAKEUP: - break; - case POWERMGM_SILENCE_WAKEUP: - break; - default: - break; - } + #ifdef NATIVE_64BIT + #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + switch( event ) { + case POWERMGM_STANDBY: + compass_off(); + break; + case POWERMGM_WAKEUP: + compass_off(); + break; + case POWERMGM_SILENCE_WAKEUP: + compass_off(); + break; + default: + break; + } + #else + #endif + #endif return( true ); } static bool compass_powermgm_loop_event_cb( EventBits_t event, void *arg ) { - switch( event ) { - case POWERMGM_STANDBY: - break; - case POWERMGM_WAKEUP: - break; - case POWERMGM_SILENCE_WAKEUP: - break; - default: - break; + static int64_t nextmillis = millis() + COMPASS_UPDATE_INTERVAL; + + if( compass_calibration != 0 ) { + if( compass_calibration < millis() ) { + compass_calibration = 0; + log_i("x = %d/%d", calibrationData[0][0], calibrationData[0][1] ); + log_i("y = %d/%d", calibrationData[1][0], calibrationData[1][1] ); + log_i("z = %d/%d", calibrationData[2][0], calibrationData[2][1] ); + compass.setCalibration( calibrationData[0][0], calibrationData[0][1], calibrationData[1][0], calibrationData[1][1], calibrationData[2][0], calibrationData[2][1] ); + compass_calibrated = true; + log_i("stop calibration"); + } + else { + compass_data_t compass_data; + compass_get_data( &compass_data ); + compass_calibration_loop( &compass_data ); + } + } + else if( nextmillis < millis() && compass_active ) { + nextmillis = millis() + COMPASS_UPDATE_INTERVAL; + + compass_data_t compass_data; + + switch( event ) { + case POWERMGM_STANDBY: + break; + case POWERMGM_WAKEUP: + compass_get_data( &compass_data ); + compass_send_event_cb( COMPASS_UPDATE, (void*)&compass_data ); + break; + case POWERMGM_SILENCE_WAKEUP: + break; + default: + break; + } } return( true ); } -bool compass_enable( void ) { - bool retval = false; - - #if defined( M5PAPER ) - #elif defined( M5CORE2 ) - #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) - #elif defined( LILYGO_WATCH_2021 ) - retval = true; +static bool compass_get_data( compass_data_t *compass_data ) { + #ifdef NATIVE_64BIT #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + compass.read(); + compass_data->x = compass.getX(); + compass_data->y = compass.getY(); + compass_data->z = compass.getZ(); + compass_data->azimuth = compass.getAzimuth(); + compass_data->bearing = compass.getBearing( compass_data->azimuth ); + compass.getDirection( compass_data->direction, compass_data->azimuth ); + compass_data->direction[3] = '\0'; + log_d("x=%d, y=%d, z=%d, azimuth=%d, bearing=%d, direction=%s", compass_data->x, compass_data->y, compass_data->z, compass_data->azimuth, compass_data->bearing, compass_data->direction ); + #else + #endif #endif + return( true ); +} + +bool compass_register_cb( EventBits_t event, CALLBACK_FUNC callback_func, const char *id ) { + if ( compass_callback == NULL ) { + compass_callback = callback_init( "compass" ); + if ( compass_callback == NULL ) { + log_e("compass__callback alloc failed"); + while(true); + } + } + return( callback_register( compass_callback, event, callback_func, id ) ); +} + +static bool compass_send_event_cb( EventBits_t event, void *arg ) { + return( callback_send( compass_callback, event, arg ) ); +} + +static void compass_calibration_loop( compass_data_t *compass_data ) { + bool change = false; + + if( compass_data->x < calibrationData[0][0] ) { + calibrationData[0][0] = compass_data->x; + change = true; + } + + if( compass_data->x > calibrationData[0][1] ) { + calibrationData[0][1] = compass_data->x; + change = true; + } + + if( compass_data->y < calibrationData[1][0] ) { + calibrationData[1][0] = compass_data->y; + change = true; + } + + if( compass_data->y > calibrationData[1][1] ) { + calibrationData[1][1] = compass_data->y; + change = true; + } + + if( compass_data->z < calibrationData[2][0] ) { + calibrationData[2][0] = compass_data->z; + change = true; + } + + if( compass_data->z > calibrationData[2][1] ) { + calibrationData[2][1] = compass_data->z; + change = true; + } + + if( change ) + compass_calibration = millis() + 5000; +} + +void compass_on( void ) { + compass_active = true; + + #ifdef NATIVE_64BIT + #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + compass.init(); + compass.setReset(); + compass.setMode( 0x01, 0x0C, 0x10, 0x00 ); + if( compass_calibrated ) + compass.setCalibration( calibrationData[0][0], calibrationData[0][1], calibrationData[1][0], calibrationData[1][1], calibrationData[2][0], calibrationData[2][1] ); + #else + #endif + #endif +} + +void compass_off( void ) { + compass_active = false; + + #ifdef NATIVE_64BIT + #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + compass.init(); + compass.setReset(); + compass.setMode( 0x00, 0x0C, 0x10, 0x00 ); + #else + #endif + #endif +} + +bool compass_start_calibration( void ) { + if( compass_calibrated ) + return( true ); + /** + * reset calibration data + */ + calibrationData[0][0] = 0; + calibrationData[0][1] = 0; + calibrationData[1][0] = 0; + calibrationData[1][1] = 0; + calibrationData[2][0] = 0; + calibrationData[2][1] = 0; + /** + * enable compass + */ + compass_on(); + /** + * set calibration active + */ + compass_calibration = millis() + 20000; + log_i("start calibration"); + + return( true ); +} + +bool compass_available( void ) { + bool retval = false; + + #ifdef NATIVE_64BIT + retval = true; + #else + #if defined( M5PAPER ) + #elif defined( M5CORE2 ) + #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) + #elif defined( LILYGO_WATCH_2021 ) + retval = true; + #else + #endif + #endif + return( retval ); } \ No newline at end of file diff --git a/src/hardware/compass.h b/src/hardware/compass.h index a88e8e28..93646beb 100644 --- a/src/hardware/compass.h +++ b/src/hardware/compass.h @@ -21,16 +21,66 @@ */ #ifndef _COMPASS_H #define _COMPASS_H + + #include "callback.h" + + #ifdef NATIVE_64BIT + #include "utils/io.h" + #else + + #endif + + #define COMPASS_UPDATE_INTERVAL 100 + #define COMPASS_CALIBRATION_INTERVAL 10 + /** + * + */ + #define COMPASS_UPDATE _BV(0) /** @brief event mask for data updatet */ + #define COMPASS_CALIBRATION_START _BV(1) /** @brief event mask for data updatet */ + #define COMPASS_CALIBRATION_DONE _BV(2) /** @brief event mask for data updatet */ + #define COMPASS_CALIBRATION_FAILED _BV(3) /** @brief event mask for data updatet */ + /** + * @brief + */ + typedef struct { + int x = 0; + int y = 0; + int z = 0; + int azimuth = 0; + uint8_t bearing = 0; + char direction[4] = ""; + } compass_data_t; /** * @brief setup compass */ void compass_setup( void ); + /** + * @brief registers a callback function which is called on a corresponding event + * + * @param event possible values: COMPASS_UPDATE + * @param callback_func pointer to the callback function + * @param id program id + * + * @return true if success, false if failed + */ + bool compass_register_cb( EventBits_t event, CALLBACK_FUNC callback_func, const char *id ); + /** + * @brief start compass calibration + * + * @return true + * @return false + */ + bool compass_start_calibration( void ); + + void compass_on( void ); + + void compass_off( void ); /** * @brief check if compass available * * @return true * @return false */ - bool compass_enable( void ); + bool compass_available( void ); #endif // _COMPASS_H \ No newline at end of file diff --git a/src/hardware/motion.cpp b/src/hardware/motion.cpp index e5025153..c70772b8 100644 --- a/src/hardware/motion.cpp +++ b/src/hardware/motion.cpp @@ -87,6 +87,7 @@ portENTER_CRITICAL_ISR(&BMA_IRQ_Mux); bma_irq_flag = true; portEXIT_CRITICAL_ISR(&BMA_IRQ_Mux); + powermgm_resume_from_ISR(); } #endif diff --git a/src/hardware/pmu.cpp b/src/hardware/pmu.cpp index 351ce2dd..53ae083e 100644 --- a/src/hardware/pmu.cpp +++ b/src/hardware/pmu.cpp @@ -31,6 +31,8 @@ volatile bool pmu_irq_flag = false; static bool pmu_update = true; + + #define constrain(amt,low,high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt))) #else #include #if defined( M5PAPER ) @@ -599,6 +601,7 @@ void pmu_standby( void ) { gpio_wakeup_enable( (gpio_num_t)AXP202_INT, GPIO_INTR_LOW_LEVEL ); esp_sleep_enable_gpio_wakeup (); #elif defined( LILYGO_WATCH_2021 ) + digitalWrite( PWR_ON, LOW ); #endif #endif } @@ -657,6 +660,7 @@ void pmu_wakeup( void ) { ttgo->power->setPowerOutPut( AXP202_LDO2, AXP202_ON ); #endif #elif defined( LILYGO_WATCH_2021 ) + digitalWrite( PWR_ON, HIGH ); #endif #endif /* diff --git a/src/hardware/rtcctl.cpp b/src/hardware/rtcctl.cpp index 503b20b2..52b5564b 100644 --- a/src/hardware/rtcctl.cpp +++ b/src/hardware/rtcctl.cpp @@ -32,6 +32,8 @@ volatile bool rtc_irq_flag = false; #else + #include + volatile bool rtc_irq_flag = false; portMUX_TYPE RTC_IRQ_Mux = portMUX_INITIALIZER_UNLOCKED; @@ -42,16 +44,6 @@ #include #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) #include "TTGO.h" - - void IRAM_ATTR rtcctl_irq( void ); - - void IRAM_ATTR rtcctl_irq( void ) { - portENTER_CRITICAL_ISR(&RTC_IRQ_Mux); - rtc_irq_flag = true; - portEXIT_CRITICAL_ISR(&RTC_IRQ_Mux); - powermgm_resume_from_ISR(); - } - #elif defined( LILYGO_WATCH_2021 ) #include #include @@ -61,7 +53,14 @@ #warning "no hardware driver for rtcctl" #endif - #include + void IRAM_ATTR rtcctl_irq( void ); + + void IRAM_ATTR rtcctl_irq( void ) { + portENTER_CRITICAL_ISR(&RTC_IRQ_Mux); + rtc_irq_flag = true; + portEXIT_CRITICAL_ISR(&RTC_IRQ_Mux); + powermgm_resume_from_ISR(); + } #endif static rtcctl_alarm_t alarm_data; @@ -100,6 +99,8 @@ void rtcctl_setup( void ) { pinMode( RTC_INT_PIN, INPUT_PULLUP); attachInterrupt( RTC_INT_PIN, &rtcctl_irq, FALLING ); #elif defined( LILYGO_WATCH_2021 ) + #include + rtc.begin(); if ( rtc.isTimerActive() || rtc.isTimerEnable() ) { log_d("clear/disable rtc timer"); @@ -107,6 +108,12 @@ void rtcctl_setup( void ) { rtc.disableTimer(); } rtc.disableCLK(); + + #if defined( VERSION_2 ) +// pinMode( RTC_Int, INPUT); +// attachInterrupt( RTC_Int, &rtcctl_irq, GPIO_INTR_POSEDGE ); + #endif + #endif #endif @@ -282,7 +289,9 @@ bool rtcctl_powermgm_event_cb( EventBits_t event, void *arg ) { #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) gpio_wakeup_enable( (gpio_num_t)RTC_INT_PIN, GPIO_INTR_LOW_LEVEL ); esp_sleep_enable_gpio_wakeup (); - #elif defined( LILYGO_WATCH_2021 ) + #elif defined( LILYGO_WATCH_2021 ) && defined( VERSION_2 ) + // gpio_wakeup_enable( (gpio_num_t)RTC_Int, GPIO_INTR_POSEDGE ); + // esp_sleep_enable_gpio_wakeup (); #else #warning "no rtcctl powermgm standby event" #endif @@ -334,10 +343,12 @@ bool rtcctl_powermgm_loop_cb( EventBits_t event, void *arg ) { portEXIT_CRITICAL( &RTC_IRQ_Mux ); #endif if ( temp_rtc_irq_flag ) { - /* - * fire callback - */ - rtcctl_send_event_cb( RTCCTL_ALARM_OCCURRED ); + #if defined( LILYGO_WATCH_2021 ) && defined( VERSION_2 ) + if( rtc.status2() & PCF8563_ALARM_AF ) + rtcctl_send_event_cb( RTCCTL_ALARM_OCCURRED ); + #else + rtcctl_send_event_cb( RTCCTL_ALARM_OCCURRED ); + #endif } return( true ); } diff --git a/src/hardware/sdcard.cpp b/src/hardware/sdcard.cpp index 654639ba..15738360 100644 --- a/src/hardware/sdcard.cpp +++ b/src/hardware/sdcard.cpp @@ -113,6 +113,7 @@ bool sdcard_powermgm_event_cb( EventBits_t event, void *arg ) { #if defined( M5PAPER ) #elif defined( M5CORE2 ) + retval = true; /* switch( event ) { case POWERMGM_SILENCE_WAKEUP: diff --git a/src/hardware/touch.cpp b/src/hardware/touch.cpp index ec9c600c..50be2e80 100644 --- a/src/hardware/touch.cpp +++ b/src/hardware/touch.cpp @@ -44,31 +44,6 @@ touch_config_t touch_config; #include #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) #include - - volatile bool DRAM_ATTR touch_irq_flag = false; - portMUX_TYPE DRAM_ATTR Touch_IRQ_Mux = portMUX_INITIALIZER_UNLOCKED; - void IRAM_ATTR touch_irq( void ); - - void IRAM_ATTR touch_irq( void ) { - /* - * enter critical section and set interrupt flag - */ - portENTER_CRITICAL_ISR(&Touch_IRQ_Mux); - touch_irq_flag = true; - /* - * leave critical section - */ - portEXIT_CRITICAL_ISR(&Touch_IRQ_Mux); - } - - static SemaphoreHandle_t xSemaphores = NULL; - - bool touch_lock_take( void ) { - return xSemaphoreTake( xSemaphores, portMAX_DELAY ) == pdTRUE; - } - void touch_lock_give( void ) { - xSemaphoreGive( xSemaphores ); - } #elif defined( LILYGO_WATCH_2021 ) #include #include @@ -78,6 +53,31 @@ touch_config_t touch_config; #else #error "no hardware driver for touch, please setup minimal drivers ( framebuffer/touch )" #endif + volatile bool DRAM_ATTR touch_irq_flag = false; + portMUX_TYPE DRAM_ATTR Touch_IRQ_Mux = portMUX_INITIALIZER_UNLOCKED; + void IRAM_ATTR touch_irq( void ); + + void IRAM_ATTR touch_irq( void ) { + /* + * enter critical section and set interrupt flag + */ + portENTER_CRITICAL_ISR(&Touch_IRQ_Mux); + touch_irq_flag = true; + /* + * leave critical section + */ + portEXIT_CRITICAL_ISR(&Touch_IRQ_Mux); + powermgm_resume_from_ISR(); + } + + static SemaphoreHandle_t xSemaphores = NULL; + + bool touch_lock_take( void ) { + return xSemaphoreTake( xSemaphores, portMAX_DELAY ) == pdTRUE; + } + void touch_lock_give( void ) { + xSemaphoreGive( xSemaphores ); + } #endif callback_t *touch_callback = NULL; @@ -107,6 +107,8 @@ void touch_setup( void ) { M5.TP.SetRotation(90); #elif defined( M5CORE2 ) M5.Touch.begin(); + pinMode( GPIO_NUM_39, INPUT ); + attachInterrupt( GPIO_NUM_39, &touch_irq, CHANGE ); #elif defined( LILYGO_WATCH_2020_V1 ) || defined( LILYGO_WATCH_2020_V2 ) || defined( LILYGO_WATCH_2020_V3 ) TTGOClass *ttgo = TTGOClass::getWatch(); /* @@ -137,11 +139,11 @@ void touch_setup( void ) { /* * create semaphore and register interrupt function */ - xSemaphores = xSemaphoreCreateMutex(); attachInterrupt( TOUCH_INT, &touch_irq, FALLING ); #elif defined( LILYGO_WATCH_2021 ) ASSERT( TouchSensor.begin( Wire, Touch_Res, Touch_Int, CTP_SLAVER_ADDR ), "touch controler failed" ); #endif + xSemaphores = xSemaphoreCreateMutex(); #endif /** * setup lvgl pointer driver @@ -155,7 +157,7 @@ void touch_setup( void ) { * register powermgm callback function */ powermgm_register_cb( POWERMGM_SILENCE_WAKEUP | POWERMGM_STANDBY | POWERMGM_WAKEUP | POWERMGM_ENABLE_INTERRUPTS | POWERMGM_DISABLE_INTERRUPTS , touch_powermgm_event_cb, "touch" ); - powermgm_register_loop_cb( POWERMGM_STANDBY , touch_powermgm_loop_event_cb, "touch powermgm loop" ); + powermgm_register_loop_cb( POWERMGM_SILENCE_WAKEUP | POWERMGM_STANDBY | POWERMGM_WAKEUP , touch_powermgm_loop_event_cb, "touch powermgm loop" ); } bool touch_register_cb( EventBits_t event, CALLBACK_FUNC callback_func, const char *id ) { @@ -184,27 +186,31 @@ bool touch_send_event_cb( EventBits_t event, void *arg ) { bool touch_powermgm_loop_event_cb( EventBits_t event, void *arg ) { bool retval = false; - + #ifdef NATIVE_64BIT #else + /* + * handle IRQ event + */ + portENTER_CRITICAL(&Touch_IRQ_Mux); + bool temp_pmu_irq_flag = touch_irq_flag; + touch_irq_flag = false; + portEXIT_CRITICAL(&Touch_IRQ_Mux); + #if defined ( M5CORE2 ) switch( event ) { case POWERMGM_STANDBY: - M5.Touch.update(); - if ( M5.Touch.ispressed() ) { + if ( temp_pmu_irq_flag ) powermgm_set_event( POWERMGM_WAKEUP_REQUEST ); - } retval = true; break; case POWERMGM_WAKEUP: retval = true; break; case POWERMGM_SILENCE_WAKEUP: - M5.Touch.update(); - if ( M5.Touch.ispressed() ) { + if ( temp_pmu_irq_flag ) powermgm_set_event( POWERMGM_WAKEUP_REQUEST ); - } retval = true; break; } @@ -257,10 +263,11 @@ bool touch_powermgm_event_cb( EventBits_t event, void *arg ) { switch( event ) { case POWERMGM_STANDBY: log_d("go standby"); /** - * block standby so is there no another option to handle - * wakeup by touch. no real button :( + * enable GPIO in lightsleep for wakeup */ - retval = false; + gpio_wakeup_enable( (gpio_num_t)GPIO_NUM_39, GPIO_INTR_LOW_LEVEL ); + esp_sleep_enable_gpio_wakeup (); + retval = true; break; case POWERMGM_WAKEUP: log_d("go wakeup"); retval = true; diff --git a/src/main.cpp b/src/main.cpp index c88b2107..93fa5262 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -23,6 +23,7 @@ #include "app/fx_rates/fx_rates.h" #include "app/IRController/IRController.h" #include "app/alarm_clock/alarm_clock.h" +#include "app/compass/compass_app.h" #if defined( NATIVE_64BIT ) /** @@ -52,6 +53,7 @@ void setup() { */ osmmap_app_setup(); weather_app_setup(); + compass_app_setup(); stopwatch_app_setup(); tracker_app_setup(); alarm_clock_setup();