1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-21 06:53:01 +08:00

14 Commits

Author SHA1 Message Date
Stefan Krastanov
4e70bbc49f
Add a system time callback to be used without lv_tick_inc.
With a new configuration option one can now remove the need for
repeatedly calling `lv_tick_inc` for hardware that already provides
system time in another way.

The configuration example is set for an Arduino, but this was initially
developed for an nrf52 with the following config:

```
 #define LV_TICK_CUSTOM    1
 #if LV_TICK_CUSTOM == 1
 #define LV_TICK_CUSTOM_INCLUDE  "app_timer.h"
 #define LV_TICK_CUSTOM_SYS_TIME_EXPR (app_timer_cnt_get()/APP_TIMER_TICKS(1))
 #endif     /*LV_TICK_CUSTOM*/
```
2018-08-29 15:13:51 -04:00
Gabor Kiss-Vamosi
a6ee4a680c move lv_fonts from lv_misc next to lv_misc 2018-07-07 12:21:36 +02:00
Gabor Kiss-Vamosi
90679c2cf5 add LV_CONF_INCLUDE_SIMPLE to choose between relative or simple include of lv_conf.h 2018-07-07 11:53:22 +02:00
Gabor Kiss-Vamosi
383ce0599e format with astyler 2018-06-19 09:49:58 +02:00
Gabor Kiss-Vamosi
d068c85e80 minor updates on LV_ATTRIBUTE_... 2018-03-07 09:22:37 +01:00
Zaltora
6bab1d2840 add handle fn to attribute + reorganize 2018-01-15 11:03:50 +01:00
Zaltora
89044a8649 Add specific otion for tick function + inline it 2018-01-14 10:23:16 +01:00
Gabor Kiss-Vamosi
2f5a09bc99 LV_VDB_ADR added to place vdb to sepcific address 2017-11-30 09:53:26 +01:00
Gabor Kiss-Vamosi
b26bb2e5b7 lv_tick_inc: update with 'tick_period' parameter 2017-11-29 15:34:37 +01:00
Gabor Kiss-Vamosi
8db441d6a8 solve warnings 2017-11-29 13:22:44 +01:00
Gabor Kiss-Vamosi
1a1840ae11 lv_hal_indev and tick updates 2017-11-29 13:22:44 +01:00
Gabor Kiss-Vamosi
22f9c69fc1 bugfixes 2017-11-21 14:52:23 +01:00
Gabor Kiss-Vamosi
816327f4f7 lv_hal: comment update 2017-10-20 22:41:10 +02:00
Gabor Kiss-Vamosi
d9205adc60 add lv_hal as normal folder (not from hal repo) 2017-10-18 14:09:25 +02:00