chore(cmsis-pack): Monthly update for Nov (#3840)

This commit is contained in:
Gabriel Wang
2022-11-29 07:29:13 +00:00
committed by GitHub
parent ea15573988
commit f433ed6224
7 changed files with 178 additions and 93 deletions

View File

@@ -36,7 +36,7 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository> <repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases> <releases>
<release date="2022-11-16" version="1.0.11-alpha" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.11-alpha.pack"> <release date="2022-11-28" version="1.0.11" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.11.pack">
- LVGL 9.0.0-dev - LVGL 9.0.0-dev
- Montyly update for November - Montyly update for November
</release> </release>
@@ -263,6 +263,7 @@
<file category="sourceC" name="src/draw/sw/lv_draw_sw_dither.c" /> <file category="sourceC" name="src/draw/sw/lv_draw_sw_dither.c" />
<file category="sourceC" name="src/draw/lv_draw_img.c" /> <file category="sourceC" name="src/draw/lv_draw_img.c" />
<file category="sourceC" name="src/draw/lv_img_cache.c" /> <file category="sourceC" name="src/draw/lv_img_cache.c" />
<file category="sourceC" name="src/draw/lv_img_cache_builtin.c" />
<file category="sourceC" name="src/draw/lv_draw_line.c" /> <file category="sourceC" name="src/draw/lv_draw_line.c" />
<file category="sourceC" name="src/draw/lv_draw_triangle.c" /> <file category="sourceC" name="src/draw/lv_draw_triangle.c" />
<file category="sourceC" name="src/draw/lv_draw.c" /> <file category="sourceC" name="src/draw/lv_draw.c" />
@@ -400,7 +401,7 @@
<file category="sourceC" name="src/themes/default/lv_theme_default.c" /> <file category="sourceC" name="src/themes/default/lv_theme_default.c" />
<!-- general --> <!-- general -->
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="1.1.4" /> <file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="1.1.5" />
<file category="sourceC" name="lv_cmsis_pack.c" attr="config" version="1.0.0" /> <file category="sourceC" name="lv_cmsis_pack.c" attr="config" version="1.0.0" />
<file category="header" name="lvgl.h" /> <file category="header" name="lvgl.h" />
<file category="doc" name="README.md"/> <file category="doc" name="README.md"/>
@@ -633,6 +634,10 @@
<files> <files>
<!-- src/libs/freetype --> <!-- src/libs/freetype -->
<file category="sourceC" name="src/libs/freetype/lv_freetype.c" /> <file category="sourceC" name="src/libs/freetype/lv_freetype.c" />
<file category="header" name="src/libs/freetype/lv_freetype.h" />
<file category="sourceC" name="src/libs/freetype/lv_ftsystem.c" />
<file category="header" name="src/libs/freetype/ftmodule.h" />
<file category="header" name="src/libs/freetype/ftoption.h" />
</files> </files>
<RTE_Components_h> <RTE_Components_h>

View File

@@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance"> <index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>LVGL</vendor> <vendor>LVGL</vendor>
<url>https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/</url> <url>https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/</url>
<timestamp>2022-11-16T03:10:00</timestamp> <timestamp>2022-11-28T21:03:00</timestamp>
<pindex> <pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.11-alpha"/> <pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.11"/>
</pindex> </pindex>
</index> </index>

View File

@@ -123,9 +123,23 @@ Make sure `LV_MEM_SIZE` is no less than `(64*1024U)`.
10. Thoroughly remove the `3rd party libraries` section. 10. Remove following macro definitions in the `3rd party libraries` section:
11. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'. - \#define LV_USE_FS_STDIO 0
- \#define LV_USE_FS_POSIX 0
- \#define LV_USE_FS_WIN32 0
- \#define LV_USE_FS_FATFS 0
- \#define LV_USE_PNG 0
- \#define LV_USE_BMP 0
- \#define LV_USE_SJPG 0
- \#define LV_USE_GIF 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**'.

View File

@@ -21,8 +21,8 @@ if [ `uname -s` = "Linux" ]
CMSIS_PACK_PATH="/home/$USER/.arm/Packs/ARM/CMSIS/5.7.0/" CMSIS_PACK_PATH="/home/$USER/.arm/Packs/ARM/CMSIS/5.7.0/"
PATH_TO_ADD="$CMSIS_PACK_PATH/CMSIS/Utilities/Linux64/" PATH_TO_ADD="$CMSIS_PACK_PATH/CMSIS/Utilities/Linux64/"
else else
CMSIS_PACK_PATH="/C/Users/gabriel/AppData/Local/Arm/Packs/ARM/CMSIS/5.7.0" CMSIS_PACK_PATH="/C/Users/$USER/AppData/Local/Arm/Packs/ARM/CMSIS/5.7.0"
PATH_TO_ADD="/C/Program Files (x86)/7-Zip/:$CMSIS_PACK_PATH/CMSIS/Utilities/Win32/:/C/xmllint/" PATH_TO_ADD="/C/Program Files (x86)/7-Zip/:/C/Program Files/7-Zip/:$CMSIS_PACK_PATH/CMSIS/Utilities/Win32/:/C/xmllint/"
fi fi
[[ ":$PATH:" != *":$PATH_TO_ADD}:"* ]] && PATH="${PATH}:${PATH_TO_ADD}" [[ ":$PATH:" != *":$PATH_TO_ADD}:"* ]] && PATH="${PATH}:${PATH_TO_ADD}"
echo $PATH_TO_ADD appended to PATH echo $PATH_TO_ADD appended to PATH

View File

@@ -98,7 +98,10 @@
* GLOBAL FUNCTIONS * GLOBAL FUNCTIONS
**********************/ **********************/
/* only arm compilers will use microLib that doesn't implement time() */ /* When Arm Compilers using the MicroLib, provide an empty implementation for
* time() which is not included in the MicroLib
*/
#if defined(__IS_COMPILER_ARM_COMPILER__) && __IS_COMPILER_ARM_COMPILER__
# if defined(__MICROLIB) # if defined(__MICROLIB)
__attribute__((weak)) __attribute__((weak))
_ARMABI time_t time(time_t * time) _ARMABI time_t time(time_t * time)
@@ -106,4 +109,5 @@ _ARMABI time_t time(time_t * time)
return (time_t)(-1); return (time_t)(-1);
} }
# endif # endif
#endif

View File

@@ -579,6 +579,68 @@
/*A layout similar to Grid in CSS.*/ /*A layout similar to Grid in CSS.*/
#define LV_USE_GRID 1 #define LV_USE_GRID 1
/*====================
* 3RD PARTS LIBRARIES
*====================*/
/*API for fopen, fread, etc*/
#if LV_USE_FS_STDIO
#define LV_FS_STDIO_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_STDIO_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_STDIO_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for open, read, etc*/
#if LV_USE_FS_POSIX
#define LV_FS_POSIX_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_POSIX_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_POSIX_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for CreateFile, ReadFile, etc*/
#if LV_USE_FS_WIN32
#define LV_FS_WIN32_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_WIN32_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_WIN32_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for FATFS (needs to be added separately). Uses f_open, f_read, etc*/
#if LV_USE_FS_FATFS
#define LV_FS_FATFS_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_FATFS_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
#if LV_USE_FREETYPE
/*Memory used by FreeType to cache characters [bytes]*/
#define LV_FREETYPE_CACHE_SIZE (64 * 1024)
/*Let FreeType to use LVGL memory and file porting*/
#define LV_FREETYPE_USE_LVGL_PORT 0
/* 1: bitmap cache use the sbit cache, 0:bitmap cache use the image cache. */
/* sbit cache:it is much more memory efficient for small bitmaps(font size < 256) */
/* if font size >= 256, must be configured as image cache */
#define LV_FREETYPE_SBIT_CACHE 0
/* Maximum number of opened FT_Face/FT_Size objects managed by this cache instance. */
/* (0:use system defaults) */
#define LV_FREETYPE_CACHE_FT_FACES 4
#define LV_FREETYPE_CACHE_FT_SIZES 4
#endif
#if LV_USE_TINY_TTF
/* Enable loading TTF data from files */
#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
/*Dump input information to stderr*/
#define LV_FFMPEG_DUMP_FORMAT 0
#endif
/*================== /*==================
* OTHERS * OTHERS
*==================*/ *==================*/