fix(cmsis-pack): update cmsis-pack scripts (#4020)

Co-authored-by: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
This commit is contained in:
Gabriel Wang
2023-02-27 16:17:28 +00:00
committed by GitHub
parent 426739d060
commit 9c34a8f47e
4 changed files with 46 additions and 18 deletions

View File

@@ -36,6 +36,11 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<release date="2023-02-26" version="9.0.0-dev" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.9.0.0-dev.pack">
- LVGL 9.0.0-dev
- New Driver Architecture
- Other fixes
</release>
<release date="2023-02-06" version="8.3.5" url="https://github.com/lvgl/lvgl/raw/release/v8.3/env_support/cmsis-pack/LVGL.lvgl.8.3.5.pack">
- LVGL 8.3.5 release
- Use LVGL version as the cmsis-pack version
@@ -43,7 +48,7 @@
- Rework stm32 DMA2D support
- Various fixes
</release>
<release date="2023-01-15" version="1.1.0-alpha" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.1.0-alpha.pack">
<release date="2023-01-15" version="1.1.0-alpha" url="https://github.com/lvgl/lvgl/raw/4e3f341b882e0453d3da5cce6bb1b6357e52e3e7/env_support/cmsis-pack/LVGL.lvgl.1.1.0-alpha.pack">
- LVGL 9.0.0-dev
- Monthly update for January
</release>
@@ -316,7 +321,7 @@
<file category="sourceC" name="src/core/lv_indev.c" />
<file category="sourceC" name="src/core/lv_disp.c" />
<file category="sourceC" name="src/core/lv_obj_scroll.c" />
<file category="sourceC" name="src/core/lv_event.c" />
<file category="sourceC" name="src/core/lv_obj_event.c" />
<file category="sourceC" name="src/core/lv_obj_draw.c" />
<file category="sourceC" name="src/core/lv_group.c" />
<file category="sourceC" name="src/core/lv_obj_style.c" />
@@ -384,8 +389,6 @@
<file category="sourceC" name="src/font/lv_font_unscii_16.c" />
<!-- src/hal -->
<file category="sourceC" name="src/hal/lv_hal_disp.c" />
<file category="sourceC" name="src/hal/lv_hal_indev.c" />
<file category="sourceC" name="src/hal/lv_hal_tick.c" />
<!-- src/others -->
@@ -422,6 +425,7 @@
<file category="sourceC" name="src/misc/lv_style.c" />
<file category="sourceC" name="src/misc/lv_color.c" />
<file category="sourceC" name="src/misc/lv_printf.c" />
<file category="sourceC" name="src/misc/lv_event.c" />
<!-- src/widgets -->
<file category="sourceC" name="src/widgets/spinner/lv_spinner.c" />
@@ -482,11 +486,18 @@
<file category="sourceC" name="src/themes/default/lv_theme_default.c" />
<!-- general -->
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="1.1.7" />
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="1.2.0" />
<file category="sourceC" name="lv_cmsis_pack.c" attr="config" version="1.0.0" />
<file category="header" name="lvgl.h" />
<file category="doc" name="README.md"/>
<!-- code template -->
<file category="header" name="examples/porting/lv_port_disp_template.h" attr="template" select="Display port template" version="2.0.0"/>
<file category="sourceC" name="examples/porting/lv_port_disp_template.c" attr="template" select="Display port template" version="2.0.0"/>
<file category="header" name="examples/porting/lv_port_indev_template.h" attr="template" select="Input devices port template" version="2.0.0"/>
<file category="sourceC" name="examples/porting/lv_port_indev_template.c" attr="template" select="Input devices port template" version="2.0.0"/>
<file category="header" name="examples/porting/lv_port_fs_template.h" attr="template" select="File system port template" version="2.0.0"/>
<file category="sourceC" name="examples/porting/lv_port_fs_template.c" attr="template" select="File system port template" version="2.0.0"/>
</files>
<Pre_Include_Global_h>
@@ -564,7 +575,7 @@
<component Cgroup="lvgl" Csub="GPU NXP-PXP" condition="LVGL-GPU-NXP-PXP">
<description>An hardware acceleration from NXP-PXP</description>
<files>
<file category="sourceC" name="src/draw/nxp/lv_gpu_nxp.c" />
<file category="sourceC" name="src/draw/nxp/pxp/lv_draw_pxp.c" />
<file category="sourceC" name="src/draw/nxp/pxp/lv_draw_pxp_blend.c" />
<file category="sourceC" name="src/draw/nxp/pxp/lv_gpu_nxp_pxp.c" />
<file category="sourceC" name="src/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.c" />
@@ -581,11 +592,13 @@
<component Cgroup="lvgl" Csub="GPU NXP-VGLite" condition="LVGL-GPU-NXP-VGLite">
<description>An hardware acceleration from NXP-VGLite</description>
<files>
<file category="sourceC" name="src/draw/nxp/lv_gpu_nxp.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite_line.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite_arc.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite_blend.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite_rect.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_gpu_nxp_vglite.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_vglite_buf.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_vglite_utils.c" />
</files>
<RTE_Components_h>
@@ -776,7 +789,7 @@
</RTE_Components_h>
</component>
<component Cgroup="lvgl" Csub="Libs QRCode" condition="LVGL-Essential">
<description>Add QRCode support</description>
<files>
@@ -890,7 +903,7 @@
<file category="sourceC" name="demos/benchmark/lv_demo_benchmark.c" />
<file category="header" name="demos/benchmark/lv_demo_benchmark.h" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_alpha16.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_alpha256.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_argb.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_chroma_keyed.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_indexed16.c" />

View File

@@ -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**'.

View File

@@ -65,10 +65,18 @@
#define LV_STRLEN lv_strlen_builtin
#define LV_STRNCPY lv_strncpy_builtin
#define LV_COLOR_EXTERN_INCLUDE <stdint.h>
#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--*/