Compare commits

..

6 Commits

Author SHA1 Message Date
Gabriel Wang
7f07a129e8 chore(cmsis-pack): update the cmsis-pack for the v9.2.2 patch (#7177) 2024-10-30 08:14:36 +01:00
Gabor Kiss-Vamosi
9550207be8 docs(CHANGLOG): add link to v9.2.1 changelog 2024-10-29 13:59:01 +01:00
Gabor Kiss-Vamosi
3875e43219 chore: update versions and CHANGELOG 2024-10-29 12:08:21 +01:00
Gabor Kiss-Vamosi
2f709251b4 fix(changelog): fix the version number 2024-10-29 12:00:27 +01:00
Neo Xu
3a2d111401 fix(nuttx): fix assert when release LCD draw buffer (#7159)
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2024-10-28 08:52:48 +01:00
Gabor Kiss-Vamosi
932c14086b Revert "fix(kconfig): add LV_ATTRIBUTE_MEM_ALIGN, LV_ATTRIBUTE_LARGE_CONST and LV_SYSMON_GET_IDLE configs (#7131)"
This reverts commit c897fe8f18.
2024-10-25 19:52:29 +02:00
12 changed files with 26 additions and 114 deletions

25
Kconfig
View File

@@ -1,4 +1,4 @@
# Kconfig file for LVGL v9.2.1
# Kconfig file for LVGL v9.2.2
menu "LVGL configuration"
@@ -375,7 +375,7 @@ menu "LVGL configuration"
config LV_USE_PXP
bool "Use NXP's PXP on iMX RTxxx platforms"
default n
config LV_USE_DRAW_PXP
bool "Use PXP for drawing"
depends on LV_USE_PXP
@@ -727,18 +727,6 @@ menu "LVGL configuration"
int "Required alignment size for buffers"
default 1
config LV_ATTRIBUTE_MEM_ALIGN
string "Will be added where memories needs to be aligned (with -Os data might not be aligned to boundary by default)."
default ""
help
E.g. __attribute__((aligned(LV_ATTRIBUTE_MEM_ALIGN_SIZE)))
config LV_ATTRIBUTE_LARGE_CONST
string "Attribute to mark large constant arrays for example font's bitmaps"
default ""
help
E.g. __attribute__((section("DataQuickAccess")))
config LV_ATTRIBUTE_FAST_MEM_USE_IRAM
bool "Set IRAM as LV_ATTRIBUTE_FAST_MEM"
help
@@ -1358,13 +1346,6 @@ menu "LVGL configuration"
bool "Enable system monitor component"
default n
config LV_SYSMON_GET_IDLE
string "Get the idle percentage."
depends on LV_USE_SYSMON
default "lv_timer_get_idle"
help
E.g. uint32_t my_get_idle(void);
config LV_USE_PERF_MONITOR
bool "Show CPU usage and FPS count"
depends on LV_USE_SYSMON
@@ -1511,7 +1492,7 @@ menu "LVGL configuration"
default 2 # LVGL_VERSION_MINOR
config LVGL_VERSION_PATCH
int
default 1 # LVGL_VERSION_PATCH
default 2 # LVGL_VERSION_PATCH
endmenu
menu "Devices"

View File

@@ -3,92 +3,19 @@
Changelog
=========
`v9.2.0 <https://github.com/lvgl/lvgl/compare/v9.2.1...v9.2.0>`__ 24 October 2024
---------------------------------------------------------------------------------
`v9.2.2 <https://github.com/kisvegabor/lvgl_upstream/compare/v9.2.2...v9.2.1>`__ 29 October 2024
------------------------------------------------------------------------------------------------
This release is a hot fix to revert `932c140 <https://github.com/kisvegabor/lvgl_upstream/commit/932c14086b79aff2a27cd154441f680eb8257311>`__
which makes Kconfig build systems fail.
New Features
~~~~~~~~~~~~
**It's highly recommended to update v9.2.1 to v9.2.2.**
- **feat(gif): backport add loop count control and GIF load result** `6922 <https://github.com/lvgl/lvgl/pull/6922>`__
- **feat(animimg): backport add getter function for underlying animation** `6923 <https://github.com/lvgl/lvgl/pull/6923>`__
- **feat(pxp) Add option to use PXP only for rotation without creating PXP draw unit.** `892d97c <https://github.com/lvgl/lvgl/commit/892d97ccc107045fef25389bf0660cbed7f2ebe7>`__
See the Change log of v9.2.1 `here <https://github.com/lvgl/lvgl/blob/59a6b61c9580b65089010c5273f2fcdd6c4d2aae/docs/CHANGELOG.rst>`__ .
Performance
~~~~~~~~~~~
- **perf(draw): skip area independence tests with one draw unit** `6825 <https://github.com/lvgl/lvgl/pull/6825>`__
- **perf(vg_lite): reduce matrix and radius calculations** `6800 <https://github.com/lvgl/lvgl/pull/6800>`__
Fixes
~~~~~
- **Revert "fix(kconfig): add LV_ATTRIBUTE_MEM_ALIGN, LV_ATTRIBUTE_LARGE_CONST and LV_SYSMON_GET_IDLE configs (#7131)"** `932c140 <https://github.com/kisvegabor/lvgl_upstream/commit/932c14086b79aff2a27cd154441f680eb8257311>`__
- **fix(nuttx): fix assert when release LCD draw buffer** `7159 <https://github.com/kisvegabor/lvgl_upstream/pull/7159>`__
- **fix(kconfig): add LV_ATTRIBUTE_MEM_ALIGN, LV_ATTRIBUTE_LARGE_CONST and LV_SYSMON_GET_IDLE configs** `7131 <https://github.com/lvgl/lvgl/pull/7131>`__
- **fix(display): remove lv_display_set_buffers_with_stride function** `7087 <https://github.com/lvgl/lvgl/pull/7087>`__
- **fix(pxp): sync rotation direction with SW render** `7063 <https://github.com/lvgl/lvgl/pull/7063>`__
- **fix(vg_lite): fix image transform clipping area error** `6810 <https://github.com/lvgl/lvgl/pull/6810>`__
- **fix(vg_lite): select blend mode based on premultiplication** `6766 <https://github.com/lvgl/lvgl/pull/6766>`__
- **fix(layout): calculate content width using x alignment** `6948 <https://github.com/lvgl/lvgl/pull/6948>`__
- **fix(calendar): fix lv_calendar_gregorian_to_chinese compile error** `6894 <https://github.com/lvgl/lvgl/pull/6894>`__
- **fix(indev): fix hovering disabled obj resets indev** `6855 <https://github.com/lvgl/lvgl/pull/6855>`__
- **fix(gif): added bounds check in gif decoder** `6863 <https://github.com/lvgl/lvgl/pull/6863>`__
- **fix(freertos): sync signal from isr fixed** `6793 <https://github.com/lvgl/lvgl/pull/6793>`__
- **fix(draw): fix sw compile error when disable LV_DRAW_SW_COMPLEX** `6895 <https://github.com/lvgl/lvgl/pull/6895>`__
- **fix(libinput): private headers** `6869 <https://github.com/lvgl/lvgl/pull/6869>`__
- **fix(color): add missing ARGB8565 alpha check** `6891 <https://github.com/lvgl/lvgl/pull/6891>`__
- **fix(display): remove the unused sw_rotate field** `6866 <https://github.com/lvgl/lvgl/pull/6866>`__
- **fix(bar): fix bit overflow** `6841 <https://github.com/lvgl/lvgl/pull/6841>`__
- **fix(indev): don't wait until release when a new object is found** `6831 <https://github.com/lvgl/lvgl/pull/6831>`__
- **fix(glfw/opengles): fix buf_size calculation error** `6830 <https://github.com/lvgl/lvgl/pull/6830>`__
- **fix(roller): fix stringop overflow** `6826 <https://github.com/lvgl/lvgl/pull/6826>`__
- **fix(perf): perf monitor FPS** `6798 <https://github.com/lvgl/lvgl/pull/6798>`__
- **fix(micropython): missing bidi private header feature guard** `6801 <https://github.com/lvgl/lvgl/pull/6801>`__
- **fix(draw): fix artifact when rotating ARGB8888 images** `6794 <https://github.com/lvgl/lvgl/pull/6794>`__
- **fix(sdl): check against NULL before using the driver data of a display** `6799 <https://github.com/lvgl/lvgl/pull/6799>`__
- **fix(assets): add missing strides** `6790 <https://github.com/lvgl/lvgl/pull/6790>`__
- **fix(arc): ignore hits that are outside drawn background arc** `6753 <https://github.com/lvgl/lvgl/pull/6753>`__
- **fix(vg_lite): fixed clip_radius image cropping error** `6780 <https://github.com/lvgl/lvgl/pull/6780>`__
- **fix(vg_lite/vector): convert gradient matrix to global matrix** `6577 <https://github.com/lvgl/lvgl/pull/6577>`__
- **fix(spangroup): fix height calculation error** `6775 <https://github.com/lvgl/lvgl/pull/6775>`__
- **fix(buttonmatrix): use const arrays** `6765 <https://github.com/lvgl/lvgl/pull/6765>`__
- **fix(ime): fix ime crash when input_char is too long** `6767 <https://github.com/lvgl/lvgl/pull/6767>`__
- **fix(draw): cast color_format in LV_DRAW_BUF_INIT_STATIC** `6729 <https://github.com/lvgl/lvgl/pull/6729>`__
- **fix(sdl): nested comment is not allowed** `6748 <https://github.com/lvgl/lvgl/pull/6748>`__
- **fix(ime_pinyin): fix letter count wrong when using some dictionary** `6752 <https://github.com/lvgl/lvgl/pull/6752>`__
- **fix(anim): use correct variable `repeat_cnt`** `6757 <https://github.com/lvgl/lvgl/pull/6757>`__
- **fix(image): backport lv_image_set_inner_align() behaviour with LV_IMAGE_ALIGN_… (#6864)** `6946 <https://github.com/lvgl/lvgl/pull/6946>`__
- **fix(fs): backport add lv_fs_dir_t to lv_fs.h (#6925)** `6943 <https://github.com/lvgl/lvgl/pull/6943>`__
- **fix(textarea): fix placeholder text cannot be centered** `6879 <https://github.com/lvgl/lvgl/pull/6879>`__
- **fix(Kconfig): Fix non existant LV_STDLIB_BUILTIN (#6851)** `84346f3 <https://github.com/lvgl/lvgl/commit/84346f3ef208ca30d22e61de30e3d9a329142960>`__
- **fix(dropdown): automatically center dropdown content (#6881)** `e961669 <https://github.com/lvgl/lvgl/commit/e961669dd8ae7dc5355e4209cb717eb1674cf453>`__
- **fix(vglite) set cache invalidation callback for all handlers** `64beb5f <https://github.com/lvgl/lvgl/commit/64beb5f811e9ad119b28ad976b2e252a41f4b5ae>`__
- **fix(vglite): Set buffer stride as required by hardware** `c369054 <https://github.com/lvgl/lvgl/commit/c3690544d5b384fa6d2f8d26838a6e1cd976feac>`__
- **fix(sysmon) disable all performance banners from screen with serial redirect** `51e1dfc <https://github.com/lvgl/lvgl/commit/51e1dfcb40c52eb194138c7a4afadc828eb8c4bb>`__
- **fix(vglite) draw when multiple draw units are available** `a109608 <https://github.com/lvgl/lvgl/commit/a1096088062a37f6f5726790b8d947cf9bb7600c>`__
- **fix(vglite) triangle gradient areas fix** `5b837eb <https://github.com/lvgl/lvgl/commit/5b837eb7276c42a620235f544178b69d3f8501d1>`__
- **fix(pxp): Initialize all required handlers** `0f9f322 <https://github.com/lvgl/lvgl/commit/0f9f322733bb9b5709c5da4fd6bba58862461b8a>`__
- **fix(vglite) Small cleanup.** `c3ec922 <https://github.com/lvgl/lvgl/commit/c3ec922708aeaaf0c90abadc9f533b6edab54995>`__
- **fix(pxp) Small cleanup.** `29c9770 <https://github.com/lvgl/lvgl/commit/29c977042e317c741e874338af26041deb97925a>`__
- **fix(pxp) Fixed include header.** `7275e1f <https://github.com/lvgl/lvgl/commit/7275e1fff632d5271a6a16a869a595a8799476fa>`__
- **fix(style): remove transitions when a local style property is set (#6941)** `3d33421 <https://github.com/lvgl/lvgl/commit/3d3342104f390e8b0f0447db5c13dc0619070c2f>`__
- **fix(conf) Remove empty line to make comment more condens.** `8658411 <https://github.com/lvgl/lvgl/commit/8658411a2f5670468d105849d63a5705885ff1dc>`__
- **fix(pxp) invalidate cache for the whole frame buffer** `6dd7b3a <https://github.com/lvgl/lvgl/commit/6dd7b3a97862b1f6fa49f23d8afb76becd8088a8>`__
- **fix(vglite) invalidate cache for the whole frame buffer** `a634dea <https://github.com/lvgl/lvgl/commit/a634deade4709185c260afe1c038aed0291c3310>`__
- **fix(fs): add lv_fs_dir_t to lv_fs.h (#6925)** `c826f31 <https://github.com/lvgl/lvgl/commit/c826f31f0014c0d45311cda25effb36d1f801841>`__
Docs
~~~~
- **docs(CHANGELOG): fix formatting** `72dfc1d <https://github.com/lvgl/lvgl/commit/72dfc1d75198a126dd495483d9cbc5b27c6c882b>`__
- **docs(PXP): update PXP for rotation only feature** `da74d69 <https://github.com/lvgl/lvgl/commit/da74d6983b832637c9553d67f0133b63f260eafb>`__
Others
~~~~~~
- **chore(vg_lite): remove unnecessary buffer checks** `6921 <https://github.com/lvgl/lvgl/pull/6921>`__
- **chore: fix compile warnings** `6975 <https://github.com/lvgl/lvgl/pull/6975>`__
- **chore(Kconfig): add version info to Kconfig file to check mismatch** `6900 <https://github.com/lvgl/lvgl/pull/6900>`__
- **chore(cmsis-pack): create cmsis-pack for v9.2.1 patch (#7092)** `efd965c <https://github.com/lvgl/lvgl/commit/efd965c4c109f4370afa968f9feb11113fb6845c>`__
- **chore: update the version number to v9.2.1** `7c3b20d <https://github.com/lvgl/lvgl/commit/7c3b20d9f2e72b7812e9f453b513d87208505abe>`__
- **chore: cleanup after adding fixes from master** `0b4a188 <https://github.com/lvgl/lvgl/commit/0b4a188c0b0fd1c6076a1d91d8bd89dcaf4a4def>`__

View File

@@ -1,6 +1,6 @@
set(LVGL_VERSION_MAJOR "9")
set(LVGL_VERSION_MINOR "2")
set(LVGL_VERSION_PATCH "1")
set(LVGL_VERSION_PATCH "2")
set(LVGL_VERSION_INFO "")
set(LVGL_VERSION ${LVGL_VERSION_MAJOR}.${LVGL_VERSION_MINOR}.${LVGL_VERSION_PATCH}) # This is a CMake variable

View File

@@ -36,6 +36,10 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<release date="2024-10-29" version="9.2.2" url="https://github.com/lvgl/lvgl/raw/v9.2.1/env_support/cmsis-pack/LVGL.lvgl.9.2.2.pack">
- LVGL 9.2.2
- See Change Log
</release>
<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
@@ -318,7 +322,7 @@
</conditions>
<components>
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.2.1">
<bundle Cbundle="LVGL9" Cclass="LVGL" Cversion="9.2.2">
<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">

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

View File

@@ -1,6 +1,6 @@
/**
* @file lv_conf_cmsis.h
* Configuration file for v9.2.1
* Configuration file for v9.2.2
*/
/* clang-format off */

View File

@@ -1,6 +1,6 @@
{
"name": "lvgl",
"version": "9.2.1",
"version": "9.2.2",
"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": {

View File

@@ -1,5 +1,5 @@
name=lvgl
version=9.2.1
version=9.2.2
author=kisvegabor
maintainer=kisvegabor,embeddedt,pete-pjb
sentence=Full-featured Graphics Library for Embedded Systems

View File

@@ -1,6 +1,6 @@
/**
* @file lv_conf.h
* Configuration file for v9.2.1
* Configuration file for v9.2.2
*/
/*

View File

@@ -8,7 +8,7 @@
#define LVGL_VERSION_MAJOR 9
#define LVGL_VERSION_MINOR 2
#define LVGL_VERSION_PATCH 1
#define LVGL_VERSION_PATCH 2
#define LVGL_VERSION_INFO ""
#endif /* LVGL_VERSION_H */

View File

@@ -216,11 +216,11 @@ static void display_release_cb(lv_event_t * e)
/* clear display buffer */
if(disp->buf_1) {
lv_free(disp->buf_1);
lv_free(disp->buf_1->data);
disp->buf_1 = NULL;
}
if(disp->buf_2) {
lv_free(disp->buf_2);
lv_free(disp->buf_2->data);
disp->buf_2 = NULL;
}