1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

chore(cmsis-pack): create cmsis-pack for v9.2.1 patch (#7092)

This commit is contained in:
Gabriel Wang 2024-10-16 20:33:26 +01:00 committed by Gabor Kiss-Vamosi
parent 0237e9fce7
commit efd965c4c1
5 changed files with 37 additions and 13 deletions

View File

@ -36,7 +36,11 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<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">
<release date="2024-10-16" version="9.2.1" url="https://github.com/lvgl/lvgl/raw/v9.2.1/env_support/cmsis-pack/LVGL.lvgl.9.2.1.pack">
- LVGL 9.2.1
- See Change Log
</release>
<release date="2024-08-26" version="9.2.0" url="https://github.com/lvgl/lvgl/raw/v9.2.0/env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack">
- LVGL 9.2.0
- See Change Log
</release>
@ -86,7 +90,7 @@
- LVGL 8.3.6 release
- Various fixes
</release>
<release date="2023-02-06" version="8.3.5" url="https://github.com/lvgl/lvgl/raw/6b0092c0d91b2c7bfded48e04cc7b486ed3a72bd/env_support/cmsis-pack/LVGL.lvgl.8.3.6.pack">
<release date="2023-02-06" version="8.3.5" url="https://github.com/lvgl/lvgl/raw/e7e8cf846dce96f7542e27b5c9655bab680c31a1/env_support/cmsis-pack/LVGL.lvgl.8.3.5.pack">
- LVGL 8.3.5 release
- Use LVGL version as the cmsis-pack version
- Fix GPU support for NXP PXP and NXP VGLite
@ -314,7 +318,7 @@
</conditions>
<components>
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.2.0">
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.2.1">
<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>
<component Cgroup="Essential">
@ -586,7 +590,7 @@
<file category="sourceC" name="src/osal/lv_os.c"/>
<!-- general -->
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="2.3.0" />
<file category="preIncludeGlobal" name="lv_conf_cmsis.h" attr="config" version="2.3.1" />
<file category="sourceC" name="lv_cmsis_pack.c" />
<file category="header" name="lvgl.h" />
<file category="doc" name="README.md"/>
@ -906,7 +910,7 @@
<RTE_Components_h>
/*! \brief enable NXP PXP */
#define LV_USE_DRAW_PXP 1
#define LV_USE_PXP 1
</RTE_Components_h>
</component>

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>2024-08-26</timestamp>
<timestamp>2024-10-16</timestamp>
<pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.2.0"/>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="9.2.1"/>
</pindex>
</index>

View File

@ -57,9 +57,9 @@ remove the misleading guide above this code segment.
- LV_USE_DEMO_VECTOR_GRAPHIC
- LV_USE_DRAW_VGLITE
- LV_USE_DRAW_VG_LITE
- LV_USE_DRAW_PXP
- LV_USE_PXP
- LV_USE_DRAW_SDL
- LV_USE_DRAW_ARM2D
- LV_USE_DRAW_ARM2D_SYNC
- LV_USE_SNAPSHOT
- LV_USE_MONKEY
- LV_USE_GRIDNAV
@ -85,7 +85,7 @@ remove the misleading guide above this code segment.
#define LV_DRAW_BUF_STRIDE_ALIGN 4
#define LV_ATTRIBUTE_MEM_ALIGN __attribute__((aligned(4)))
```
Make sure `LV_MEM_SIZE` is no less than `(72*1024U)`.
Make sure `LV_MEM_SIZE` is no less than `(128*1024U)`.
8. Remove following macro definitions in the `3rd party libraries` section:
@ -171,7 +171,7 @@ with:
/*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 1
#define LV_USE_DRAW_ARM2D_SYNC 1
#endif
#endif

View File

@ -1,6 +1,6 @@
/**
* @file lv_conf_cmsis.h
* Configuration file for v9.2.0
* Configuration file for v9.2.1
*/
/* clang-format off */
@ -100,6 +100,15 @@
#if LV_USE_OS == LV_OS_CUSTOM
#define LV_OS_CUSTOM_INCLUDE <stdint.h>
#endif
#if LV_USE_OS == LV_OS_FREERTOS
/*
* Unblocking an RTOS task with a direct notification is 45% faster and uses less RAM
* than unblocking a task using an intermediary object such as a binary semaphore.
*
* RTOS task notifications can only be used when there is only one task that can be the recipient of the event.
*/
#define LV_USE_FREERTOS_TASK_NOTIFY 1
#endif
/*========================
* RENDERING CONFIGURATION
@ -210,7 +219,18 @@
#endif
/* Use NXP's PXP on iMX RTxxx platforms. */
#if LV_USE_DRAW_PXP
#if LV_USE_PXP
/* Use PXP for drawing.*/
#define LV_USE_DRAW_PXP 1
/* Use PXP to rotate display.*/
#define LV_USE_ROTATE_PXP 0
#if LV_USE_DRAW_PXP && LV_USE_OS
/* Use additional draw thread for PXP processing.*/
#define LV_USE_PXP_DRAW_THREAD 1
#endif
/* Enable PXP asserts. */
#define LV_USE_PXP_ASSERT 0
#endif