2020-01-02 16:07:12 +01:00
|
|
|
/**
|
2022-10-25 23:03:48 +02:00
|
|
|
@defgroup pkg_lvgl LVGL - Open-Source Embedded GUI Library
|
2020-01-02 16:07:12 +01:00
|
|
|
@ingroup pkg
|
2022-10-25 23:03:48 +02:00
|
|
|
@brief LVGL package for RIOT
|
2020-01-02 16:07:12 +01:00
|
|
|
|
2022-10-25 23:03:48 +02:00
|
|
|
@see https://github.com/LVGL/lvgl
|
2020-01-02 16:07:12 +01:00
|
|
|
|
|
|
|
## Configuration options
|
|
|
|
|
|
|
|
The package can be configured with using several variables. These variables can
|
2021-04-18 16:27:02 +02:00
|
|
|
either be configured using CFLAGS or using Kconfig (via `make menuconfig`).
|
|
|
|
LVGL_TASK_THREAD_PRIO cannot be configured via Kconfig.
|
2020-01-02 16:07:12 +01:00
|
|
|
|
|
|
|
### Engine settings
|
|
|
|
|
2021-04-18 16:27:02 +02:00
|
|
|
- `CONFIG_LVGL_INACTIVITY_PERIOD_MS`: maximum inactivity period before going to sleep in ms.
|
|
|
|
(default: 5s)
|
2021-10-21 18:16:46 +02:00
|
|
|
- `CONFIG_LVGL_TASK_HANDLER_DELAY_MS`: delay between lvgl task handle call in us.
|
2020-01-02 16:07:12 +01:00
|
|
|
(default: 5ms)
|
|
|
|
- `LVGL_TASK_THREAD_PRIO`: lvgl task handler thread priority.
|
|
|
|
(default: THREAD_PRIORITY_MAIN - 1)
|
|
|
|
|
|
|
|
Example of command line for changing the max activity period to 5s:
|
|
|
|
|
|
|
|
```
|
2023-05-06 07:48:58 +02:00
|
|
|
CFLAGS=-DCONFIG_LVGL_ACTIVITY_PERIOD=5000 make -C tests/pkg/lvgl
|
2020-01-02 16:07:12 +01:00
|
|
|
```
|
|
|
|
|
2022-02-28 09:23:32 +01:00
|
|
|
### SDL Usage
|
|
|
|
|
|
|
|
See @ref pkg_lv_drivers.
|
|
|
|
|
2020-01-02 16:07:12 +01:00
|
|
|
*/
|