|
modm API documentation
|
lbuild module: modm:lvgl
LVGL is a free and open-source graphics library providing everything you need to create embedded GUI with easy-to-use graphical elements, beautiful visual effects and low memory footprint.
LVGL defines defaults for all it's configuration settings, which you can find in the configuration template.
This module generates a lv_conf.h file to define the options necessary for integration with modm which are:
LV_MEM_CUSTOM = 1: Heap is provided by the modm:platform:heap module.LV_TICK_CUSTOM = 1: Tick is implemented via the modm:platform:clock module.LV_LOG_PRINTF = 0: logging is redirected to MODM_LOG_* if the modm:debug module is included and LV_USE_LOG = 1.typedef int16_t lv_coord_t;: Hardcoded choice for now.To add your own configuration you can create a <lv_conf_local.h> file which will automatically be included at the beginning of our lv_conf.h.
Example <lv_conf_local.h> configuration: