cmsis pack monthly update (#3692)

This commit is contained in:
Gabriel Wang
2022-09-19 10:50:33 +01:00
committed by GitHub
parent d3d11361d9
commit c23ff83bda
15 changed files with 81 additions and 49 deletions
Binary file not shown.
+25 -28
View File
@@ -36,7 +36,12 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<release date="2022-08-30" version="1.0.8" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.8.pack">
<release date="2022-09-16" version="1.0.9-alpha" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.9-alpha.pack">
- LVGL 9.0.0-dev
- Introduce a new component: File Explorer
- Montyly update for September
</release>
<release date="2022-08-30" version="1.0.8" url="https://github.com/lvgl/lvgl/raw/eb2e296d23b009aca7daf0e9be062d05b4b0048a/env_support/cmsis-pack/LVGL.lvgl.1.0.8.pack">
- LVGL 9.0.0-dev
- Add the binding for pikascript (an ultra-light-weight python VM)
- Montyly update for August
@@ -230,24 +235,9 @@
<file category="sourceC" name="src/draw/lv_draw_label.c" />
<file category="sourceC" name="src/draw/lv_img_decoder.c" />
<file category="sourceC" name="src/draw/lv_draw_rect.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_label.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_arc.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_img.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_mask.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_bg.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_texture_cache.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_rect.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_polygon.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_layer.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_stack_blur.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_line.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_composite.c" />
<file category="sourceC" name="src/draw/sdl/lv_draw_sdl_utils.c" />
<file category="sourceC" name="src/draw/lv_draw_transform.c" />
<file category="sourceC" name="src/draw/lv_img_buf.c" />
<file category="sourceC" name="src/draw/stm32_dma2d/lv_gpu_stm32_dma2d.c" />
<file category="sourceC" name="src/draw/swm341_dma2d/lv_gpu_swm341_dma2d.c" />
<file category="sourceC" name="src/draw/lv_draw_mask.c" />
<file category="sourceC" name="src/draw/sw/lv_draw_sw_img.c" />
<file category="sourceC" name="src/draw/sw/lv_draw_sw_polygon.c" />
@@ -267,16 +257,7 @@
<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_layer.c" />
<file category="sourceC" name="src/draw/arm2d/lv_gpu_arm2d.c" />
<file category="sourceC" name="src/draw/lv_draw_arc.c" />
<file category="sourceC" name="src/draw/nxp/lv_gpu_nxp.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_rect.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_gpu_nxp_vglite.c" />
<file category="sourceC" name="src/draw/nxp/vglite/lv_draw_vglite_blend.c" />
<file category="sourceC" name="src/draw/nxp/pxp/lv_gpu_nxp_pxp_osa.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" />
<!-- src/font -->
<file category="sourceC" name="src/font/lv_font.c" />
@@ -409,7 +390,7 @@
<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.0" />
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="1.1.1" />
<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"/>
@@ -736,12 +717,28 @@
<RTE_Components_h>
/*! \brief enable ffmpeg support */
/*! \brief enable pinying support */
#define LV_USE_IME_PINYIN 1
</RTE_Components_h>
</component>
<component Cgroup="lvgl" Csub="File Explorer" condition="LVGL-Essential">
<description>Add Pinyin input method</description>
<files>
<!-- src/others/file_explorer -->
<file category="sourceC" name="src/others/file_explorer/lv_file_explorer.c" />
<file category="header" name="src/others/file_explorer/lv_file_explorer.h" />
</files>
<RTE_Components_h>
/*! \brief enable file explorer support */
#define LV_USE_FILE_EXPLORER 1
</RTE_Components_h>
</component>
<component Cgroup="lvgl" Csub="Benchmark" condition="LVGL-Essential">
<description>Add the official benchmark.</description>
<files>
+2 -2
View File
@@ -2,8 +2,8 @@
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
<vendor>LVGL</vendor>
<url>https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/</url>
<timestamp>2022-08-30T00:15:09</timestamp>
<timestamp>2022-09-16T00:16:38</timestamp>
<pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.8"/>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.9-alpha"/>
</pindex>
</index>
+3 -6
View File
@@ -46,6 +46,7 @@ remove the misleading guide above this code segment.
- LV_USE_GPU_SWM341_DMA2D
- LV_USE_GPU_ARM2D
- LV_USE_IME_PINYIN
- LV_USE_FILE_EXPLORER
5. Update macro `LV_ATTRIBUTE_MEM_ALIGN` and `LV_ATTRIBUTE_MEM_ALIGN_SIZE` to force a WORD alignment.
```c
#define LV_ATTRIBUTE_MEM_ALIGN_SIZE 4
@@ -92,13 +93,9 @@ Make sure `LV_MEM_SIZE` is no less than `(64*1024U)`.
#define LV_TICK_CUSTOM 1
#if LV_TICK_CUSTOM
extern uint32_t SystemCoreClock;
#define LV_TICK_CUSTOM_INCLUDE "perf_counter.h"
#define LV_TICK_CUSTOM_INCLUDE "perf_counter.h"
#if __PER_COUNTER_VER__ < 10902ul
#define LV_TICK_CUSTOM_SYS_TIME_EXPR ((uint32_t)get_system_ticks() / (SystemCoreClock / 1000ul))
#else
#define LV_TICK_CUSTOM_SYS_TIME_EXPR get_system_ms()
#endif
#define LV_TICK_CUSTOM_SYS_TIME_EXPR get_system_ms()
#endif /*LV_TICK_CUSTOM*/
#else
#define LV_TICK_CUSTOM 0
+14 -8
View File
@@ -70,13 +70,9 @@
#define LV_TICK_CUSTOM 1
#if LV_TICK_CUSTOM
extern uint32_t SystemCoreClock;
#define LV_TICK_CUSTOM_INCLUDE "perf_counter.h"
#define LV_TICK_CUSTOM_INCLUDE "perf_counter.h"
#if __PER_COUNTER_VER__ < 10902ul
#define LV_TICK_CUSTOM_SYS_TIME_EXPR ((uint32_t)get_system_ticks() / (SystemCoreClock / 1000ul))
#else
#define LV_TICK_CUSTOM_SYS_TIME_EXPR get_system_ms()
#endif
#define LV_TICK_CUSTOM_SYS_TIME_EXPR get_system_ms()
#endif /*LV_TICK_CUSTOM*/
#else
#define LV_TICK_CUSTOM 0
@@ -405,7 +401,7 @@
#define LV_TXT_ENC LV_TXT_ENC_UTF8
/*Can break (wrap) texts on these chars*/
#define LV_TXT_BREAK_CHARS " ,.;:-_"
#define LV_TXT_BREAK_CHARS " ,.;:-_)]}"
/*If a word is at least this long, will break wherever "prettiest"
*To disable, set to a value <= 0*/
@@ -617,6 +613,16 @@
#endif // LV_IME_PINYIN_USE_K9_MODE
#endif
/*1: Enable file explorer*/
/*Requires: lv_table*/
#if LV_USE_FILE_EXPLORER
/*Maximum length of path*/
#define LV_FILE_EXPLORER_PATH_MAX_LEN (128)
/*Quick access bar, 1:use, 0:not use*/
/*Requires: lv_list*/
#define LV_FILE_EXPLORER_QUICK_ACCESS 1
#endif
/*==================
* EXAMPLES
*==================*/
@@ -636,7 +642,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--*/
+4
View File
@@ -1,4 +1,8 @@
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_point_t.h"
+4
View File
@@ -1,4 +1,8 @@
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_lv_timer_t.h"
+5 -1
View File
@@ -1,4 +1,8 @@
#include "../../lvgl.h"
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "BaseObj.h"
#include "pika_lvgl.h"
+5 -1
View File
@@ -1,4 +1,8 @@
#include "../../lvgl.h"
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl.h"
#include "BaseObj.h"
@@ -1,4 +1,8 @@
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_indev_t.h"
@@ -1,4 +1,8 @@
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_lv_event.h"
+5 -1
View File
@@ -1,4 +1,8 @@
#include "../../lvgl.h"
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_lv_obj.h"
#include "BaseObj.h"
@@ -1,4 +1,8 @@
#include "../../lvgl.h"
#if defined(LV_LVGL_H_INCLUDE_SIMPLE)
#include "lvgl.h"
#else
#include "../../lvgl.h"
#endif
#ifdef PIKASCRIPT
#include "pika_lvgl_style_t.h"
+1 -1
View File
@@ -123,7 +123,7 @@ void lv_roller_set_options(lv_obj_t * obj, const char * options, lv_roller_mode_
const lv_font_t * font = lv_obj_get_style_text_font(obj, 0);
lv_coord_t normal_h = roller->option_cnt * (lv_font_get_line_height(font) + lv_obj_get_style_text_letter_space(obj, 0));
roller->inf_page_cnt = LV_CLAMP(3, EXTRA_INF_SIZE / normal_h, 15);
if(!roller->inf_page_cnt & 1) roller->inf_page_cnt++; /*Make it odd*/
if(!(roller->inf_page_cnt & 1)) roller->inf_page_cnt++; /*Make it odd*/
LV_LOG_INFO("Using %d pages to make the roller look infinite", roller->inf_page_cnt);
size_t opt_len = strlen(options) + 1; /*+1 to add '\n' after option lists*/