Skip to content

Commit

Permalink
chore(cmsis-pack): create cmsis-pack for v9.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer authored and kisvegabor committed Aug 26, 2024
1 parent d4d4679 commit aa74463
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
Binary file added env_support/cmsis-pack/LVGL.lvgl.9.2.0.pack
Binary file not shown.
16 changes: 7 additions & 9 deletions env_support/cmsis-pack/LVGL.lvgl.pdsc
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@
- LVGL 9.1.0
- See Change Log
</release>
<release date="2024-03-19" version="8.4.0" url="https://github.com/lvgl/lvgl/raw/v8.4.0/env_support/cmsis-pack/LVGL.lvgl.8.4.0.pack">
- LVGL 8.4.0
- Some minor fixes
</release>
<release date="2024-01-24" version="9.0.0" url="https://github.com/lvgl/lvgl/raw/v9.0.0/env_support/cmsis-pack/LVGL.lvgl.9.0.0.pack">
- LVGL 9.0.0
- Implements a New Render Architecture that enables parallel processing
Expand All @@ -57,7 +53,10 @@
- Adds Demos for benchmarks, render test etc,
- Other fixes
</release>

<release date="2024-03-19" version="8.4.0" url="https://github.com/lvgl/lvgl/raw/v8.4.0/env_support/cmsis-pack/LVGL.lvgl.8.4.0.pack">
- LVGL 8.4.0
- Some minor fixes
</release>
<release date="2023-12-05" version="8.3.11" url="https://github.com/lvgl/lvgl/raw/8194d83226c27c84f12dd51e16f5add9939215a5/env_support/cmsis-pack/LVGL.lvgl.8.3.11.pack">
- LVGL 8.3.11
- Add LittleFS Library to LVGL8
Expand Down Expand Up @@ -367,8 +366,7 @@
<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_glfw_window.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" />
Expand Down Expand Up @@ -588,7 +586,7 @@
<file category="sourceC" name="src/osal/lv_os.c"/>

<!-- 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.3.0" />
<file category="sourceC" name="lv_cmsis_pack.c" />
<file category="header" name="lvgl.h" />
<file category="doc" name="README.md"/>
Expand Down Expand Up @@ -1385,7 +1383,7 @@
<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/tvgFill.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgGICanvas.cpp" />
<file category="sourceCpp" name="src/libs/thorvg/tvgGlCanvas.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" />
Expand Down
4 changes: 2 additions & 2 deletions env_support/cmsis-pack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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:

Expand Down
3 changes: 2 additions & 1 deletion examples/porting/lv_port_disp_template.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit aa74463

Please sign in to comment.