mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-21 05:51:45 +08:00
chore(cmsis-pack): Prepare for v9.5.0 (#9748)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Kconfig file for LVGL v9.4.0
|
||||
# Kconfig file for LVGL v9.5.0
|
||||
|
||||
menu "LVGL configuration"
|
||||
|
||||
|
||||
BIN
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -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>2025-10-16</timestamp>
|
||||
<timestamp>2026-02-18</timestamp>
|
||||
<pindex>
|
||||
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.4.0"/>
|
||||
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.5.0"/>
|
||||
</pindex>
|
||||
</index>
|
||||
|
||||
@@ -31,8 +31,8 @@ remove the misleading guide above this code segment.
|
||||
3. Add including for '**RTE_Components.h**'
|
||||
|
||||
```c
|
||||
#ifndef LV_CONF_H
|
||||
#define LV_CONF_H
|
||||
#ifndef LV_CONF_CMSIS_H
|
||||
#define LV_CONF_CMSIS_H
|
||||
|
||||
#if defined(_RTE_)
|
||||
#include "RTE_Components.h"
|
||||
@@ -57,7 +57,6 @@ remove the misleading guide above this code segment.
|
||||
- LV_USE_DEMO_HIGH_RES
|
||||
- LV_USE_DEMO_SMARTWATCH
|
||||
- LV_USE_DEMO_GLTF
|
||||
- LV_USE_DRAW_VGLITE
|
||||
- LV_USE_DRAW_VG_LITE
|
||||
- LV_USE_PXP
|
||||
- LV_USE_FS_FROGFS
|
||||
@@ -72,6 +71,8 @@ remove the misleading guide above this code segment.
|
||||
- LV_USE_DRAW_DAVE2D
|
||||
- LV_USE_DRAW_DMA2D
|
||||
- LV_USE_DRAW_EVE
|
||||
- LV_USE_DRAW_NANOVG
|
||||
- LV_USE_NANOVG
|
||||
- LV_USE_PPA
|
||||
- LV_USE_NV3007
|
||||
- LV_USE_NXP_ELCDIF
|
||||
@@ -91,7 +92,7 @@ remove the misleading guide above this code segment.
|
||||
- LV_USE_ST_LTDC
|
||||
- LV_USE_FT81X
|
||||
- LV_USE_ILI9341
|
||||
- LV_USE_RENESAS_GLCDC
|
||||
- LV_USE_RENESAS_GLCDC
|
||||
- LV_USE_NEMA_GFX
|
||||
- LV_USE_SVG
|
||||
5. Update `LV_LOG_PRINTF` to `1` and `LV_LOG_LEVEL` to `LV_LOG_LEVEL_USER`
|
||||
@@ -133,9 +134,8 @@ Make sure `LV_MEM_SIZE` is no less than `(128*1024U)`.
|
||||
- \#define LV_USE_RLOTTIE 0
|
||||
- \#define LV_USE_FFMPEG 0
|
||||
- \#define LV_USE_FONT_MANAGER 0
|
||||
- \#define LV_USE_XML 0
|
||||
|
||||
9. update the definition of following macros: `LV_USE_VECTOR_GRAPHIC`, `LV_USE_THORVE_INTERNAL` and `LV_USE_THORVE_EXTERNAL` as
|
||||
|
||||
9. update the definition of following macros: `LV_USE_VECTOR_GRAPHIC`, `LV_USE_THORVG_INTERNAL` and `LV_USE_THORVG_EXTERNAL` as
|
||||
|
||||
```c
|
||||
/*Enable Vector Graphic APIs*/
|
||||
|
||||
@@ -46,8 +46,6 @@ PACK_DIRS="
|
||||
../../src
|
||||
../../libs
|
||||
../../demos
|
||||
../../xmls
|
||||
../../env_support/pikascript
|
||||
"
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file lv_conf_cmsis.h
|
||||
* Configuration file for v9.4.0
|
||||
* Configuration file for v9.5.0
|
||||
*/
|
||||
|
||||
/* clang-format off */
|
||||
@@ -226,8 +226,8 @@
|
||||
#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 */
|
||||
#if defined(__ARM_FEATURE_MVE) && __ARM_FEATURE_MVE
|
||||
#define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_HELIUM
|
||||
#define LV_USE_DRAW_ARM2D_SYNC 1
|
||||
#define LV_USE_DRAW_SW_ASM LV_DRAW_SW_ASM_HELIUM
|
||||
#define LV_USE_DRAW_ARM2D_SYNC 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -246,12 +246,29 @@
|
||||
|
||||
/*Use TSi's aka (Think Silicon) NemaGFX */
|
||||
#if LV_USE_NEMA_GFX
|
||||
/** Select which NemaGFX static library headers to use. Possible options:
|
||||
* - LV_NEMA_LIB_NONE an alias of LV_NEMA_LIB_M33_REVC
|
||||
* - LV_NEMA_LIB_M33_REVC
|
||||
* - LV_NEMA_LIB_M33_NEMAPVG
|
||||
* - LV_NEMA_LIB_M55
|
||||
* - LV_NEMA_LIB_M7
|
||||
* You must also take care to link the correct corresponding static library
|
||||
* in libs/nema_gfx/lib/core/
|
||||
*/
|
||||
#define LV_USE_NEMA_LIB LV_NEMA_LIB_NONE
|
||||
|
||||
/** Select which NemaGFX HAL to use. Possible options:
|
||||
* - LV_NEMA_HAL_CUSTOM
|
||||
* - LV_NEMA_HAL_STM32 */
|
||||
#define LV_USE_NEMA_HAL LV_NEMA_HAL_CUSTOM
|
||||
#if LV_USE_NEMA_HAL == LV_NEMA_HAL_STM32
|
||||
#define LV_NEMA_STM32_HAL_INCLUDE <stm32u5xx_hal.h>
|
||||
|
||||
/** Set it to a value like __attribute__((section("Nemagfx_Memory_Pool_Buffer")))
|
||||
* and define the section in the linker script if you need the GPU memory to
|
||||
* be, e.g. in a region where accesses will not be cached.
|
||||
*/
|
||||
#define LV_NEMA_STM32_HAL_ATTRIBUTE_POOL_MEM
|
||||
#endif
|
||||
|
||||
/*Enable Vector Graphics Operations. Available only if NemaVG library is present*/
|
||||
@@ -263,7 +280,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/** Use NXP's PXP on iMX RTxxx platforms. */
|
||||
#if LV_USE_PXP
|
||||
/** Use PXP for drawing.*/
|
||||
@@ -325,11 +341,56 @@
|
||||
/** VG-Lite stroke maximum cache number. */
|
||||
#define LV_VG_LITE_STROKE_CACHE_CNT 32
|
||||
|
||||
/** VG-Lite unaligned bitmap font maximum cache number. */
|
||||
#define LV_VG_LITE_BITMAP_FONT_CACHE_CNT 256
|
||||
|
||||
/** Remove VLC_OP_CLOSE path instruction (Workaround for NXP) **/
|
||||
#define LV_VG_LITE_DISABLE_VLC_OP_CLOSE 0
|
||||
|
||||
/** Disable blit rectangular offset to resolve certain hardware errors. */
|
||||
#define LV_VG_LITE_DISABLE_BLIT_RECT_OFFSET 0
|
||||
|
||||
/** Disable linear gradient extension for some older versions of drivers. */
|
||||
#define LV_VG_LITE_DISABLE_LINEAR_GRADIENT_EXT 0
|
||||
|
||||
/** Maximum path dump print length (in points) */
|
||||
#define LV_VG_LITE_PATH_DUMP_MAX_LEN 1000
|
||||
|
||||
/** Enable usage of the LVGL's built-in vg_lite driver */
|
||||
#if LV_USE_VG_LITE_DRIVER
|
||||
/** Used to pick the correct GPU series folder valid options are gc255, gc355 and gc555*/
|
||||
#define LV_VG_LITE_HAL_GPU_SERIES gc255
|
||||
|
||||
/** Used to pick the correct GPU revision header it depends on the vendor */
|
||||
#define LV_VG_LITE_HAL_GPU_REVISION 0x40
|
||||
|
||||
/** Base memory address of the GPU IP it depends on SoC,
|
||||
* default value is for NXP based devices */
|
||||
#define LV_VG_LITE_HAL_GPU_BASE_ADDRESS 0x40240000
|
||||
#endif /*LV_USE_VG_LITE_DRIVER*/
|
||||
|
||||
/** Use ThorVG (a software vector library) as VG-Lite driver to allow testing VGLite on PC
|
||||
* Requires: LV_USE_THORVG_INTERNAL or LV_USE_THORVG_EXTERNAL */
|
||||
#define LV_USE_VG_LITE_THORVG 0
|
||||
#if LV_USE_VG_LITE_THORVG
|
||||
/** Enable LVGL's blend mode support */
|
||||
#define LV_VG_LITE_THORVG_LVGL_BLEND_SUPPORT 0
|
||||
|
||||
/** Enable YUV color format support */
|
||||
#define LV_VG_LITE_THORVG_YUV_SUPPORT 0
|
||||
|
||||
/** Enable Linear gradient extension support */
|
||||
#define LV_VG_LITE_THORVG_LINEAR_GRADIENT_EXT_SUPPORT 0
|
||||
|
||||
/** Enable alignment on 16 pixels */
|
||||
#define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1
|
||||
|
||||
/** Buffer address alignment */
|
||||
#define LV_VG_LITE_THORVG_BUF_ADDR_ALIGN 64
|
||||
|
||||
/** Enable multi-thread render */
|
||||
#define LV_VG_LITE_THORVG_THREAD_RENDER 0
|
||||
#endif /*LV_USE_VG_LITE_THORVG*/
|
||||
#endif
|
||||
|
||||
/** Accelerate blends, fills, etc. with STM32 DMA2D */
|
||||
@@ -344,14 +405,14 @@
|
||||
|
||||
/** Draw using cached OpenGLES textures. Requires LV_USE_OPENGLES */
|
||||
#define LV_USE_DRAW_OPENGLES 0
|
||||
|
||||
#if LV_USE_DRAW_OPENGLES
|
||||
#define LV_DRAW_OPENGLES_TEXTURE_CACHE_COUNT 64
|
||||
#endif
|
||||
|
||||
/** Draw using espressif PPA accelerator */
|
||||
#if LV_USE_PPA
|
||||
#define LV_USE_PPA_IMG 0
|
||||
#define LV_USE_PPA_IMG 0
|
||||
#define LV_PPA_BURST_LENGTH 128
|
||||
#endif
|
||||
|
||||
/* Use EVE FT81X GPU. */
|
||||
@@ -365,6 +426,25 @@
|
||||
#define LV_DRAW_EVE_WRITE_BUFFER_SIZE 2048
|
||||
#endif
|
||||
|
||||
/** Use NanoVG Renderer
|
||||
* - Requires LV_USE_NANOVG, LV_USE_MATRIX.
|
||||
*/
|
||||
#if LV_USE_DRAW_NANOVG
|
||||
/** Select OpenGL backend for NanoVG:
|
||||
* - LV_NANOVG_BACKEND_GL2: OpenGL 2.0
|
||||
* - LV_NANOVG_BACKEND_GL3: OpenGL 3.0+
|
||||
* - LV_NANOVG_BACKEND_GLES2: OpenGL ES 2.0
|
||||
* - LV_NANOVG_BACKEND_GLES3: OpenGL ES 3.0+
|
||||
*/
|
||||
#define LV_NANOVG_BACKEND LV_NANOVG_BACKEND_GLES2
|
||||
|
||||
/** Draw image texture cache count. */
|
||||
#define LV_NANOVG_IMAGE_CACHE_CNT 128
|
||||
|
||||
/** Draw letter texture cache count. */
|
||||
#define LV_NANOVG_LETTER_CACHE_CNT 512
|
||||
#endif
|
||||
|
||||
/*=======================
|
||||
* FEATURE CONFIGURATION
|
||||
*=======================*/
|
||||
@@ -505,44 +585,6 @@
|
||||
/** Enable property name support. */
|
||||
#define LV_USE_OBJ_PROPERTY_NAME 1
|
||||
|
||||
/* Use VG-Lite Simulator.
|
||||
* - Requires: LV_USE_THORVG_INTERNAL or LV_USE_THORVG_EXTERNAL */
|
||||
#define LV_USE_VG_LITE_THORVG 0
|
||||
|
||||
#if LV_USE_VG_LITE_THORVG
|
||||
/** Enable LVGL's blend mode support */
|
||||
#define LV_VG_LITE_THORVG_LVGL_BLEND_SUPPORT 0
|
||||
|
||||
/** Enable YUV color format support */
|
||||
#define LV_VG_LITE_THORVG_YUV_SUPPORT 0
|
||||
|
||||
/** Enable Linear gradient extension support */
|
||||
#define LV_VG_LITE_THORVG_LINEAR_GRADIENT_EXT_SUPPORT 0
|
||||
|
||||
/** Enable alignment on 16 pixels */
|
||||
#define LV_VG_LITE_THORVG_16PIXELS_ALIGN 1
|
||||
|
||||
/** Buffer address alignment */
|
||||
#define LV_VG_LITE_THORVG_BUF_ADDR_ALIGN 64
|
||||
|
||||
/** Enable multi-thread render */
|
||||
#define LV_VG_LITE_THORVG_THREAD_RENDER 0
|
||||
#endif
|
||||
|
||||
/* Enable usage of the LVGL's vg_lite spec driver */
|
||||
#if LV_USE_VG_LITE_DRIVER
|
||||
|
||||
/* Used to pick the correct GPU series folder valid options are gc255, gc355 and gc555*/
|
||||
#define LV_VG_LITE_HAL_GPU_SERIES gc255
|
||||
|
||||
/* Used to pick the correct GPU revision header it depends on the vendor */
|
||||
#define LV_VG_LITE_HAL_GPU_REVISION 0x40
|
||||
|
||||
/* Base memory address of the GPU IP it depends on SoC, default value is for NXP based devices */
|
||||
#define LV_VG_LITE_HAL_GPU_BASE_ADDRESS 0x40240000
|
||||
|
||||
#endif
|
||||
|
||||
/* Enable the multi-touch gesture recognition feature */
|
||||
/* Gesture recognition requires the use of floats */
|
||||
#define LV_USE_GESTURE_RECOGNITION 0
|
||||
@@ -952,8 +994,9 @@
|
||||
#endif
|
||||
|
||||
/** Enable Vector Graphic APIs
|
||||
* - Requires `LV_USE_MATRIX = 1` */
|
||||
/*Enable Vector Graphic APIs*/
|
||||
* Requires `LV_USE_MATRIX = 1`
|
||||
* and a rendering engine supporting vector graphics, e.g.
|
||||
* (LV_USE_DRAW_SW and LV_USE_THORVG) or LV_USE_DRAW_VG_LITE or LV_USE_NEMA_VG. */
|
||||
#ifndef LV_USE_VECTOR_GRAPHIC
|
||||
# define LV_USE_VECTOR_GRAPHIC 0
|
||||
|
||||
@@ -964,11 +1007,16 @@
|
||||
# define LV_USE_THORVG_EXTERNAL 0
|
||||
#endif
|
||||
|
||||
/** Use lvgl built-in LZ4 lib */
|
||||
#define LV_USE_LZ4_INTERNAL 0
|
||||
/*Enable LZ4 compress/decompress lib*/
|
||||
#ifndef LV_USE_LZ4
|
||||
# define LV_USE_LZ4 0
|
||||
|
||||
/** Use external LZ4 library */
|
||||
#define LV_USE_LZ4_EXTERNAL 0
|
||||
/*Use lvgl built-in LZ4 lib*/
|
||||
# define LV_USE_LZ4_INTERNAL 0
|
||||
|
||||
/*Use external LZ4 library*/
|
||||
# define LV_USE_LZ4_EXTERNAL 0
|
||||
#endif
|
||||
|
||||
/*SVG library
|
||||
* - Requires `LV_USE_VECTOR_GRAPHIC = 1` */
|
||||
@@ -1002,7 +1050,7 @@
|
||||
/** Get the applications idle percentage.
|
||||
* - Requires `LV_USE_OS == LV_OS_PTHREAD` */
|
||||
#define LV_SYSMON_GET_PROC_IDLE lv_os_get_proc_idle_percent
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/** 1: Show CPU usage and FPS count.
|
||||
* - Requires `LV_USE_SYSMON = 1` */
|
||||
@@ -1127,8 +1175,14 @@
|
||||
#if LV_USE_TEST
|
||||
|
||||
/** Enable `lv_test_screenshot_compare`.
|
||||
* Requires libpng and a few MB of extra RAM. */
|
||||
* Requires lodepng and a few MB of extra RAM. */
|
||||
#define LV_USE_TEST_SCREENSHOT_COMPARE 0
|
||||
|
||||
#if LV_USE_TEST_SCREENSHOT_COMPARE
|
||||
/** 1: Automatically create missing reference images*/
|
||||
#define LV_TEST_SCREENSHOT_CREATE_REFERENCE_IMAGE 1
|
||||
#endif /*LV_USE_TEST_SCREENSHOT_COMPARE*/
|
||||
|
||||
#endif /*LV_USE_TEST*/
|
||||
|
||||
/*1: Enable color filter style*/
|
||||
@@ -1164,10 +1218,7 @@
|
||||
/** 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_BUF_COUNT 1 /**< Use 1 for single buffer with partial render mode or 2 for double buffer with full render mode*/
|
||||
#define LV_WAYLAND_USE_DMABUF 0 /**< Use DMA buffers for frame buffers. Requires LV_USE_DRAW_G2D */
|
||||
#define LV_WAYLAND_RENDER_MODE LV_DISPLAY_RENDER_MODE_PARTIAL /**< DMABUF supports LV_DISPLAY_RENDER_MODE_FULL and LV_DISPLAY_RENDER_MODE_DIRECT*/
|
||||
/**< When LV_WAYLAND_USE_DMABUF is disabled, only LV_DISPLAY_RENDER_MODE_PARTIAL is supported*/
|
||||
#define LV_WAYLAND_DIRECT_EXIT 1 /**< 1: Exit the application when all Wayland windows are closed */
|
||||
#endif
|
||||
|
||||
/** Driver for /dev/fb */
|
||||
@@ -1228,8 +1279,6 @@
|
||||
* The GBM library aims to provide a platform independent memory management system
|
||||
* it supports the major GPU vendors - This option requires linking with libgbm */
|
||||
#define LV_USE_LINUX_DRM_GBM_BUFFERS 0
|
||||
|
||||
#define LV_LINUX_DRM_USE_EGL 0
|
||||
#endif
|
||||
|
||||
/** Interface for Lovyan_GFX */
|
||||
@@ -1275,7 +1324,9 @@
|
||||
#define LV_UEFI_USE_MEMORY_SERVICES 0 /**< Use the memory functions from the boot services table */
|
||||
#endif
|
||||
|
||||
/** Use a generic OpenGL driver that can be used to embed in other applications or used with GLFW/EGL */
|
||||
/** Use a generic OpenGL driver that can be used to embed in other applications or used with GLFW/EGL
|
||||
* - Requires LV_USE_MATRIX.
|
||||
*/
|
||||
#define LV_USE_OPENGLES 0
|
||||
#if LV_USE_OPENGLES
|
||||
#define LV_USE_OPENGLES_DEBUG 1 /**< Enable or disable debug for opengles */
|
||||
@@ -1291,6 +1342,9 @@
|
||||
#define LV_QNX_BUF_COUNT 1 /**< 1 or 2 */
|
||||
#endif
|
||||
|
||||
/** Enable or disable for external data and destructor function */
|
||||
#define LV_USE_EXT_DATA 0
|
||||
|
||||
/*=====================
|
||||
* BUILD OPTIONS
|
||||
*======================*/
|
||||
@@ -1321,6 +1375,15 @@
|
||||
#define LV_DEMO_MUSIC_AUTO_PLAY 0
|
||||
#endif
|
||||
|
||||
/*---------------------------
|
||||
* Demos from lvgl/lv_demos
|
||||
---------------------------*/
|
||||
|
||||
/*E-bike demo with Lottie animations (if LV_USE_LOTTIE is enabled)*/
|
||||
#if LV_USE_DEMO_EBIKE
|
||||
#define LV_DEMO_EBIKE_PORTRAIT 0 /*0: for 480x270..480x320, 1: for 480x800..720x1280*/
|
||||
#endif
|
||||
|
||||
#endif /* LV_BUILD_DEMOS */
|
||||
|
||||
/*--END OF LV_CONF_CMSIS_H--*/
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "lvgl",
|
||||
"version": "9.4.0",
|
||||
"version": "9.5.0",
|
||||
"keywords": "graphics, gui, embedded, tft, lvgl",
|
||||
"description": "Graphics library to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint. It offers anti-aliasing, opacity, and animations using only one frame buffer.",
|
||||
"repository": {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
name=lvgl
|
||||
version=9.4.0
|
||||
version=9.5.0
|
||||
author=kisvegabor
|
||||
maintainer=kisvegabor,embeddedt,pete-pjb
|
||||
sentence=Full-featured Graphics Library for Embedded Systems
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @file lv_conf.h
|
||||
* Configuration file for v9.5.0-dev
|
||||
* Configuration file for v9.5.0
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
+1
-1
@@ -9,6 +9,6 @@
|
||||
#define LVGL_VERSION_MAJOR 9
|
||||
#define LVGL_VERSION_MINOR 5
|
||||
#define LVGL_VERSION_PATCH 0
|
||||
#define LVGL_VERSION_INFO "dev"
|
||||
#define LVGL_VERSION_INFO ""
|
||||
|
||||
#endif /* LV_VERSION_H */
|
||||
|
||||
@@ -7,6 +7,11 @@
|
||||
#define __ASSEMBLY__
|
||||
#endif
|
||||
|
||||
#if defined(_RTE_)
|
||||
#include "Pre_Include_Global.h"
|
||||
#include "RTE_Components.h"
|
||||
#endif
|
||||
|
||||
#include "../../../../lv_conf_internal.h"
|
||||
|
||||
/*GCC Workaround: missing .note.GNU-stack section implies executable stack*/
|
||||
|
||||
Reference in New Issue
Block a user