Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update LVGL #321

Merged
merged 1 commit into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions lv_conf.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @file lv_conf.h
* Configuration file for v9.0.0-rc
* Configuration file for v9.0.0
*/

/*
Expand Down Expand Up @@ -190,7 +190,7 @@
#ifdef MICROPY_LV_USE_LOG
#define LV_USE_LOG MICROPY_LV_USE_LOG
#else
#define LV_USE_LOG 1
#define LV_USE_LOG 0
#endif

#if LV_USE_LOG
Expand Down Expand Up @@ -285,6 +285,14 @@ extern void mp_lv_init_gc();
#define LV_CACHE_DEF_SIZE 0
#endif

/*Default number of image header cache entries. The cache is used to store the headers of images
*The main logic is like `LV_CACHE_DEF_SIZE` but for image headers.*/
#ifdef MICROPY_IMAGE_HEADER_CACHE_COUNT
#define LV_IMAGE_HEADER_CACHE_DEF_CNT MICROPY_IMAGE_HEADER_CACHE_COUNT
#else
#define LV_IMAGE_HEADER_CACHE_DEF_CNT 32
#endif

/*Number of stops allowed per gradient. Increase this to allow more stops.
*This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/
#define LV_GRADIENT_MAX_STOPS 2
Expand Down Expand Up @@ -750,6 +758,8 @@ extern void mp_lv_init_gc();
#define LV_USE_SYSMON 0

#if LV_USE_SYSMON
/*Get the idle percentage. E.g. uint32_t my_get_idle(void);*/
#define LV_SYSMON_GET_IDLE lv_timer_get_idle

/*1: Show CPU usage and FPS count
* Requires `LV_USE_SYSMON = 1`*/
Expand Down
2 changes: 1 addition & 1 deletion lvgl
Submodule lvgl updated 374 files