WIP merge cyclically dependent components into one big component

This commit is contained in:
jacqueline
2024-05-02 19:12:26 +10:00
parent a231fd1c8a
commit 1573a8c4cd
152 changed files with 79 additions and 670 deletions
-1
View File
@@ -27,7 +27,6 @@ else()
${LVGL_ROOT_DIR}
${LVGL_ROOT_DIR}/src
${LVGL_ROOT_DIR}/../
$ENV{PROJ_PATH}/src/ui/include/
REQUIRES esp_timer)
target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_CONF_INCLUDE_SIMPLE")
+2 -1
View File
@@ -87,7 +87,8 @@
*It removes the need to manually update the tick with `lv_tick_inc()`)*/
#define LV_TICK_CUSTOM 1
#if LV_TICK_CUSTOM
#define LV_TICK_CUSTOM_INCLUDE "ui_tick.hpp" /*Header for the system time function*/
#define LV_TICK_CUSTOM_INCLUDE "esp_timer.h"
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (esp_timer_get_time() / 1000)
#endif /*LV_TICK_CUSTOM*/
/*Default Dot Per Inch. Used to initialize default sizes such as widgets sized, style paddings.