diff --git a/env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack b/env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack new file mode 100644 index 000000000..5113115d2 Binary files /dev/null and b/env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack differ diff --git a/env_support/cmsis-pack/LVGL.lvgl.pdsc b/env_support/cmsis-pack/LVGL.lvgl.pdsc index a6f8a6c66..a99c7e8a8 100644 --- a/env_support/cmsis-pack/LVGL.lvgl.pdsc +++ b/env_support/cmsis-pack/LVGL.lvgl.pdsc @@ -44,10 +44,6 @@ - LVGL 9.1.0 - See Change Log - - - LVGL 8.4.0 - - Some minor fixes - - LVGL 9.0.0 - Implements a New Render Architecture that enables parallel processing @@ -57,7 +53,10 @@ - Adds Demos for benchmarks, render test etc, - Other fixes - + + - LVGL 8.4.0 + - Some minor fixes + - LVGL 8.3.11 - Add LittleFS Library to LVGL8 @@ -367,8 +366,7 @@ - - + @@ -588,7 +586,7 @@ - + @@ -1385,7 +1383,7 @@ - + diff --git a/env_support/cmsis-pack/README.md b/env_support/cmsis-pack/README.md index 9913dadf1..5f7ef584c 100644 --- a/env_support/cmsis-pack/README.md +++ b/env_support/cmsis-pack/README.md @@ -72,7 +72,7 @@ remove the misleading guide above this code segment. - LV_USE_ST7796 - LV_USE_ILI9341 - LV_USE_RENESAS_GLCDC - + 5. Update `LV_LOG_PRINTF` to `1` and `LV_LOG_LEVEL` to `LV_LOG_LEVEL_USER` @@ -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 `(128*1024U)`. +Make sure `LV_MEM_SIZE` is no less than `(72*1024U)`. 8. Remove following macro definitions in the `3rd party libraries` section: diff --git a/examples/porting/lv_port_disp_template.c b/examples/porting/lv_port_disp_template.c index 75b74b0b6..5cb6ea599 100644 --- a/examples/porting/lv_port_disp_template.c +++ b/examples/porting/lv_port_disp_template.c @@ -74,7 +74,7 @@ void lv_port_disp_init(void) * In flush_cb DMA or similar hardware should be used to update the display in the background.*/ LV_ATTRIBUTE_MEM_ALIGN static uint8_t buf_2_1[MY_DISP_HOR_RES * 10 * BYTE_PER_PIXEL]; - + LV_ATTRIBUTE_MEM_ALIGN static uint8_t buf_2_2[MY_DISP_HOR_RES * 10 * BYTE_PER_PIXEL]; lv_display_set_buffers(disp, buf_2_1, buf_2_2, sizeof(buf_2_1), LV_DISPLAY_RENDER_MODE_PARTIAL); @@ -84,6 +84,7 @@ void lv_port_disp_init(void) * Both LV_DISPLAY_RENDER_MODE_DIRECT and LV_DISPLAY_RENDER_MODE_FULL works, see their comments*/ LV_ATTRIBUTE_MEM_ALIGN static uint8_t buf_3_1[MY_DISP_HOR_RES * MY_DISP_VER_RES * BYTE_PER_PIXEL]; + LV_ATTRIBUTE_MEM_ALIGN static uint8_t buf_3_2[MY_DISP_HOR_RES * MY_DISP_VER_RES * BYTE_PER_PIXEL]; lv_display_set_buffers(disp, buf_3_1, buf_3_2, sizeof(buf_3_1), LV_DISPLAY_RENDER_MODE_DIRECT);