diff --git a/env_support/cmsis-pack/LVGL.lvgl.1.1.0-alpha.pack b/env_support/cmsis-pack/LVGL.lvgl.1.1.0-alpha.pack deleted file mode 100644 index 5db5ed0f1..000000000 Binary files a/env_support/cmsis-pack/LVGL.lvgl.1.1.0-alpha.pack and /dev/null differ diff --git a/env_support/cmsis-pack/LVGL.lvgl.pdsc b/env_support/cmsis-pack/LVGL.lvgl.pdsc index 506e50b05..7472f05f2 100644 --- a/env_support/cmsis-pack/LVGL.lvgl.pdsc +++ b/env_support/cmsis-pack/LVGL.lvgl.pdsc @@ -36,6 +36,11 @@ https://github.com/lvgl/lvgl.git + + - LVGL 9.0.0-dev + - New Driver Architecture + - Other fixes + - LVGL 8.3.5 release - Use LVGL version as the cmsis-pack version @@ -43,7 +48,7 @@ - Rework stm32 DMA2D support - Various fixes - + - LVGL 9.0.0-dev - Monthly update for January @@ -316,7 +321,7 @@ - + @@ -384,8 +389,6 @@ - - @@ -422,6 +425,7 @@ + @@ -482,11 +486,18 @@ - + - + + + + + + + + @@ -564,7 +575,7 @@ An hardware acceleration from NXP-PXP - + @@ -581,11 +592,13 @@ An hardware acceleration from NXP-VGLite - + + - + + @@ -776,7 +789,7 @@ - + Add QRCode support @@ -890,7 +903,7 @@ - + diff --git a/env_support/cmsis-pack/README.md b/env_support/cmsis-pack/README.md index 94f17cdd4..8535a02dd 100644 --- a/env_support/cmsis-pack/README.md +++ b/env_support/cmsis-pack/README.md @@ -151,13 +151,22 @@ Make sure `LV_MEM_SIZE` is no less than `(64*1024U)`. - \#define LV_USE_BMP 0 - \#define LV_USE_SJPG 0 - \#define LV_USE_GIF 0 + - \#define LV_USE_BARCODE 0 - \#define LV_USE_QRCODE 0 - \#define LV_USE_FREETYPE 0 - \#define LV_USE_TINY_TTF 0 - \#define LV_USE_RLOTTIE 0 - \#define LV_USE_FFMPEG 0 -9. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'. +11. Remove unsupported devices from the `DEVICES` section + + - LV_USE_SDL + + - LV_USE_LINUX_FBDEV + + - LV_USE_TFT_ESPI + +12. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'. diff --git a/env_support/cmsis-pack/lv_conf_cmsis.h b/env_support/cmsis-pack/lv_conf_cmsis.h index 71cf849b2..221ed3e4f 100644 --- a/env_support/cmsis-pack/lv_conf_cmsis.h +++ b/env_support/cmsis-pack/lv_conf_cmsis.h @@ -65,10 +65,18 @@ #define LV_STRLEN lv_strlen_builtin #define LV_STRNCPY lv_strncpy_builtin +#define LV_COLOR_EXTERN_INCLUDE +#define LV_COLOR_MIX lv_color_mix +#define LV_COLOR_PREMULT lv_color_premult +#define LV_COLOR_MIX_PREMULT lv_color_mix_premult + /*==================== HAL SETTINGS *====================*/ +/*Default display refresh, input device read and animation step period.*/ +#define LV_DEF_REFR_PERIOD 33 /*[ms]*/ + /*Use a custom tick source that tells the elapsed time in milliseconds. *It removes the need to manually update the tick with `lv_tick_inc()`)*/ #ifdef __PERF_COUNTER__ @@ -208,7 +216,7 @@ *LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail *LV_LOG_LEVEL_USER Only logs added by the user *LV_LOG_LEVEL_NONE Do not log anything*/ - #define LV_LOG_LEVEL LV_LOG_LEVEL_WARN + #define LV_LOG_LEVEL LV_LOG_LEVEL_USER /*1: Print the log with 'printf'; *0: User need to register a callback with `lv_log_register_print_cb()`*/ @@ -317,7 +325,7 @@ /*Will be added where memories needs to be aligned (with -Os data might not be aligned to boundary by default). * E.g. __attribute__((aligned(4)))*/ -#define LV_ATTRIBUTE_MEM_ALIGN __attribute__((aligned(4))) +#define LV_ATTRIBUTE_MEM_ALIGN __attribute__((aligned(4))) /*Attribute to mark large constant arrays for example font's bitmaps*/ #define LV_ATTRIBUTE_LARGE_CONST @@ -605,6 +613,7 @@ #define LV_FS_FATFS_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/ #endif +/*FreeType library*/ #if LV_USE_FREETYPE /*Memory used by FreeType to cache characters [bytes]*/ #define LV_FREETYPE_CACHE_SIZE (64 * 1024) @@ -629,7 +638,6 @@ #define LV_TINY_TTF_FILE_SUPPORT 0 #endif - /*FFmpeg library for image decoding and playing videos *Supports all major image formats so do not enable other image decoder with it*/ #if LV_USE_FFMPEG @@ -668,7 +676,6 @@ /*1: Enable Pinyin input method*/ /*Requires: lv_keyboard*/ -//#define LV_USE_IME_PINYIN 0 #if LV_USE_IME_PINYIN /*1: Use default thesaurus*/ /*If you do not use the default thesaurus, be sure to use `lv_ime_pinyin` after setting the thesauruss*/ @@ -686,7 +693,6 @@ /*1: Enable file explorer*/ /*Requires: lv_table*/ -//#define LV_USE_FILE_EXPLORER 0 #if LV_USE_FILE_EXPLORER /*Maximum length of path*/ #define LV_FILE_EXPLORER_PATH_MAX_LEN (128) @@ -714,7 +720,7 @@ /*Benchmark your system*/ #if LV_USE_DEMO_BENCHMARK /*Use RGB565A8 images with 16 bit color depth instead of ARGB8565*/ - #define LV_DEMO_BENCHMARK_RGB565A8 0 + #define LV_DEMO_BENCHMARK_RGB565A8 1 #endif /*--END OF LV_CONF_H--*/