chore(env-support): cmsis-pack monthly update (#3137)

* Update README.md

* feat(env_support): cmsis-pack monthly update
This commit is contained in:
Gabriel Wang
2022-03-01 17:49:05 +00:00
committed by GitHub
parent 18f2d78728
commit c0575c57af
5 changed files with 26 additions and 18 deletions

View File

@@ -36,9 +36,9 @@
<repository type="git">https://github.com/lvgl/lvgl.git</repository>
<releases>
<release date="2022-02-14" version="1.0.1-alpha3" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.1-alpha3.pack">
<release date="2022-02-26" version="1.0.1" url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/LVGL.lvgl.1.0.1.pack">
- LVGL 8.3.0-dev
- Monthly update
- Monthly update for February
</release>
<release date="2022-01-31" version="1.0.0" url="https://github.com/lvgl/lvgl/blob/d851fe0528fcb920fee86c944fe9dbbaf6fbb0c9/env_support/cmsis-pack/LVGL.lvgl.1.0.0.pack?raw=true">
- LVGL 8.2.0

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>2022-02-14T14:3700</timestamp>
<timestamp>2022-02-26T12:01:00</timestamp>
<pindex>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.1-alpha3"/>
<pdsc url="https://raw.githubusercontent.com/lvgl/lvgl/master/env_support/cmsis-pack/" vendor="LVGL" name="lvgl" version="1.0.1"/>
</pindex>
</index>

View File

@@ -64,7 +64,7 @@
#define LV_USE_THEME_MONO 0
#endif
```
7. Update LV_TICK_CUSTOM related macros:
7. Update `LV_TICK_CUSTOM` related macros:
```c
/*Use a custom tick source that tells the elapsed time in milliseconds.
*It removes the need to manually update the tick with `lv_tick_inc()`)*/
@@ -73,7 +73,12 @@
#if LV_TICK_CUSTOM
extern uint32_t SystemCoreClock;
#define LV_TICK_CUSTOM_INCLUDE "perf_counter.h"
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (get_system_ticks() / (SystemCoreClock / 1000ul))
#if __PER_COUNTER_VER__ < 10902ul
#define LV_TICK_CUSTOM_SYS_TIME_EXPR ((uint32_t)get_system_ticks() / (SystemCoreClock / 1000ul))
#else
#define LV_TICK_CUSTOM_SYS_TIME_EXPR get_system_ms()
#endif
#endif /*LV_TICK_CUSTOM*/
#else
#define LV_TICK_CUSTOM 0
@@ -83,7 +88,7 @@
#endif /*LV_TICK_CUSTOM*/
#endif /*__PERF_COUNTER__*/
```
9. Thoroughly remove the 'DEMO USAGE' section.
9. Thoroughly remove the `DEMO USAGE` section.
10. Thoroughly remove the '3rd party libraries' section.
10. rename '**lv_conf_template.h**' to '**lv_conf_cmsis.h**'.
@@ -127,7 +132,7 @@ enter the following command:
Update '**PATH_TO_ADD**' if necessary.
go to the cmsis-pack folder.
go to the **cmsis-pack** folder.
enter the following command:

View File

@@ -1,6 +1,6 @@
/**
* @file lv_conf.h
* Configuration file for v8.2.0
* Configuration file for v8.3.0-dev
*/
/*
@@ -189,6 +189,7 @@
#define LV_USE_GPU_NXP_PXP_AUTO_INIT 0
#endif
/*Use NXP's VG-Lite GPU iMX RTxxx platforms*/
/*Use SDL renderer API*/
#define LV_USE_GPU_SDL 0
@@ -593,6 +594,9 @@
/*1: Enable grid navigation*/
#define LV_USE_GRIDNAV 0
/*1: Enable lv_obj fragment*/
#define LV_USE_FRAGMENT 0
/*==================
* EXAMPLES
*==================*/
@@ -600,7 +604,6 @@
/*Enable the examples to be built with the library*/
#define LV_BUILD_EXAMPLES 1
/*--END OF LV_CONF_H--*/
#endif /*LV_CONF_H*/