chore(cmsis-pack): update pdsc

This commit is contained in:
Gabriel Wang
2024-08-26 20:52:54 +01:00
committed by Gabor Kiss-Vamosi
parent d01c6a4892
commit f292ddde34
5 changed files with 220 additions and 251 deletions
Binary file not shown.
+74 -172
View File
@@ -20,7 +20,7 @@
--> -->
<package schemaVersion="1.7.31" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.31/schema/PACK.xsd"> <package schemaVersion="1.7.37" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="https://raw.githubusercontent.com/Open-CMSIS-Pack/Open-CMSIS-Pack-Spec/v1.7.37/schema/PACK.xsd">
<vendor>LVGL</vendor> <vendor>LVGL</vendor>
<name>lvgl</name> <name>lvgl</name>
<description>LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint.</description> <description>LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint.</description>
@@ -36,8 +36,9 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository> <repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases> <releases>
<release date="2024-04-30" version="9.1.1-dev2" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.9.1.1-dev2.pack"> <release date="2024-08-26" version="9.2.0" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack">
- LVGL 9.1.1-dev - LVGL 9.2.0
- See Change Log
</release> </release>
<release date="2024-03-19" version="9.1.0" url="https://github.com/lvgl/lvgl/raw/v9.1.0/env_support/cmsis-pack/LVGL.lvgl.9.1.0.pack"> <release date="2024-03-19" version="9.1.0" url="https://github.com/lvgl/lvgl/raw/v9.1.0/env_support/cmsis-pack/LVGL.lvgl.9.1.0.pack">
- LVGL 9.1.0 - LVGL 9.1.0
@@ -169,70 +170,11 @@
<keywords> <keywords>
<!-- keywords for indexing --> <!-- keywords for indexing -->
<keyword>Cortex-M</keyword> <keyword>LVGL</keyword>
<keyword>SysTick</keyword> <keyword>GUI</keyword>
<keyword>Performance Analysis</keyword>
</keywords> </keywords>
<conditions> <conditions>
<!--
<condition id="Arm Compiler">
<description>Arm Compiler 5 (armcc) or Arm Compiler 6 (armclang).</description>
<accept Tcompiler="ARMCC" Toptions="AC6"/>
<accept Tcompiler="ARMCC" Toptions="AC6LTO"/>
<accept Tcompiler="ARMCC" Toptions="AC5"/>
</condition>
<condition id="Arm GCC">
<description>GNU Tools for Arm Embedded Processors.</description>
<accept Tcompiler="GCC"/>
</condition>
<condition id="Cortex-M Processors">
<description>Support All Cortex-M based processors</description>
<accept Dcore="Cortex-M0"/>
<accept Dcore="Cortex-M0+"/>
<accept Dcore="Cortex-M1"/>
<accept Dcore="Cortex-M3"/>
<accept Dcore="Cortex-M4"/>
<accept Dcore="Cortex-M7"/>
<accept Dcore="Cortex-M23"/>
<accept Dcore="Cortex-M33"/>
<accept Dcore="Cortex-M35P"/>
<accept Dcore="Cortex-M55"/>
<accept Dcore="SC000"/>
<accept Dcore="SC300"/>
<accept Dcore="ARMV8MBL"/>
<accept Dcore="ARMV8MML"/>
</condition>
<condition id="CMSIS-CORE">
<description>Require CMSIS-CORE Support</description>
<require Cclass="CMSIS" Cgroup="CORE"/>
</condition>
<condition id="Cortex-M Arm GCC">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm GCC"/>
<require condition="Cortex-M Processors"/>
</condition>
<condition id="Cortex-M Arm Compiler">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm Compiler"/>
<require condition="Cortex-M Processors"/>
</condition>
<condition id="Cortex-M Arm GCC CMSIS-CORE">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm GCC"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
</condition>
<condition id="Cortex-M Arm Compiler CMSIS-CORE">
<description>Compile Cortex-M Processors with GNU Tools for Arm Embedded Processors.</description>
<require condition="Arm Compiler"/>
<require condition="Cortex-M Processors"/>
<require condition="CMSIS-CORE"/>
</condition>
-->
<condition id="GNU Assembler"> <condition id="GNU Assembler">
<accept Tcompiler="ARMCC" Toptions="AC6"/> <accept Tcompiler="ARMCC" Toptions="AC6"/>
@@ -263,6 +205,8 @@
<accept Dcore="Cortex-M55"/> <accept Dcore="Cortex-M55"/>
<accept Dcore="Cortex-M85"/> <accept Dcore="Cortex-M85"/>
<accept Dcore="ARMV81MML"/> <accept Dcore="ARMV81MML"/>
<accept Dmve="MVE"/>
<accept Dmve="FP_MVE"/>
</condition> </condition>
<condition id="NEON GNU Assembler"> <condition id="NEON GNU Assembler">
@@ -368,40 +312,10 @@
<deny Cclass="LVGL" Cgroup="LVGL9" Csub="GPU GD32-IPA"/> <deny Cclass="LVGL" Cgroup="LVGL9" Csub="GPU GD32-IPA"/>
<!--<deny Cclass="LVGL" Cgroup="LVGL9" Csub="GPU Renesas-Dave2D"/>--> <!--<deny Cclass="LVGL" Cgroup="LVGL9" Csub="GPU Renesas-Dave2D"/>-->
</condition> </condition>
</conditions> </conditions>
<!-- apis section (optional - for Application Programming Interface descriptions) -->
<!--
<apis>
</apis>
-->
<!-- boards section (mandatory for Board Support Packs) -->
<!--
<boards>
</boards>
-->
<!-- devices section (mandatory for Device Family Packs) -->
<!--
<devices>
</devices>
-->
<!-- examples section (optional for all Software Packs)-->
<!--
<examples>
</examples>
-->
<!-- conditions section (optional for all Software Packs)-->
<!--
<conditions>
</conditions>
-->
<components> <components>
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.1.0"> <bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.2.0">
<description>LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint.</description> <description>LVGL (Light and Versatile Graphics Library) is a free and open-source graphics library providing everything you need to create an embedded GUI with easy-to-use graphical elements, beautiful visual effects and a low memory footprint.</description>
<doc></doc> <doc></doc>
<component Cgroup="Essential"> <component Cgroup="Essential">
@@ -451,7 +365,19 @@
<file category="sourceC" name="src/drivers/libinput/lv_libinput.c" /> <file category="sourceC" name="src/drivers/libinput/lv_libinput.c" />
<file category="sourceC" name="src/drivers/libinput/lv_xkb.c" /> <file category="sourceC" name="src/drivers/libinput/lv_xkb.c" />
<file category="sourceC" name="src/drivers/glfw/lv_glfw_windows.c" />
<file category="sourceC" name="src/drivers/glfw/lv_glfw_windows.c" />
<file category="sourceC" name="src/drivers/glfw/lv_opengles_debug.c" />
<file category="sourceC" name="src/drivers/glfw/lv_opengles_driver.c" />
<file category="sourceC" name="src/drivers/glfw/lv_opengles_texture.c" />
<file category="sourceC" name="src/drivers/qnx/lv_qnx.c" />
<file category="sourceC" name="src/drivers/wayland/lv_wayland.c" />
<file category="sourceC" name="src/drivers/wayland/lv_wayland_smm.c" />
<!-- src/drivers --> <!-- src/drivers -->
<file category="sourceC" name="src/display/lv_display.c" /> <file category="sourceC" name="src/display/lv_display.c" />
@@ -488,6 +414,7 @@
<!-- src/draw/sw/blend --> <!-- src/draw/sw/blend -->
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend.c" /> <file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend.c" />
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_argb8888.c" /> <file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_argb8888.c" />
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_i1.c" />
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_l8.c" /> <file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_l8.c" />
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_al88.c" /> <file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_al88.c" />
<file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_rgb565.c" /> <file category="sourceC" name="src/draw/sw/blend/lv_draw_sw_blend_to_rgb565.c" />
@@ -563,9 +490,10 @@
<file category="sourceC" name="src/misc/lv_text_ap.c" /> <file category="sourceC" name="src/misc/lv_text_ap.c" />
<file category="sourceC" name="src/misc/lv_timer.c" /> <file category="sourceC" name="src/misc/lv_timer.c" />
<file category="sourceC" name="src/misc/lv_utils.c" /> <file category="sourceC" name="src/misc/lv_utils.c" />
<file category="sourceC" name="src/misc/lv_matrix.c" />
<!-- src/misc/cache--> <!-- src/misc/cache-->
<file category="sourceC" name="src/misc/cache/_lv_cache_lru_rb.c" /> <file category="sourceC" name="src/misc/cache/lv_cache_lru_rb.c" />
<file category="sourceC" name="src/misc/cache/lv_cache.c" /> <file category="sourceC" name="src/misc/cache/lv_cache.c" />
<file category="sourceC" name="src/misc/cache/lv_cache_entry.c" /> <file category="sourceC" name="src/misc/cache/lv_cache_entry.c" />
<file category="sourceC" name="src/misc/cache/lv_image_cache.c" /> <file category="sourceC" name="src/misc/cache/lv_image_cache.c" />
@@ -616,6 +544,7 @@
<file category="sourceC" name="src/widgets/led/lv_led.c" /> <file category="sourceC" name="src/widgets/led/lv_led.c" />
<file category="sourceC" name="src/widgets/line/lv_line.c" /> <file category="sourceC" name="src/widgets/line/lv_line.c" />
<file category="sourceC" name="src/widgets/list/lv_list.c" /> <file category="sourceC" name="src/widgets/list/lv_list.c" />
<file category="sourceC" name="src/widgets/lottie/lv_lottie.c" />
<file category="sourceC" name="src/widgets/menu/lv_menu.c" /> <file category="sourceC" name="src/widgets/menu/lv_menu.c" />
<file category="sourceC" name="src/widgets/msgbox/lv_msgbox.c" /> <file category="sourceC" name="src/widgets/msgbox/lv_msgbox.c" />
<file category="sourceC" name="src/widgets/objx_templ/lv_objx_templ.c" /> <file category="sourceC" name="src/widgets/objx_templ/lv_objx_templ.c" />
@@ -631,6 +560,15 @@
<file category="sourceC" name="src/widgets/textarea/lv_textarea.c" /> <file category="sourceC" name="src/widgets/textarea/lv_textarea.c" />
<file category="sourceC" name="src/widgets/tileview/lv_tileview.c" /> <file category="sourceC" name="src/widgets/tileview/lv_tileview.c" />
<file category="sourceC" name="src/widgets/win/lv_win.c" /> <file category="sourceC" name="src/widgets/win/lv_win.c" />
<file category="sourceC" name="src/widgets/property/lv_image_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_obj_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_style_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_label_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_keyboard_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_textarea_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_roller_properties.c" />
<file category="sourceC" name="src/widgets/property/lv_dropdown_properties.c" />
<!-- src/libs --> <!-- src/libs -->
<file category="sourceC" name="src/libs/bin_decoder/lv_bin_decoder.c" /> <file category="sourceC" name="src/libs/bin_decoder/lv_bin_decoder.c" />
@@ -647,6 +585,7 @@
<!-- src/osal --> <!-- src/osal -->
<file category="sourceC" name="src/osal/lv_os_none.c"/> <file category="sourceC" name="src/osal/lv_os_none.c"/>
<file category="sourceC" name="src/osal/lv_os.c"/>
<!-- general --> <!-- general -->
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="2.1.6" /> <file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="2.1.6" />
@@ -655,10 +594,10 @@
<file category="doc" name="README.md"/> <file category="doc" name="README.md"/>
<!-- code template --> <!-- code template -->
<file category="header" name="examples/porting/lv_port_disp_template.h" attr="template" select="Display port template" version="2.2.0"/> <file category="header" name="examples/porting/lv_port_disp_template.h" attr="template" select="Display port template" version="2.3.0"/>
<file category="sourceC" name="examples/porting/lv_port_disp_template.c" attr="template" select="Display port template" version="2.2.0"/> <file category="sourceC" name="examples/porting/lv_port_disp_template.c" attr="template" select="Display port template" version="2.3.0"/>
<file category="header" name="examples/porting/lv_port_indev_template.h" attr="template" select="Input devices port template" version="2.2.0"/> <file category="header" name="examples/porting/lv_port_indev_template.h" attr="template" select="Input devices port template" version="2.3.0"/>
<file category="sourceC" name="examples/porting/lv_port_indev_template.c" attr="template" select="Input devices port template" version="2.2.0"/> <file category="sourceC" name="examples/porting/lv_port_indev_template.c" attr="template" select="Input devices port template" version="2.3.0"/>
<file category="header" name="examples/porting/lv_port_fs_template.h" attr="template" select="File system port template" version="2.2.0"/> <file category="header" name="examples/porting/lv_port_fs_template.h" attr="template" select="File system port template" version="2.2.0"/>
<file category="sourceC" name="examples/porting/lv_port_fs_template.c" attr="template" select="File system port template" version="2.2.0"/> <file category="sourceC" name="examples/porting/lv_port_fs_template.c" attr="template" select="File system port template" version="2.2.0"/>
</files> </files>
@@ -785,6 +724,19 @@
</RTE_Components_h> </RTE_Components_h>
</component> </component>
<component Cgroup="Display" Cvariant="Renesas GLCD" condition="LVGL-Essential">
<description>Add the display driver for Renesas GLCD </description>
<files>
<file category="sourceC" name="src/drivers/display/renesas_glcdc/lv_renesas_glcdc.c" />
</files>
<RTE_Components_h>
/* use display driver for Renesas GLCD */
#define LV_USE_RENESAS_GLCDC 1
</RTE_Components_h>
</component>
<component Cgroup="OS Abstraction Layer" Cvariant="pthreads" condition="LVGL-Essential"> <component Cgroup="OS Abstraction Layer" Cvariant="pthreads" condition="LVGL-Essential">
<description>Add the support for pthreads</description> <description>Add the support for pthreads</description>
<files> <files>
@@ -793,16 +745,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_PTHREAD #define LV_USE_OS LV_OS_PTHREAD
</RTE_Components_h> </RTE_Components_h>
@@ -817,16 +759,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_FREERTOS #define LV_USE_OS LV_OS_FREERTOS
</RTE_Components_h> </RTE_Components_h>
@@ -841,16 +773,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_CMSIS_RTOS2 #define LV_USE_OS LV_OS_CMSIS_RTOS2
</RTE_Components_h> </RTE_Components_h>
@@ -865,16 +787,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_RTTHREAD #define LV_USE_OS LV_OS_RTTHREAD
</RTE_Components_h> </RTE_Components_h>
@@ -889,16 +801,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_WINDOWS #define LV_USE_OS LV_OS_WINDOWS
</RTE_Components_h> </RTE_Components_h>
@@ -913,16 +815,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_MQX #define LV_USE_OS LV_OS_MQX
</RTE_Components_h> </RTE_Components_h>
@@ -938,15 +830,6 @@
<RTE_Components_h> <RTE_Components_h>
/* Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_CUSTOM
*/
#define LV_USE_OS LV_OS_CUSTOM #define LV_USE_OS LV_OS_CUSTOM
#define LV_OS_CUSTOM_INCLUDE "lv_os_custom.h" #define LV_OS_CUSTOM_INCLUDE "lv_os_custom.h"
@@ -1076,6 +959,7 @@
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_decoder.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_decoder.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_math.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_math.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_path.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_path.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_stroke.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_grad.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_grad.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_pending.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_pending.c" />
<file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_utils.c" /> <file category="sourceC" name="src/draw/vg_lite/lv_vg_lite_utils.c" />
@@ -1343,7 +1227,8 @@
<RTE_Components_h> <RTE_Components_h>
/*! \brief enable Arduino LittleFs file access */ /*! \brief enable Arduino LittleFs file access */
#define LV_USE_FS_ARDUINO_ESP_LITTLEFS 1 #define LV_USE_FS_ARDUINO_ESP_LITTLEFS 1
#define LV_USE_FS_ARDUINO_SD 1
</RTE_Components_h> </RTE_Components_h>
</component> </component>
@@ -1493,14 +1378,27 @@
<description>Add ThorVG (vector graphics library), an extra librbary is required.</description> <description>Add ThorVG (vector graphics library), an extra librbary is required.</description>
<files> <files>
<!-- src/libs/thorvg --> <!-- src/libs/thorvg -->
<file category="sourceCpp" name="src/libs/thorvg/tvgAccessor.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgAnimation.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgAnimation.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgBezier.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgCanvas.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgCanvas.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgCapi.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgCapi.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgCompressor.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgCompressor.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgFill.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgFill.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgGICanvas.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgInitializer.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgInitializer.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLines.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLoader.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgLoader.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieAnimation.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieBuilder.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieExpressions.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieInterpolator.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieLoader.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieModel.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieParser.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgLottieParserHandler.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgMath.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgMath.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgPaint.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgPaint.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgPicture.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgPicture.cpp" />
@@ -1526,6 +1424,8 @@
<file category="sourceCpp" name="src/libs/thorvg/tvgSwShape.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgSwShape.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgSwStroke.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgSwStroke.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgTaskScheduler.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgTaskScheduler.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgText.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgWgCanvas.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgXmlParser.cpp" /> <file category="sourceCpp" name="src/libs/thorvg/tvgXmlParser.cpp" />
</files> </files>
@@ -1686,6 +1586,7 @@
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_argb.c" /> <file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_argb.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_indexed16.c" /> <file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_indexed16.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_rgb.c" /> <file category="sourceC" name="demos/benchmark/assets/img_benchmark_cogwheel_rgb.c" />
<file category="sourceC" name="demos/benchmark/assets/img_benchmark_avatar.c" />
<file category="sourceC" name="demos/benchmark/assets/lv_font_benchmark_montserrat_12_compr_az.c.c" /> <file category="sourceC" name="demos/benchmark/assets/lv_font_benchmark_montserrat_12_compr_az.c.c" />
<file category="sourceC" name="demos/benchmark/assets/lv_font_benchmark_montserrat_16_compr_az.c.c" /> <file category="sourceC" name="demos/benchmark/assets/lv_font_benchmark_montserrat_16_compr_az.c.c" />
@@ -1799,6 +1700,7 @@
<file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_rgb565.c" /> <file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_rgb565.c" />
<file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_rgb888.c" /> <file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_rgb888.c" />
<file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_xrgb8888.c" /> <file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_xrgb8888.c" />
<file category="sourceC" name="demos/render/assets/img_render_lvgl_logo_i1.c" />
</files> </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"> <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>2024-04-30</timestamp> <timestamp>2024-08-26</timestamp>
<pindex> <pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.1.1-dev2"/> <pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.2.0"/>
</pindex> </pindex>
</index> </index>
+8 -33
View File
@@ -40,72 +40,39 @@ remove the misleading guide above this code segment.
4. Remove macro definitions for 4. Remove macro definitions for
- LV_USE_DEMO_WIDGETS - LV_USE_DEMO_WIDGETS
- LV_USE_DEMO_BENCHMARK - LV_USE_DEMO_BENCHMARK
- LV_USE_IME_PINYIN - LV_USE_IME_PINYIN
- LV_USE_OS - LV_USE_OS
- LV_USE_FILE_EXPLORER - LV_USE_FILE_EXPLORER
- LV_USE_DEMO_WIDGETS - LV_USE_DEMO_WIDGETS
- LV_USE_DEMO_KEYPAD_AND_ENCODER - LV_USE_DEMO_KEYPAD_AND_ENCODER
- LV_USE_DEMO_BENCHMARK - LV_USE_DEMO_BENCHMARK
- LV_USE_DEMO_RENDER - LV_USE_DEMO_RENDER
- LV_USE_DEMO_STRESS - LV_USE_DEMO_STRESS
- LV_USE_DEMO_MUSIC - LV_USE_DEMO_MUSIC
- LV_USE_DEMO_FLEX_LAYOUT - LV_USE_DEMO_FLEX_LAYOUT
- LV_USE_DEMO_MULTILANG - LV_USE_DEMO_MULTILANG
- LV_USE_DEMO_TRANSFORM - LV_USE_DEMO_TRANSFORM
- LV_USE_DEMO_SCROLL - LV_USE_DEMO_SCROLL
- LV_USE_DEMO_VECTOR_GRAPHIC - LV_USE_DEMO_VECTOR_GRAPHIC
- LV_USE_DRAW_VGLITE - LV_USE_DRAW_VGLITE
- LV_USE_DRAW_VG_LITE - LV_USE_DRAW_VG_LITE
- LV_USE_DRAW_PXP - LV_USE_DRAW_PXP
- LV_USE_DRAW_SDL - LV_USE_DRAW_SDL
- LV_USE_DRAW_ARM2D - LV_USE_DRAW_ARM2D
- LV_USE_SNAPSHOT - LV_USE_SNAPSHOT
- LV_USE_MONKEY - LV_USE_MONKEY
- LV_USE_GRIDNAV - LV_USE_GRIDNAV
- LV_USE_FRAGMENT - LV_USE_FRAGMENT
- LV_USE_IMGFONT - LV_USE_IMGFONT
- LV_USE_LINUX_DRM - LV_USE_LINUX_DRM
- LV_USE_TFT_ESPI - LV_USE_TFT_ESPI
- LV_USE_ST7735 - LV_USE_ST7735
- LV_USE_ST7789 - LV_USE_ST7789
- LV_USE_ST7796 - LV_USE_ST7796
- LV_USE_ILI9341 - LV_USE_ILI9341
- LV_USE_RENESAS_GLCDC - LV_USE_RENESAS_GLCDC
5. Update `LV_LOG_PRINTF` to `1` and `LV_LOG_LEVEL` to `LV_LOG_LEVEL_USER` 5. Update `LV_LOG_PRINTF` to `1` and `LV_LOG_LEVEL` to `LV_LOG_LEVEL_USER`
@@ -221,6 +188,14 @@ with:
14. Add the following macro definition to **COLOR SETTINGS** section:
```c
#define LV_COLOR_16_SWAP 0
```
14. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'. 14. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'.
+136 -44
View File
@@ -1,6 +1,6 @@
/** /**
* @file lv_conf.h * @file lv_conf_cmsis.h
* Configuration file for v9.1.1-dev * Configuration file for v9.2.0
*/ */
/* clang-format off */ /* clang-format off */
@@ -9,9 +9,7 @@
#ifndef LV_CONF_H #ifndef LV_CONF_H
#define LV_CONF_H #define LV_CONF_H
#if defined(_RTE_) #include "RTE_Components.h"
#include "RTE_Components.h"
#endif
/*If you need to include anything here, do it inside the `__ASSEMBLY__` guard */ /*If you need to include anything here, do it inside the `__ASSEMBLY__` guard */
#if 0 && defined(__ASSEMBLY__) #if 0 && defined(__ASSEMBLY__)
@@ -22,9 +20,11 @@
COLOR SETTINGS COLOR SETTINGS
*====================*/ *====================*/
/*Color depth: 8 (A8), 16 (RGB565), 24 (RGB888), 32 (XRGB8888)*/ /*Color depth: 1 (I1), 8 (L8), 16 (RGB565), 24 (RGB888), 32 (XRGB8888)*/
#define LV_COLOR_DEPTH 16 #define LV_COLOR_DEPTH 16
#define LV_COLOR_16_SWAP 0
/*========================= /*=========================
STDLIB WRAPPER SETTINGS STDLIB WRAPPER SETTINGS
*=========================*/ *=========================*/
@@ -40,6 +40,12 @@
#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN #define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN #define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN
#define LV_STDINT_INCLUDE <stdint.h>
#define LV_STDDEF_INCLUDE <stddef.h>
#define LV_STDBOOL_INCLUDE <stdbool.h>
#define LV_INTTYPES_INCLUDE <inttypes.h>
#define LV_LIMITS_INCLUDE <limits.h>
#define LV_STDARG_INCLUDE <stdarg.h>
#if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN #if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN
/*Size of the memory available for `lv_malloc()` in bytes (>= 2kB)*/ /*Size of the memory available for `lv_malloc()` in bytes (>= 2kB)*/
@@ -81,6 +87,15 @@
/*================= /*=================
* OPERATING SYSTEM * OPERATING SYSTEM
*=================*/ *=================*/
/*Select an operating system to use. Possible options:
* - LV_OS_NONE
* - LV_OS_PTHREAD
* - LV_OS_FREERTOS
* - LV_OS_CMSIS_RTOS2
* - LV_OS_RTTHREAD
* - LV_OS_WINDOWS
* - LV_OS_MQX
* - LV_OS_CUSTOM */
#if LV_USE_OS == LV_OS_CUSTOM #if LV_USE_OS == LV_OS_CUSTOM
#define LV_OS_CUSTOM_INCLUDE <stdint.h> #define LV_OS_CUSTOM_INCLUDE <stdint.h>
@@ -96,6 +111,12 @@
/*Align the start address of draw_buf addresses to this bytes*/ /*Align the start address of draw_buf addresses to this bytes*/
#define LV_DRAW_BUF_ALIGN 4 #define LV_DRAW_BUF_ALIGN 4
/*Using matrix for transformations.
*Requirements:
`LV_USE_MATRIX = 1`.
The rendering engine needs to support 3x3 matrix transformations.*/
#define LV_DRAW_TRANSFORM_USE_MATRIX 0
/* If a widget has `style_opa < 255` (not `bg_opa`, `text_opa` etc) or not NORMAL blend mode /* If a widget has `style_opa < 255` (not `bg_opa`, `text_opa` etc) or not NORMAL blend mode
* it is buffered into a "simple" layer before rendering. The widget can be buffered in smaller chunks. * it is buffered into a "simple" layer before rendering. The widget can be buffered in smaller chunks.
* "Transformed layers" (if `transform_angle/zoom` are set) use larger buffers * "Transformed layers" (if `transform_angle/zoom` are set) use larger buffers
@@ -104,9 +125,32 @@
/*The target buffer size for simple layer chunks.*/ /*The target buffer size for simple layer chunks.*/
#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (24 * 1024) /*[bytes]*/ #define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (24 * 1024) /*[bytes]*/
/* The stack size of the drawing thread.
* NOTE: If FreeType or ThorVG is enabled, it is recommended to set it to 32KB or more.
*/
#define LV_DRAW_THREAD_STACK_SIZE (8 * 1024) /*[bytes]*/
#define LV_USE_DRAW_SW 1 #define LV_USE_DRAW_SW 1
#if LV_USE_DRAW_SW == 1 #if LV_USE_DRAW_SW == 1
/* Set the number of draw unit.
/*
* Selectively disable color format support in order to reduce code size.
* NOTE: some features use certain color formats internally, e.g.
* - gradients use RGB888
* - bitmaps with transparency may use ARGB8888
*/
#define LV_DRAW_SW_SUPPORT_RGB565 1
#define LV_DRAW_SW_SUPPORT_RGB565A8 1
#define LV_DRAW_SW_SUPPORT_RGB888 1
#define LV_DRAW_SW_SUPPORT_XRGB8888 1
#define LV_DRAW_SW_SUPPORT_ARGB8888 1
#define LV_DRAW_SW_SUPPORT_L8 1
#define LV_DRAW_SW_SUPPORT_AL88 1
#define LV_DRAW_SW_SUPPORT_A8 1
#define LV_DRAW_SW_SUPPORT_I1 1
/* Set the number of draw unit.
* > 1 requires an operating system enabled in `LV_USE_OS` * > 1 requires an operating system enabled in `LV_USE_OS`
* > 1 means multiple threads will render the screen in parallel */ * > 1 means multiple threads will render the screen in parallel */
#define LV_DRAW_SW_DRAW_UNIT_CNT 1 #define LV_DRAW_SW_DRAW_UNIT_CNT 1
@@ -134,7 +178,7 @@
#if !defined(LV_USE_DRAW_SW_ASM) && defined(RTE_Acceleration_Arm_2D) #if !defined(LV_USE_DRAW_SW_ASM) && defined(RTE_Acceleration_Arm_2D)
/*turn-on helium acceleration when Arm-2D and the Helium-powered device are detected */ /*turn-on helium acceleration when Arm-2D and the Helium-powered device are detected */
#if defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE #if defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE
#define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_HELIUM #define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_HELIUM
#define LV_USE_DRAW_ARM2D_SYNC 1 #define LV_USE_DRAW_ARM2D_SYNC 1
#endif #endif
#endif #endif
@@ -146,8 +190,12 @@
#if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_CUSTOM #if LV_USE_DRAW_SW_ASM == LV_DRAW_SW_ASM_CUSTOM
#define LV_DRAW_SW_ASM_CUSTOM_INCLUDE "" #define LV_DRAW_SW_ASM_CUSTOM_INCLUDE ""
#endif #endif
/* Enable drawing complex gradients in software: linear at an angle, radial or conical */
#define LV_USE_DRAW_SW_COMPLEX_GRADIENTS 0
#endif #endif
/* Use NXP's VG-Lite GPU on iMX RTxxx platforms. */
#if LV_USE_DRAW_VGLITE #if LV_USE_DRAW_VGLITE
/* Enable blit quality degradation workaround recommended for screen's dimension > 352 pixels. */ /* Enable blit quality degradation workaround recommended for screen's dimension > 352 pixels. */
#define LV_USE_VGLITE_BLIT_SPLIT 0 #define LV_USE_VGLITE_BLIT_SPLIT 0
@@ -161,38 +209,36 @@
#define LV_USE_VGLITE_ASSERT 0 #define LV_USE_VGLITE_ASSERT 0
#endif #endif
/* Use NXP's PXP on iMX RTxxx platforms. */
#if LV_USE_DRAW_PXP #if LV_USE_DRAW_PXP
/* Enable PXP asserts. */ /* Enable PXP asserts. */
#define LV_USE_PXP_ASSERT 0 #define LV_USE_PXP_ASSERT 0
#endif #endif
/* Use VG-Lite GPU. */ /* Use VG-Lite GPU. */
#define LV_USE_DRAW_VG_LITE 0
#if LV_USE_DRAW_VG_LITE #if LV_USE_DRAW_VG_LITE
/* Enable VG-Lite custom external 'gpu_init()' function */ /* Enable VG-Lite custom external 'gpu_init()' function */
#define LV_VG_LITE_USE_GPU_INIT 0 #define LV_VG_LITE_USE_GPU_INIT 0
/* Enable VG-Lite assert. */ /* Enable VG-Lite assert. */
#define LV_VG_LITE_USE_ASSERT 0 #define LV_VG_LITE_USE_ASSERT 0
/* VG-Lite flush commit trigger threshold. GPU will try to batch these many draw tasks. */ /* VG-Lite flush commit trigger threshold. GPU will try to batch these many draw tasks. */
#define LV_VG_LITE_FLUSH_MAX_COUNT 8 #define LV_VG_LITE_FLUSH_MAX_COUNT 8
/* Enable border to simulate shadow /* Enable border to simulate shadow
* NOTE: which usually improves performance, * NOTE: which usually improves performance,
* but does not guarantee the same rendering quality as the software. */ * but does not guarantee the same rendering quality as the software. */
#define LV_VG_LITE_USE_BOX_SHADOW 0 #define LV_VG_LITE_USE_BOX_SHADOW 0
/* VG-Lite linear gradient image maximum cache number. /* VG-Lite gradient maximum cache number.
* NOTE: The memory usage of a single gradient image is 4K bytes. * NOTE: The memory usage of a single gradient image is 4K bytes.
*/ */
#define LV_VG_LITE_LINEAR_GRAD_CACHE_CNT 32 #define LV_VG_LITE_GRAD_CACHE_CNT 32
/* VG-Lite radial gradient image maximum cache size. /* VG-Lite stroke maximum cache number.
* NOTE: The memory usage of a single gradient image is radial grad radius * 4 bytes. */
*/ #define LV_VG_LITE_STROKE_CACHE_CNT 32
#define LV_VG_LITE_RADIAL_GRAD_CACHE_CNT 32
#endif #endif
@@ -215,7 +261,7 @@
*LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail *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_USER Only logs added by the user
*LV_LOG_LEVEL_NONE Do not log anything*/ *LV_LOG_LEVEL_NONE Do not log anything*/
#define LV_LOG_LEVEL LV_LOG_LEVEL_USER #define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
/*1: Print the log with 'printf'; /*1: Print the log with 'printf';
*0: User need to register a callback with `lv_log_register_print_cb()`*/ *0: User need to register a callback with `lv_log_register_print_cb()`*/
@@ -234,6 +280,7 @@
*0: Do not print file and line number of the log*/ *0: Do not print file and line number of the log*/
#define LV_LOG_USE_FILE_LINE 1 #define LV_LOG_USE_FILE_LINE 1
/*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/ /*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/
#define LV_LOG_TRACE_MEM 1 #define LV_LOG_TRACE_MEM 1
#define LV_LOG_TRACE_TIMER 1 #define LV_LOG_TRACE_TIMER 1
@@ -290,8 +337,8 @@
/*Default cache size in bytes. /*Default cache size in bytes.
*Used by image decoders such as `lv_lodepng` to keep the decoded image in the memory. *Used by image decoders such as `lv_lodepng` to keep the decoded image in the memory.
*Data larger than the size of the cache also can be allocated but *If size is not set to 0, the decoder will fail to decode when the cache is full.
*will be dropped immediately after usage.*/ *If size is 0, the cache function is not enabled and the decoded mem will be released immediately after use.*/
#define LV_CACHE_DEF_SIZE 0 #define LV_CACHE_DEF_SIZE 0
/*Default number of image header cache entries. The cache is used to store the headers of images /*Default number of image header cache entries. The cache is used to store the headers of images
@@ -313,10 +360,15 @@
#define LV_USE_OBJ_ID 0 #define LV_USE_OBJ_ID 0
/* Automatically assign an ID when obj is created */ /* Automatically assign an ID when obj is created */
#define LV_OBJ_ID_AUTO_ASSIGN 1 #define LV_OBJ_ID_AUTO_ASSIGN LV_USE_OBJ_ID
/* Use lvgl builtin method for obj ID */ /*Use the builtin obj ID handler functions:
#define LV_USE_OBJ_ID_BUILTIN 0 * - lv_obj_assign_id: Called when a widget is created. Use a separate counter for each widget class as an ID.
* - lv_obj_id_compare: Compare the ID to decide if it matches with a requested value.
* - lv_obj_stringify_id: Return e.g. "button3"
* - lv_obj_free_id: Does nothing, as there is no memory allocation for the ID.
* When disabled these functions needs to be implemented by the user.*/
#define LV_USE_OBJ_ID_BUILTIN 1
/*Use obj property set/get API*/ /*Use obj property set/get API*/
#define LV_USE_OBJ_PROPERTY 0 #define LV_USE_OBJ_PROPERTY 0
@@ -336,6 +388,9 @@
/*Enable YUV color format support*/ /*Enable YUV color format support*/
#define LV_VG_LITE_THORVG_YUV_SUPPORT 0 #define LV_VG_LITE_THORVG_YUV_SUPPORT 0
/*Enable Linear gradient extension support*/
#define LV_VG_LITE_THORVG_LINEAR_GRADIENT_EXT_SUPPORT 0
/*Enable 16 pixels alignment*/ /*Enable 16 pixels alignment*/
#define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1 #define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1
@@ -364,7 +419,7 @@
#define LV_ATTRIBUTE_FLUSH_READY #define LV_ATTRIBUTE_FLUSH_READY
/*Required alignment size for buffers*/ /*Required alignment size for buffers*/
#define LV_ATTRIBUTE_MEM_ALIGN_SIZE 4 #define LV_ATTRIBUTE_MEM_ALIGN_SIZE 1
/*Will be added where memories needs to be aligned (with -Os data might not be aligned to boundary by default). /*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)))*/ * E.g. __attribute__((aligned(4)))*/
@@ -389,6 +444,13 @@
/* Use `float` as `lv_value_precise_t` */ /* Use `float` as `lv_value_precise_t` */
#define LV_USE_FLOAT 0 #define LV_USE_FLOAT 0
/*Enable matrix support
*Requires `LV_USE_FLOAT = 1`*/
#define LV_USE_MATRIX 0
/*Include `lvgl_private.h` in `lvgl.h` to access internal data and functions by default*/
#define LV_USE_PRIVATE_API 0
/*================== /*==================
* FONT USAGE * FONT USAGE
*===================*/ *===================*/
@@ -549,6 +611,8 @@
#define LV_USE_LIST 1 #define LV_USE_LIST 1
#define LV_USE_LOTTIE 0 /*Requires: lv_canvas, thorvg */
#define LV_USE_MENU 1 #define LV_USE_MENU 1
#define LV_USE_MSGBOX 1 #define LV_USE_MSGBOX 1
@@ -624,6 +688,9 @@
/*File system interfaces for common APIs */ /*File system interfaces for common APIs */
/*Setting a default driver letter allows skipping the driver prefix in filepaths*/
#define LV_FS_DEFAULT_DRIVE_LETTER '\0'
/*API for fopen, fread, etc*/ /*API for fopen, fread, etc*/
#if LV_USE_FS_STDIO #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_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
@@ -673,15 +740,13 @@
/*GIF decoder library*/ /*GIF decoder library*/
#if LV_USE_GIF #if LV_USE_GIF
/*GIF decoder accelerate*/ /*GIF decoder accelerate*/
#define LV_GIF_CACHE_DECODE_DATA 0 #define LV_GIF_CACHE_DECODE_DATA 0
#endif #endif
/*Decode bin images to RAM*/ /*Decode bin images to RAM*/
#define LV_BIN_DECODER_RAM_LOAD 0 #define LV_BIN_DECODER_RAM_LOAD 0
/*FreeType library*/ /*FreeType library*/
#if LV_USE_FREETYPE #if LV_USE_FREETYPE
/*Let FreeType to use LVGL memory and file porting*/ /*Let FreeType to use LVGL memory and file porting*/
@@ -696,9 +761,9 @@
#if LV_USE_TINY_TTF #if LV_USE_TINY_TTF
/* Enable loading TTF data from files */ /* Enable loading TTF data from files */
#define LV_TINY_TTF_FILE_SUPPORT 0 #define LV_TINY_TTF_FILE_SUPPORT 0
#define LV_TINY_TTF_CACHE_GLYPH_CNT 256
#endif #endif
/*Enable Vector Graphic APIs*/ /*Enable Vector Graphic APIs*/
#ifndef LV_USE_VECTOR_GRAPHIC #ifndef LV_USE_VECTOR_GRAPHIC
# define LV_USE_VECTOR_GRAPHIC 0 # define LV_USE_VECTOR_GRAPHIC 0
@@ -712,6 +777,8 @@
/*Enable LZ4 compress/decompress lib*/ /*Enable LZ4 compress/decompress lib*/
#ifndef LV_USE_LZ4 #ifndef LV_USE_LZ4
# define LV_USE_LZ4 0
/*Use lvgl built-in LZ4 lib*/ /*Use lvgl built-in LZ4 lib*/
# define LV_USE_LZ4_INTERNAL 0 # define LV_USE_LZ4_INTERNAL 0
@@ -732,8 +799,9 @@
/*1: Enable system monitor component*/ /*1: Enable system monitor component*/
#define LV_USE_SYSMON 0 #define LV_USE_SYSMON 0
#if LV_USE_SYSMON #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 /*1: Show CPU usage and FPS count
* Requires `LV_USE_SYSMON = 1`*/ * Requires `LV_USE_SYSMON = 1`*/
@@ -781,6 +849,7 @@
#define LV_PROFILER_END_TAG LV_PROFILER_BUILTIN_END_TAG #define LV_PROFILER_END_TAG LV_PROFILER_BUILTIN_END_TAG
#endif #endif
/*1: Enable an observer pattern implementation*/ /*1: Enable an observer pattern implementation*/
#define LV_USE_OBSERVER 1 #define LV_USE_OBSERVER 1
@@ -816,11 +885,11 @@
*==================*/ *==================*/
/*Use SDL to open window on PC and handle mouse and keyboard*/ /*Use SDL to open window on PC and handle mouse and keyboard*/
#define LV_USE_SDL 0
#if LV_USE_SDL #if LV_USE_SDL
#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h> #define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
#define LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT /*LV_DISPLAY_RENDER_MODE_DIRECT is recommended for best performance*/ #define LV_SDL_RENDER_MODE LV_DISPLAY_RENDER_MODE_DIRECT /*LV_DISPLAY_RENDER_MODE_DIRECT is recommended for best performance*/
#define LV_SDL_BUF_COUNT 1 /*1 or 2*/ #define LV_SDL_BUF_COUNT 1 /*1 or 2*/
#define LV_SDL_ACCELERATED 1 /*1: Use hardware acceleration*/
#define LV_SDL_FULLSCREEN 0 /*1: Make the window full screen by default*/ #define LV_SDL_FULLSCREEN 0 /*1: Make the window full screen by default*/
#define LV_SDL_DIRECT_EXIT 1 /*1: Exit the application when all SDL windows are closed*/ #define LV_SDL_DIRECT_EXIT 1 /*1: Exit the application when all SDL windows are closed*/
#define LV_SDL_MOUSEWHEEL_MODE LV_SDL_MOUSEWHEEL_MODE_ENCODER /*LV_SDL_MOUSEWHEEL_MODE_ENCODER/CROWN*/ #define LV_SDL_MOUSEWHEEL_MODE LV_SDL_MOUSEWHEEL_MODE_ENCODER /*LV_SDL_MOUSEWHEEL_MODE_ENCODER/CROWN*/
@@ -837,8 +906,14 @@
#define LV_X11_RENDER_MODE_FULL 0 /*Full render mode*/ #define LV_X11_RENDER_MODE_FULL 0 /*Full render mode*/
#endif #endif
/*Use Wayland to open a window and handle input on Linux or BSD desktops */
#define LV_USE_WAYLAND 0
#if LV_USE_WAYLAND
#define LV_WAYLAND_WINDOW_DECORATIONS 0 /*Draw client side window decorations only necessary on Mutter/GNOME*/
#define LV_WAYLAND_WL_SHELL 0 /*Use the legacy wl_shell protocol instead of the default XDG shell*/
#endif
/*Driver for /dev/fb*/ /*Driver for /dev/fb*/
#define LV_USE_LINUX_FBDEV 0
#if LV_USE_LINUX_FBDEV #if LV_USE_LINUX_FBDEV
#define LV_LINUX_FBDEV_BSD 0 #define LV_LINUX_FBDEV_BSD 0
#define LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL #define LV_LINUX_FBDEV_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL
@@ -867,6 +942,7 @@
#endif #endif
/*Driver for evdev input devices*/ /*Driver for evdev input devices*/
#define LV_USE_EVDEV 0 #define LV_USE_EVDEV 0
@@ -886,6 +962,22 @@
#define LV_USE_GENERIC_MIPI (LV_USE_ST7735 | LV_USE_ST7789 | LV_USE_ST7796 | LV_USE_ILI9341) #define LV_USE_GENERIC_MIPI (LV_USE_ST7735 | LV_USE_ST7789 | LV_USE_ST7796 | LV_USE_ILI9341)
/* LVGL Windows backend */
#define LV_USE_WINDOWS 0
/* Use OpenGL to open window on PC and handle mouse and keyboard */
#define LV_USE_OPENGLES 0
#if LV_USE_OPENGLES
#define LV_USE_OPENGLES_DEBUG 1 /* Enable or disable debug for opengles */
#endif
/* QNX Screen display and input drivers */
#define LV_USE_QNX 0
#if LV_USE_QNX
#define LV_QNX_BUF_COUNT 1 /*1 or 2*/
#endif
/*================== /*==================
* EXAMPLES * EXAMPLES
*==================*/ *==================*/