
Projet interfaçage et instrumentation Brumisateur automatique
Dependencies: BSP_DISCO_F746NG
lv_conf.h@4:4208cec163ef, 2021-04-25 (annotated)
- Committer:
- JohnnyK
- Date:
- Sun Apr 25 12:35:07 2021 +0000
- Revision:
- 4:4208cec163ef
- Parent:
- 3:4f5dc253eb7b
- Child:
- 5:071136c3eefa
Update to LVGL 7.11 and MbedOS 6.10
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
JohnnyK | 4:4208cec163ef | 1 | /** |
JohnnyK | 4:4208cec163ef | 2 | * @file lv_conf.h |
JohnnyK | 4:4208cec163ef | 3 | * Configuration file for v7.11.0 |
JohnnyK | 4:4208cec163ef | 4 | */ |
JohnnyK | 4:4208cec163ef | 5 | |
JohnnyK | 4:4208cec163ef | 6 | /* |
JohnnyK | 4:4208cec163ef | 7 | * COPY THIS FILE AS `lv_conf.h` NEXT TO the `lvgl` FOLDER |
JohnnyK | 4:4208cec163ef | 8 | */ |
JohnnyK | 4:4208cec163ef | 9 | |
JohnnyK | 4:4208cec163ef | 10 | #if 1 /*Set it to "1" to enable content*/ |
JohnnyK | 4:4208cec163ef | 11 | |
JohnnyK | 4:4208cec163ef | 12 | #ifndef LV_CONF_H |
JohnnyK | 4:4208cec163ef | 13 | #define LV_CONF_H |
JohnnyK | 4:4208cec163ef | 14 | /* clang-format off */ |
JohnnyK | 4:4208cec163ef | 15 | |
JohnnyK | 4:4208cec163ef | 16 | #include <stdint.h> |
JohnnyK | 4:4208cec163ef | 17 | |
JohnnyK | 4:4208cec163ef | 18 | /*==================== |
JohnnyK | 4:4208cec163ef | 19 | Graphical settings |
JohnnyK | 4:4208cec163ef | 20 | *====================*/ |
JohnnyK | 4:4208cec163ef | 21 | |
JohnnyK | 4:4208cec163ef | 22 | /* Maximal horizontal and vertical resolution to support by the library.*/ |
JohnnyK | 4:4208cec163ef | 23 | #define LV_HOR_RES_MAX (480) |
JohnnyK | 4:4208cec163ef | 24 | #define LV_VER_RES_MAX (272) |
JohnnyK | 4:4208cec163ef | 25 | |
JohnnyK | 4:4208cec163ef | 26 | /* Color depth: |
JohnnyK | 4:4208cec163ef | 27 | * - 1: 1 byte per pixel |
JohnnyK | 4:4208cec163ef | 28 | * - 8: RGB332 |
JohnnyK | 4:4208cec163ef | 29 | * - 16: RGB565 |
JohnnyK | 4:4208cec163ef | 30 | * - 32: ARGB8888 |
JohnnyK | 4:4208cec163ef | 31 | */ |
JohnnyK | 4:4208cec163ef | 32 | #define LV_COLOR_DEPTH 16 |
JohnnyK | 4:4208cec163ef | 33 | |
JohnnyK | 4:4208cec163ef | 34 | /* Swap the 2 bytes of RGB565 color. |
JohnnyK | 4:4208cec163ef | 35 | * Useful if the display has a 8 bit interface (e.g. SPI)*/ |
JohnnyK | 4:4208cec163ef | 36 | #define LV_COLOR_16_SWAP 0 |
JohnnyK | 4:4208cec163ef | 37 | |
JohnnyK | 4:4208cec163ef | 38 | /* 1: Enable screen transparency. |
JohnnyK | 4:4208cec163ef | 39 | * Useful for OSD or other overlapping GUIs. |
JohnnyK | 4:4208cec163ef | 40 | * Requires `LV_COLOR_DEPTH = 32` colors and the screen's style should be modified: `style.body.opa = ...`*/ |
JohnnyK | 4:4208cec163ef | 41 | #define LV_COLOR_SCREEN_TRANSP 0 |
JohnnyK | 4:4208cec163ef | 42 | |
JohnnyK | 4:4208cec163ef | 43 | /*Images pixels with this color will not be drawn (with chroma keying)*/ |
JohnnyK | 4:4208cec163ef | 44 | #define LV_COLOR_TRANSP LV_COLOR_LIME /*LV_COLOR_LIME: pure green*/ |
JohnnyK | 4:4208cec163ef | 45 | |
JohnnyK | 4:4208cec163ef | 46 | /* Enable anti-aliasing (lines, and radiuses will be smoothed) */ |
JohnnyK | 4:4208cec163ef | 47 | #define LV_ANTIALIAS 1 |
JohnnyK | 4:4208cec163ef | 48 | |
JohnnyK | 4:4208cec163ef | 49 | /* Default display refresh period. |
JohnnyK | 4:4208cec163ef | 50 | * Can be changed in the display driver (`lv_disp_drv_t`).*/ |
JohnnyK | 4:4208cec163ef | 51 | #define LV_DISP_DEF_REFR_PERIOD 30 /*[ms]*/ |
JohnnyK | 4:4208cec163ef | 52 | |
JohnnyK | 4:4208cec163ef | 53 | /* Dot Per Inch: used to initialize default sizes. |
JohnnyK | 4:4208cec163ef | 54 | * E.g. a button with width = LV_DPI / 2 -> half inch wide |
JohnnyK | 4:4208cec163ef | 55 | * (Not so important, you can adjust it to modify default sizes and spaces)*/ |
JohnnyK | 4:4208cec163ef | 56 | #define LV_DPI 130 /*[px]*/ |
JohnnyK | 4:4208cec163ef | 57 | |
JohnnyK | 4:4208cec163ef | 58 | /* The the real width of the display changes some default values: |
JohnnyK | 4:4208cec163ef | 59 | * default object sizes, layout of examples, etc. |
JohnnyK | 4:4208cec163ef | 60 | * According to the width of the display (hor. res. / dpi) |
JohnnyK | 4:4208cec163ef | 61 | * the displays fall in 4 categories. |
JohnnyK | 4:4208cec163ef | 62 | * The 4th is extra large which has no upper limit so not listed here |
JohnnyK | 4:4208cec163ef | 63 | * The upper limit of the categories are set below in 0.1 inch unit. |
JohnnyK | 4:4208cec163ef | 64 | */ |
JohnnyK | 4:4208cec163ef | 65 | #define LV_DISP_SMALL_LIMIT 30 |
JohnnyK | 4:4208cec163ef | 66 | #define LV_DISP_MEDIUM_LIMIT 50 |
JohnnyK | 4:4208cec163ef | 67 | #define LV_DISP_LARGE_LIMIT 70 |
JohnnyK | 4:4208cec163ef | 68 | |
JohnnyK | 4:4208cec163ef | 69 | /* Type of coordinates. Should be `int16_t` (or `int32_t` for extreme cases) */ |
JohnnyK | 4:4208cec163ef | 70 | typedef int16_t lv_coord_t; |
JohnnyK | 4:4208cec163ef | 71 | |
JohnnyK | 4:4208cec163ef | 72 | /* Maximum buffer size to allocate for rotation. Only used if software rotation is enabled. */ |
JohnnyK | 4:4208cec163ef | 73 | #define LV_DISP_ROT_MAX_BUF (10U * 1024U) |
JohnnyK | 4:4208cec163ef | 74 | |
JohnnyK | 4:4208cec163ef | 75 | /*========================= |
JohnnyK | 4:4208cec163ef | 76 | Memory manager settings |
JohnnyK | 4:4208cec163ef | 77 | *=========================*/ |
JohnnyK | 4:4208cec163ef | 78 | |
JohnnyK | 4:4208cec163ef | 79 | /* LittelvGL's internal memory manager's settings. |
JohnnyK | 4:4208cec163ef | 80 | * The graphical objects and other related data are stored here. */ |
JohnnyK | 4:4208cec163ef | 81 | |
JohnnyK | 4:4208cec163ef | 82 | /* 1: use custom malloc/free, 0: use the built-in `lv_mem_alloc` and `lv_mem_free` */ |
JohnnyK | 4:4208cec163ef | 83 | #define LV_MEM_CUSTOM 0 |
JohnnyK | 4:4208cec163ef | 84 | #if LV_MEM_CUSTOM == 0 |
JohnnyK | 4:4208cec163ef | 85 | /* Size of the memory used by `lv_mem_alloc` in bytes (>= 2kB)*/ |
JohnnyK | 4:4208cec163ef | 86 | # define LV_MEM_SIZE (32U * 1024U) |
JohnnyK | 4:4208cec163ef | 87 | |
JohnnyK | 4:4208cec163ef | 88 | /* Compiler prefix for a big array declaration */ |
JohnnyK | 4:4208cec163ef | 89 | # define LV_MEM_ATTR |
JohnnyK | 4:4208cec163ef | 90 | |
JohnnyK | 4:4208cec163ef | 91 | /* Set an address for the memory pool instead of allocating it as an array. |
JohnnyK | 4:4208cec163ef | 92 | * Can be in external SRAM too. */ |
JohnnyK | 4:4208cec163ef | 93 | # define LV_MEM_ADR 0 |
JohnnyK | 4:4208cec163ef | 94 | |
JohnnyK | 4:4208cec163ef | 95 | /* Automatically defrag. on free. Defrag. means joining the adjacent free cells. */ |
JohnnyK | 4:4208cec163ef | 96 | # define LV_MEM_AUTO_DEFRAG 1 |
JohnnyK | 4:4208cec163ef | 97 | #else /*LV_MEM_CUSTOM*/ |
JohnnyK | 4:4208cec163ef | 98 | # define LV_MEM_CUSTOM_INCLUDE <stdlib.h> /*Header for the dynamic memory function*/ |
JohnnyK | 4:4208cec163ef | 99 | # define LV_MEM_CUSTOM_ALLOC malloc /*Wrapper to malloc*/ |
JohnnyK | 4:4208cec163ef | 100 | # define LV_MEM_CUSTOM_FREE free /*Wrapper to free*/ |
JohnnyK | 4:4208cec163ef | 101 | #endif /*LV_MEM_CUSTOM*/ |
JohnnyK | 4:4208cec163ef | 102 | |
JohnnyK | 4:4208cec163ef | 103 | /* Use the standard memcpy and memset instead of LVGL's own functions. |
JohnnyK | 4:4208cec163ef | 104 | * The standard functions might or might not be faster depending on their implementation. */ |
JohnnyK | 4:4208cec163ef | 105 | #define LV_MEMCPY_MEMSET_STD 0 |
JohnnyK | 4:4208cec163ef | 106 | |
JohnnyK | 4:4208cec163ef | 107 | /* Garbage Collector settings |
JohnnyK | 4:4208cec163ef | 108 | * Used if lvgl is binded to higher level language and the memory is managed by that language */ |
JohnnyK | 4:4208cec163ef | 109 | #define LV_ENABLE_GC 0 |
JohnnyK | 4:4208cec163ef | 110 | #if LV_ENABLE_GC != 0 |
JohnnyK | 4:4208cec163ef | 111 | # define LV_GC_INCLUDE "gc.h" /*Include Garbage Collector related things*/ |
JohnnyK | 4:4208cec163ef | 112 | # define LV_MEM_CUSTOM_REALLOC your_realloc /*Wrapper to realloc*/ |
JohnnyK | 4:4208cec163ef | 113 | # define LV_MEM_CUSTOM_GET_SIZE your_mem_get_size /*Wrapper to lv_mem_get_size*/ |
JohnnyK | 4:4208cec163ef | 114 | #endif /* LV_ENABLE_GC */ |
JohnnyK | 4:4208cec163ef | 115 | |
JohnnyK | 4:4208cec163ef | 116 | /*======================= |
JohnnyK | 4:4208cec163ef | 117 | Input device settings |
JohnnyK | 4:4208cec163ef | 118 | *=======================*/ |
JohnnyK | 4:4208cec163ef | 119 | |
JohnnyK | 4:4208cec163ef | 120 | /* Input device default settings. |
JohnnyK | 4:4208cec163ef | 121 | * Can be changed in the Input device driver (`lv_indev_drv_t`)*/ |
JohnnyK | 4:4208cec163ef | 122 | |
JohnnyK | 4:4208cec163ef | 123 | /* Input device read period in milliseconds */ |
JohnnyK | 4:4208cec163ef | 124 | #define LV_INDEV_DEF_READ_PERIOD 30 |
JohnnyK | 4:4208cec163ef | 125 | |
JohnnyK | 4:4208cec163ef | 126 | /* Drag threshold in pixels */ |
JohnnyK | 4:4208cec163ef | 127 | #define LV_INDEV_DEF_DRAG_LIMIT 10 |
JohnnyK | 4:4208cec163ef | 128 | |
JohnnyK | 4:4208cec163ef | 129 | /* Drag throw slow-down in [%]. Greater value -> faster slow-down */ |
JohnnyK | 4:4208cec163ef | 130 | #define LV_INDEV_DEF_DRAG_THROW 10 |
JohnnyK | 4:4208cec163ef | 131 | |
JohnnyK | 4:4208cec163ef | 132 | /* Long press time in milliseconds. |
JohnnyK | 4:4208cec163ef | 133 | * Time to send `LV_EVENT_LONG_PRESSED`) */ |
JohnnyK | 4:4208cec163ef | 134 | #define LV_INDEV_DEF_LONG_PRESS_TIME 400 |
JohnnyK | 4:4208cec163ef | 135 | |
JohnnyK | 4:4208cec163ef | 136 | /* Repeated trigger period in long press [ms] |
JohnnyK | 4:4208cec163ef | 137 | * Time between `LV_EVENT_LONG_PRESSED_REPEAT */ |
JohnnyK | 4:4208cec163ef | 138 | #define LV_INDEV_DEF_LONG_PRESS_REP_TIME 100 |
JohnnyK | 4:4208cec163ef | 139 | |
JohnnyK | 4:4208cec163ef | 140 | /* Gesture threshold in pixels */ |
JohnnyK | 4:4208cec163ef | 141 | #define LV_INDEV_DEF_GESTURE_LIMIT 50 |
JohnnyK | 4:4208cec163ef | 142 | |
JohnnyK | 4:4208cec163ef | 143 | /* Gesture min velocity at release before swipe (pixels)*/ |
JohnnyK | 4:4208cec163ef | 144 | #define LV_INDEV_DEF_GESTURE_MIN_VELOCITY 3 |
JohnnyK | 4:4208cec163ef | 145 | |
JohnnyK | 4:4208cec163ef | 146 | /*================== |
JohnnyK | 4:4208cec163ef | 147 | * Feature usage |
JohnnyK | 4:4208cec163ef | 148 | *==================*/ |
JohnnyK | 4:4208cec163ef | 149 | |
JohnnyK | 4:4208cec163ef | 150 | /*1: Enable the Animations */ |
JohnnyK | 4:4208cec163ef | 151 | #define LV_USE_ANIMATION 1 |
JohnnyK | 4:4208cec163ef | 152 | #if LV_USE_ANIMATION |
JohnnyK | 4:4208cec163ef | 153 | |
JohnnyK | 4:4208cec163ef | 154 | /*Declare the type of the user data of animations (can be e.g. `void *`, `int`, `struct`)*/ |
JohnnyK | 4:4208cec163ef | 155 | typedef void * lv_anim_user_data_t; |
JohnnyK | 4:4208cec163ef | 156 | |
JohnnyK | 4:4208cec163ef | 157 | #endif |
JohnnyK | 4:4208cec163ef | 158 | |
JohnnyK | 4:4208cec163ef | 159 | /* 1: Enable shadow drawing on rectangles*/ |
JohnnyK | 4:4208cec163ef | 160 | #define LV_USE_SHADOW 1 |
JohnnyK | 4:4208cec163ef | 161 | #if LV_USE_SHADOW |
JohnnyK | 4:4208cec163ef | 162 | /* Allow buffering some shadow calculation |
JohnnyK | 4:4208cec163ef | 163 | * LV_SHADOW_CACHE_SIZE is the max. shadow size to buffer, |
JohnnyK | 4:4208cec163ef | 164 | * where shadow size is `shadow_width + radius` |
JohnnyK | 4:4208cec163ef | 165 | * Caching has LV_SHADOW_CACHE_SIZE^2 RAM cost*/ |
JohnnyK | 4:4208cec163ef | 166 | #define LV_SHADOW_CACHE_SIZE 0 |
JohnnyK | 4:4208cec163ef | 167 | #endif |
JohnnyK | 4:4208cec163ef | 168 | |
JohnnyK | 4:4208cec163ef | 169 | /*1: enable outline drawing on rectangles*/ |
JohnnyK | 4:4208cec163ef | 170 | #define LV_USE_OUTLINE 1 |
JohnnyK | 4:4208cec163ef | 171 | |
JohnnyK | 4:4208cec163ef | 172 | /*1: enable pattern drawing on rectangles*/ |
JohnnyK | 4:4208cec163ef | 173 | #define LV_USE_PATTERN 1 |
JohnnyK | 4:4208cec163ef | 174 | |
JohnnyK | 4:4208cec163ef | 175 | /*1: enable value string drawing on rectangles*/ |
JohnnyK | 4:4208cec163ef | 176 | #define LV_USE_VALUE_STR 1 |
JohnnyK | 4:4208cec163ef | 177 | |
JohnnyK | 4:4208cec163ef | 178 | /* 1: Use other blend modes than normal (`LV_BLEND_MODE_...`)*/ |
JohnnyK | 4:4208cec163ef | 179 | #define LV_USE_BLEND_MODES 1 |
JohnnyK | 4:4208cec163ef | 180 | |
JohnnyK | 4:4208cec163ef | 181 | /* 1: Use the `opa_scale` style property to set the opacity of an object and its children at once*/ |
JohnnyK | 4:4208cec163ef | 182 | #define LV_USE_OPA_SCALE 1 |
JohnnyK | 4:4208cec163ef | 183 | |
JohnnyK | 4:4208cec163ef | 184 | /* 1: Use image zoom and rotation*/ |
JohnnyK | 4:4208cec163ef | 185 | #define LV_USE_IMG_TRANSFORM 1 |
JohnnyK | 4:4208cec163ef | 186 | |
JohnnyK | 4:4208cec163ef | 187 | /* 1: Enable object groups (for keyboard/encoder navigation) */ |
JohnnyK | 4:4208cec163ef | 188 | #define LV_USE_GROUP 1 |
JohnnyK | 4:4208cec163ef | 189 | #if LV_USE_GROUP |
JohnnyK | 4:4208cec163ef | 190 | typedef void * lv_group_user_data_t; |
JohnnyK | 4:4208cec163ef | 191 | #endif /*LV_USE_GROUP*/ |
JohnnyK | 4:4208cec163ef | 192 | |
JohnnyK | 4:4208cec163ef | 193 | /* 1: Enable GPU interface*/ |
JohnnyK | 4:4208cec163ef | 194 | #define LV_USE_GPU 1 /*Only enables `gpu_fill_cb` and `gpu_blend_cb` in the disp. drv- */ |
JohnnyK | 4:4208cec163ef | 195 | #define LV_USE_GPU_STM32_DMA2D 1 |
JohnnyK | 4:4208cec163ef | 196 | /*If enabling LV_USE_GPU_STM32_DMA2D, LV_GPU_DMA2D_CMSIS_INCLUDE must be defined to include path of CMSIS header of target processor |
JohnnyK | 4:4208cec163ef | 197 | e.g. "stm32f769xx.h" or "stm32f429xx.h" */ |
JohnnyK | 4:4208cec163ef | 198 | #define LV_GPU_DMA2D_CMSIS_INCLUDE "stm32f746xx.h" |
JohnnyK | 4:4208cec163ef | 199 | |
JohnnyK | 4:4208cec163ef | 200 | /*1: Use PXP for CPU off-load on NXP RTxxx platforms */ |
JohnnyK | 4:4208cec163ef | 201 | #define LV_USE_GPU_NXP_PXP 0 |
JohnnyK | 4:4208cec163ef | 202 | |
JohnnyK | 4:4208cec163ef | 203 | /*1: Add default bare metal and FreeRTOS interrupt handling routines for PXP (lv_gpu_nxp_pxp_osa.c) |
JohnnyK | 4:4208cec163ef | 204 | * and call lv_gpu_nxp_pxp_init() automatically during lv_init(). Note that symbol FSL_RTOS_FREE_RTOS |
JohnnyK | 4:4208cec163ef | 205 | * has to be defined in order to use FreeRTOS OSA, otherwise bare-metal implementation is selected. |
JohnnyK | 4:4208cec163ef | 206 | *0: lv_gpu_nxp_pxp_init() has to be called manually before lv_init() |
JohnnyK | 4:4208cec163ef | 207 | * */ |
JohnnyK | 4:4208cec163ef | 208 | #define LV_USE_GPU_NXP_PXP_AUTO_INIT 0 |
JohnnyK | 4:4208cec163ef | 209 | |
JohnnyK | 4:4208cec163ef | 210 | /*1: Use VG-Lite for CPU offload on NXP RTxxx platforms */ |
JohnnyK | 4:4208cec163ef | 211 | #define LV_USE_GPU_NXP_VG_LITE 0 |
JohnnyK | 4:4208cec163ef | 212 | |
JohnnyK | 4:4208cec163ef | 213 | /* 1: Enable file system (might be required for images */ |
JohnnyK | 4:4208cec163ef | 214 | #define LV_USE_FILESYSTEM 1 |
JohnnyK | 4:4208cec163ef | 215 | #if LV_USE_FILESYSTEM |
JohnnyK | 4:4208cec163ef | 216 | /*Declare the type of the user data of file system drivers (can be e.g. `void *`, `int`, `struct`)*/ |
JohnnyK | 4:4208cec163ef | 217 | typedef void * lv_fs_drv_user_data_t; |
JohnnyK | 4:4208cec163ef | 218 | #endif |
JohnnyK | 4:4208cec163ef | 219 | |
JohnnyK | 4:4208cec163ef | 220 | /*1: Add a `user_data` to drivers and objects*/ |
JohnnyK | 4:4208cec163ef | 221 | #define LV_USE_USER_DATA 0 |
JohnnyK | 4:4208cec163ef | 222 | |
JohnnyK | 4:4208cec163ef | 223 | /*1: Show CPU usage and FPS count in the right bottom corner*/ |
JohnnyK | 4:4208cec163ef | 224 | #define LV_USE_PERF_MONITOR 0 |
JohnnyK | 4:4208cec163ef | 225 | |
JohnnyK | 4:4208cec163ef | 226 | /*1: Use the functions and types from the older API if possible */ |
JohnnyK | 4:4208cec163ef | 227 | #define LV_USE_API_EXTENSION_V6 1 |
JohnnyK | 4:4208cec163ef | 228 | #define LV_USE_API_EXTENSION_V7 1 |
JohnnyK | 4:4208cec163ef | 229 | |
JohnnyK | 4:4208cec163ef | 230 | /*======================== |
JohnnyK | 4:4208cec163ef | 231 | * Image decoder and cache |
JohnnyK | 4:4208cec163ef | 232 | *========================*/ |
JohnnyK | 4:4208cec163ef | 233 | |
JohnnyK | 4:4208cec163ef | 234 | /* 1: Enable indexed (palette) images */ |
JohnnyK | 4:4208cec163ef | 235 | #define LV_IMG_CF_INDEXED 1 |
JohnnyK | 4:4208cec163ef | 236 | |
JohnnyK | 4:4208cec163ef | 237 | /* 1: Enable alpha indexed images */ |
JohnnyK | 4:4208cec163ef | 238 | #define LV_IMG_CF_ALPHA 1 |
JohnnyK | 4:4208cec163ef | 239 | |
JohnnyK | 4:4208cec163ef | 240 | /* Default image cache size. Image caching keeps the images opened. |
JohnnyK | 4:4208cec163ef | 241 | * If only the built-in image formats are used there is no real advantage of caching. |
JohnnyK | 4:4208cec163ef | 242 | * (I.e. no new image decoder is added) |
JohnnyK | 4:4208cec163ef | 243 | * With complex image decoders (e.g. PNG or JPG) caching can save the continuous open/decode of images. |
JohnnyK | 4:4208cec163ef | 244 | * However the opened images might consume additional RAM. |
JohnnyK | 4:4208cec163ef | 245 | * Set it to 0 to disable caching */ |
JohnnyK | 4:4208cec163ef | 246 | #define LV_IMG_CACHE_DEF_SIZE 1 |
JohnnyK | 4:4208cec163ef | 247 | |
JohnnyK | 4:4208cec163ef | 248 | /*Declare the type of the user data of image decoder (can be e.g. `void *`, `int`, `struct`)*/ |
JohnnyK | 4:4208cec163ef | 249 | typedef void * lv_img_decoder_user_data_t; |
JohnnyK | 4:4208cec163ef | 250 | |
JohnnyK | 4:4208cec163ef | 251 | /*===================== |
JohnnyK | 4:4208cec163ef | 252 | * Compiler settings |
JohnnyK | 4:4208cec163ef | 253 | *====================*/ |
JohnnyK | 4:4208cec163ef | 254 | |
JohnnyK | 4:4208cec163ef | 255 | /* For big endian systems set to 1 */ |
JohnnyK | 4:4208cec163ef | 256 | #define LV_BIG_ENDIAN_SYSTEM 0 |
JohnnyK | 4:4208cec163ef | 257 | |
JohnnyK | 4:4208cec163ef | 258 | /* Define a custom attribute to `lv_tick_inc` function */ |
JohnnyK | 4:4208cec163ef | 259 | #define LV_ATTRIBUTE_TICK_INC |
JohnnyK | 4:4208cec163ef | 260 | |
JohnnyK | 4:4208cec163ef | 261 | /* Define a custom attribute to `lv_task_handler` function */ |
JohnnyK | 4:4208cec163ef | 262 | #define LV_ATTRIBUTE_TASK_HANDLER |
JohnnyK | 4:4208cec163ef | 263 | |
JohnnyK | 4:4208cec163ef | 264 | /* Define a custom attribute to `lv_disp_flush_ready` function */ |
JohnnyK | 4:4208cec163ef | 265 | #define LV_ATTRIBUTE_FLUSH_READY |
JohnnyK | 4:4208cec163ef | 266 | |
JohnnyK | 4:4208cec163ef | 267 | /* Required alignment size for buffers */ |
JohnnyK | 4:4208cec163ef | 268 | #define LV_ATTRIBUTE_MEM_ALIGN_SIZE |
JohnnyK | 4:4208cec163ef | 269 | |
JohnnyK | 4:4208cec163ef | 270 | /* With size optimization (-Os) the compiler might not align data to |
JohnnyK | 4:4208cec163ef | 271 | * 4 or 8 byte boundary. Some HW may need even 32 or 64 bytes. |
JohnnyK | 4:4208cec163ef | 272 | * This alignment will be explicitly applied where needed. |
JohnnyK | 4:4208cec163ef | 273 | * LV_ATTRIBUTE_MEM_ALIGN_SIZE should be used to specify required align size. |
JohnnyK | 4:4208cec163ef | 274 | * E.g. __attribute__((aligned(LV_ATTRIBUTE_MEM_ALIGN_SIZE))) */ |
JohnnyK | 4:4208cec163ef | 275 | #define LV_ATTRIBUTE_MEM_ALIGN |
JohnnyK | 4:4208cec163ef | 276 | |
JohnnyK | 4:4208cec163ef | 277 | /* Attribute to mark large constant arrays for example |
JohnnyK | 4:4208cec163ef | 278 | * font's bitmaps */ |
JohnnyK | 4:4208cec163ef | 279 | #define LV_ATTRIBUTE_LARGE_CONST |
JohnnyK | 4:4208cec163ef | 280 | |
JohnnyK | 4:4208cec163ef | 281 | /* Prefix performance critical functions to place them into a faster memory (e.g RAM) |
JohnnyK | 4:4208cec163ef | 282 | * Uses 15-20 kB extra memory */ |
JohnnyK | 4:4208cec163ef | 283 | #define LV_ATTRIBUTE_FAST_MEM |
JohnnyK | 4:4208cec163ef | 284 | |
JohnnyK | 4:4208cec163ef | 285 | /* Export integer constant to binding. |
JohnnyK | 4:4208cec163ef | 286 | * This macro is used with constants in the form of LV_<CONST> that |
JohnnyK | 4:4208cec163ef | 287 | * should also appear on lvgl binding API such as Micropython |
JohnnyK | 4:4208cec163ef | 288 | * |
JohnnyK | 4:4208cec163ef | 289 | * The default value just prevents a GCC warning. |
JohnnyK | 4:4208cec163ef | 290 | */ |
JohnnyK | 4:4208cec163ef | 291 | #define LV_EXPORT_CONST_INT(int_value) struct _silence_gcc_warning |
JohnnyK | 4:4208cec163ef | 292 | |
JohnnyK | 4:4208cec163ef | 293 | /* Prefix variables that are used in GPU accelerated operations, often these need to be |
JohnnyK | 4:4208cec163ef | 294 | * placed in RAM sections that are DMA accessible */ |
JohnnyK | 4:4208cec163ef | 295 | #define LV_ATTRIBUTE_DMA |
JohnnyK | 4:4208cec163ef | 296 | |
JohnnyK | 4:4208cec163ef | 297 | /*=================== |
JohnnyK | 4:4208cec163ef | 298 | * HAL settings |
JohnnyK | 4:4208cec163ef | 299 | *==================*/ |
JohnnyK | 4:4208cec163ef | 300 | |
JohnnyK | 4:4208cec163ef | 301 | /* 1: use a custom tick source. |
JohnnyK | 4:4208cec163ef | 302 | * It removes the need to manually update the tick with `lv_tick_inc`) */ |
JohnnyK | 4:4208cec163ef | 303 | #define LV_TICK_CUSTOM 0 |
JohnnyK | 4:4208cec163ef | 304 | #if LV_TICK_CUSTOM == 1 |
JohnnyK | 4:4208cec163ef | 305 | #define LV_TICK_CUSTOM_INCLUDE "Arduino.h" /*Header for the system time function*/ |
JohnnyK | 4:4208cec163ef | 306 | #define LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/ |
JohnnyK | 4:4208cec163ef | 307 | #endif /*LV_TICK_CUSTOM*/ |
JohnnyK | 4:4208cec163ef | 308 | |
JohnnyK | 4:4208cec163ef | 309 | typedef void * lv_disp_drv_user_data_t; /*Type of user data in the display driver*/ |
JohnnyK | 4:4208cec163ef | 310 | typedef void * lv_indev_drv_user_data_t; /*Type of user data in the input device driver*/ |
JohnnyK | 4:4208cec163ef | 311 | |
JohnnyK | 4:4208cec163ef | 312 | /*================ |
JohnnyK | 4:4208cec163ef | 313 | * Log settings |
JohnnyK | 4:4208cec163ef | 314 | *===============*/ |
JohnnyK | 4:4208cec163ef | 315 | |
JohnnyK | 4:4208cec163ef | 316 | /*1: Enable the log module*/ |
JohnnyK | 4:4208cec163ef | 317 | #define LV_USE_LOG 0 |
JohnnyK | 4:4208cec163ef | 318 | #if LV_USE_LOG |
JohnnyK | 4:4208cec163ef | 319 | /* How important log should be added: |
JohnnyK | 4:4208cec163ef | 320 | * LV_LOG_LEVEL_TRACE A lot of logs to give detailed information |
JohnnyK | 4:4208cec163ef | 321 | * LV_LOG_LEVEL_INFO Log important events |
JohnnyK | 4:4208cec163ef | 322 | * LV_LOG_LEVEL_WARN Log if something unwanted happened but didn't cause a problem |
JohnnyK | 4:4208cec163ef | 323 | * LV_LOG_LEVEL_ERROR Only critical issue, when the system may fail |
JohnnyK | 4:4208cec163ef | 324 | * LV_LOG_LEVEL_NONE Do not log anything |
JohnnyK | 4:4208cec163ef | 325 | */ |
JohnnyK | 4:4208cec163ef | 326 | # define LV_LOG_LEVEL LV_LOG_LEVEL_WARN |
JohnnyK | 4:4208cec163ef | 327 | |
JohnnyK | 4:4208cec163ef | 328 | /* 1: Print the log with 'printf'; |
JohnnyK | 4:4208cec163ef | 329 | * 0: user need to register a callback with `lv_log_register_print_cb`*/ |
JohnnyK | 4:4208cec163ef | 330 | # define LV_LOG_PRINTF 0 |
JohnnyK | 4:4208cec163ef | 331 | #endif /*LV_USE_LOG*/ |
JohnnyK | 4:4208cec163ef | 332 | |
JohnnyK | 4:4208cec163ef | 333 | /*================= |
JohnnyK | 4:4208cec163ef | 334 | * Debug settings |
JohnnyK | 4:4208cec163ef | 335 | *================*/ |
JohnnyK | 4:4208cec163ef | 336 | |
JohnnyK | 4:4208cec163ef | 337 | /* If Debug is enabled LittelvGL validates the parameters of the functions. |
JohnnyK | 4:4208cec163ef | 338 | * If an invalid parameter is found an error log message is printed and |
JohnnyK | 4:4208cec163ef | 339 | * the MCU halts at the error. (`LV_USE_LOG` should be enabled) |
JohnnyK | 4:4208cec163ef | 340 | * If you are debugging the MCU you can pause |
JohnnyK | 4:4208cec163ef | 341 | * the debugger to see exactly where the issue is. |
JohnnyK | 4:4208cec163ef | 342 | * |
JohnnyK | 4:4208cec163ef | 343 | * The behavior of asserts can be overwritten by redefining them here. |
JohnnyK | 4:4208cec163ef | 344 | * E.g. #define LV_ASSERT_MEM(p) <my_assert_code> |
JohnnyK | 4:4208cec163ef | 345 | */ |
JohnnyK | 4:4208cec163ef | 346 | #define LV_USE_DEBUG 1 |
JohnnyK | 4:4208cec163ef | 347 | #if LV_USE_DEBUG |
JohnnyK | 4:4208cec163ef | 348 | |
JohnnyK | 4:4208cec163ef | 349 | /*Check if the parameter is NULL. (Quite fast) */ |
JohnnyK | 4:4208cec163ef | 350 | #define LV_USE_ASSERT_NULL 1 |
JohnnyK | 4:4208cec163ef | 351 | |
JohnnyK | 4:4208cec163ef | 352 | /*Checks is the memory is successfully allocated or no. (Quite fast)*/ |
JohnnyK | 4:4208cec163ef | 353 | #define LV_USE_ASSERT_MEM 1 |
JohnnyK | 4:4208cec163ef | 354 | |
JohnnyK | 4:4208cec163ef | 355 | /*Check the integrity of `lv_mem` after critical operations. (Slow)*/ |
JohnnyK | 4:4208cec163ef | 356 | #define LV_USE_ASSERT_MEM_INTEGRITY 0 |
JohnnyK | 4:4208cec163ef | 357 | |
JohnnyK | 4:4208cec163ef | 358 | /* Check the strings. |
JohnnyK | 4:4208cec163ef | 359 | * Search for NULL, very long strings, invalid characters, and unnatural repetitions. (Slow) |
JohnnyK | 4:4208cec163ef | 360 | * If disabled `LV_USE_ASSERT_NULL` will be performed instead (if it's enabled) */ |
JohnnyK | 4:4208cec163ef | 361 | #define LV_USE_ASSERT_STR 0 |
JohnnyK | 4:4208cec163ef | 362 | |
JohnnyK | 4:4208cec163ef | 363 | /* Check NULL, the object's type and existence (e.g. not deleted). (Quite slow) |
JohnnyK | 4:4208cec163ef | 364 | * If disabled `LV_USE_ASSERT_NULL` will be performed instead (if it's enabled) */ |
JohnnyK | 4:4208cec163ef | 365 | #define LV_USE_ASSERT_OBJ 0 |
JohnnyK | 4:4208cec163ef | 366 | |
JohnnyK | 4:4208cec163ef | 367 | /*Check if the styles are properly initialized. (Fast)*/ |
JohnnyK | 4:4208cec163ef | 368 | #define LV_USE_ASSERT_STYLE 0 |
JohnnyK | 4:4208cec163ef | 369 | |
JohnnyK | 4:4208cec163ef | 370 | #endif /*LV_USE_DEBUG*/ |
JohnnyK | 4:4208cec163ef | 371 | |
JohnnyK | 4:4208cec163ef | 372 | /*================== |
JohnnyK | 4:4208cec163ef | 373 | * FONT USAGE |
JohnnyK | 4:4208cec163ef | 374 | *===================*/ |
JohnnyK | 4:4208cec163ef | 375 | |
JohnnyK | 4:4208cec163ef | 376 | /* The built-in fonts contains the ASCII range and some Symbols with 4 bit-per-pixel. |
JohnnyK | 4:4208cec163ef | 377 | * The symbols are available via `LV_SYMBOL_...` defines |
JohnnyK | 4:4208cec163ef | 378 | * More info about fonts: https://docs.lvgl.io/v7/en/html/overview/font.html |
JohnnyK | 4:4208cec163ef | 379 | * To create a new font go to: https://lvgl.com/ttf-font-to-c-array |
JohnnyK | 4:4208cec163ef | 380 | */ |
JohnnyK | 4:4208cec163ef | 381 | |
JohnnyK | 4:4208cec163ef | 382 | /* Montserrat fonts with bpp = 4 |
JohnnyK | 4:4208cec163ef | 383 | * https://fonts.google.com/specimen/Montserrat */ |
JohnnyK | 4:4208cec163ef | 384 | #define LV_FONT_MONTSERRAT_8 0 |
JohnnyK | 4:4208cec163ef | 385 | #define LV_FONT_MONTSERRAT_10 0 |
JohnnyK | 4:4208cec163ef | 386 | #define LV_FONT_MONTSERRAT_12 0 |
JohnnyK | 4:4208cec163ef | 387 | #define LV_FONT_MONTSERRAT_14 1 |
JohnnyK | 4:4208cec163ef | 388 | #define LV_FONT_MONTSERRAT_16 0 |
JohnnyK | 4:4208cec163ef | 389 | #define LV_FONT_MONTSERRAT_18 0 |
JohnnyK | 4:4208cec163ef | 390 | #define LV_FONT_MONTSERRAT_20 0 |
JohnnyK | 4:4208cec163ef | 391 | #define LV_FONT_MONTSERRAT_22 0 |
JohnnyK | 4:4208cec163ef | 392 | #define LV_FONT_MONTSERRAT_24 0 |
JohnnyK | 4:4208cec163ef | 393 | #define LV_FONT_MONTSERRAT_26 0 |
JohnnyK | 4:4208cec163ef | 394 | #define LV_FONT_MONTSERRAT_28 0 |
JohnnyK | 4:4208cec163ef | 395 | #define LV_FONT_MONTSERRAT_30 0 |
JohnnyK | 4:4208cec163ef | 396 | #define LV_FONT_MONTSERRAT_32 0 |
JohnnyK | 4:4208cec163ef | 397 | #define LV_FONT_MONTSERRAT_34 0 |
JohnnyK | 4:4208cec163ef | 398 | #define LV_FONT_MONTSERRAT_36 0 |
JohnnyK | 4:4208cec163ef | 399 | #define LV_FONT_MONTSERRAT_38 0 |
JohnnyK | 4:4208cec163ef | 400 | #define LV_FONT_MONTSERRAT_40 0 |
JohnnyK | 4:4208cec163ef | 401 | #define LV_FONT_MONTSERRAT_42 0 |
JohnnyK | 4:4208cec163ef | 402 | #define LV_FONT_MONTSERRAT_44 0 |
JohnnyK | 4:4208cec163ef | 403 | #define LV_FONT_MONTSERRAT_46 0 |
JohnnyK | 4:4208cec163ef | 404 | #define LV_FONT_MONTSERRAT_48 0 |
JohnnyK | 4:4208cec163ef | 405 | |
JohnnyK | 4:4208cec163ef | 406 | /* Demonstrate special features */ |
JohnnyK | 4:4208cec163ef | 407 | #define LV_FONT_MONTSERRAT_12_SUBPX 0 |
JohnnyK | 4:4208cec163ef | 408 | #define LV_FONT_MONTSERRAT_28_COMPRESSED 0 /*bpp = 3*/ |
JohnnyK | 4:4208cec163ef | 409 | #define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 0 /*Hebrew, Arabic, PErisan letters and all their forms*/ |
JohnnyK | 4:4208cec163ef | 410 | #define LV_FONT_SIMSUN_16_CJK 0 /*1000 most common CJK radicals*/ |
JohnnyK | 4:4208cec163ef | 411 | |
JohnnyK | 4:4208cec163ef | 412 | /*Pixel perfect monospace font |
JohnnyK | 4:4208cec163ef | 413 | * http://pelulamu.net/unscii/ */ |
JohnnyK | 4:4208cec163ef | 414 | #define LV_FONT_UNSCII_8 0 |
JohnnyK | 4:4208cec163ef | 415 | #define LV_FONT_UNSCII_16 0 |
JohnnyK | 4:4208cec163ef | 416 | |
JohnnyK | 4:4208cec163ef | 417 | /* Optionally declare your custom fonts here. |
JohnnyK | 4:4208cec163ef | 418 | * You can use these fonts as default font too |
JohnnyK | 4:4208cec163ef | 419 | * and they will be available globally. E.g. |
JohnnyK | 4:4208cec163ef | 420 | * #define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(my_font_1) \ |
JohnnyK | 4:4208cec163ef | 421 | * LV_FONT_DECLARE(my_font_2) |
JohnnyK | 4:4208cec163ef | 422 | */ |
JohnnyK | 4:4208cec163ef | 423 | #define LV_FONT_CUSTOM_DECLARE |
JohnnyK | 4:4208cec163ef | 424 | |
JohnnyK | 4:4208cec163ef | 425 | /* Enable it if you have fonts with a lot of characters. |
JohnnyK | 4:4208cec163ef | 426 | * The limit depends on the font size, font face and bpp |
JohnnyK | 4:4208cec163ef | 427 | * but with > 10,000 characters if you see issues probably you need to enable it.*/ |
JohnnyK | 4:4208cec163ef | 428 | #define LV_FONT_FMT_TXT_LARGE 0 |
JohnnyK | 4:4208cec163ef | 429 | |
JohnnyK | 4:4208cec163ef | 430 | /* Enables/disables support for compressed fonts. If it's disabled, compressed |
JohnnyK | 4:4208cec163ef | 431 | * glyphs cannot be processed by the library and won't be rendered. |
JohnnyK | 4:4208cec163ef | 432 | */ |
JohnnyK | 4:4208cec163ef | 433 | #define LV_USE_FONT_COMPRESSED 1 |
JohnnyK | 4:4208cec163ef | 434 | |
JohnnyK | 4:4208cec163ef | 435 | /* Enable subpixel rendering */ |
JohnnyK | 4:4208cec163ef | 436 | #define LV_USE_FONT_SUBPX 1 |
JohnnyK | 4:4208cec163ef | 437 | #if LV_USE_FONT_SUBPX |
JohnnyK | 4:4208cec163ef | 438 | /* Set the pixel order of the display. |
JohnnyK | 4:4208cec163ef | 439 | * Important only if "subpx fonts" are used. |
JohnnyK | 4:4208cec163ef | 440 | * With "normal" font it doesn't matter. |
JohnnyK | 4:4208cec163ef | 441 | */ |
JohnnyK | 4:4208cec163ef | 442 | #define LV_FONT_SUBPX_BGR 0 |
JohnnyK | 4:4208cec163ef | 443 | #endif |
JohnnyK | 4:4208cec163ef | 444 | |
JohnnyK | 4:4208cec163ef | 445 | /*Declare the type of the user data of fonts (can be e.g. `void *`, `int`, `struct`)*/ |
JohnnyK | 4:4208cec163ef | 446 | typedef void * lv_font_user_data_t; |
JohnnyK | 4:4208cec163ef | 447 | |
JohnnyK | 4:4208cec163ef | 448 | /*================ |
JohnnyK | 4:4208cec163ef | 449 | * THEME USAGE |
JohnnyK | 4:4208cec163ef | 450 | *================*/ |
JohnnyK | 4:4208cec163ef | 451 | |
JohnnyK | 4:4208cec163ef | 452 | /*Always enable at least on theme*/ |
JohnnyK | 4:4208cec163ef | 453 | |
JohnnyK | 4:4208cec163ef | 454 | /* No theme, you can apply your styles as you need |
JohnnyK | 4:4208cec163ef | 455 | * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ |
JohnnyK | 4:4208cec163ef | 456 | #define LV_USE_THEME_EMPTY 1 |
JohnnyK | 4:4208cec163ef | 457 | |
JohnnyK | 4:4208cec163ef | 458 | /*Simple to the create your theme based on it |
JohnnyK | 4:4208cec163ef | 459 | * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ |
JohnnyK | 4:4208cec163ef | 460 | #define LV_USE_THEME_TEMPLATE 1 |
JohnnyK | 4:4208cec163ef | 461 | |
JohnnyK | 4:4208cec163ef | 462 | /* A fast and impressive theme. |
JohnnyK | 4:4208cec163ef | 463 | * Flags: |
JohnnyK | 4:4208cec163ef | 464 | * LV_THEME_MATERIAL_FLAG_LIGHT: light theme |
JohnnyK | 4:4208cec163ef | 465 | * LV_THEME_MATERIAL_FLAG_DARK: dark theme |
JohnnyK | 4:4208cec163ef | 466 | * LV_THEME_MATERIAL_FLAG_NO_TRANSITION: disable transitions (state change animations) |
JohnnyK | 4:4208cec163ef | 467 | * LV_THEME_MATERIAL_FLAG_NO_FOCUS: disable indication of focused state) |
JohnnyK | 4:4208cec163ef | 468 | * */ |
JohnnyK | 4:4208cec163ef | 469 | #define LV_USE_THEME_MATERIAL 1 |
JohnnyK | 4:4208cec163ef | 470 | |
JohnnyK | 4:4208cec163ef | 471 | /* Mono-color theme for monochrome displays. |
JohnnyK | 4:4208cec163ef | 472 | * If LV_THEME_DEFAULT_COLOR_PRIMARY is LV_COLOR_BLACK the |
JohnnyK | 4:4208cec163ef | 473 | * texts and borders will be black and the background will be |
JohnnyK | 4:4208cec163ef | 474 | * white. Else the colors are inverted. |
JohnnyK | 4:4208cec163ef | 475 | * No flags. Set LV_THEME_DEFAULT_FLAG 0 */ |
JohnnyK | 4:4208cec163ef | 476 | #define LV_USE_THEME_MONO 1 |
JohnnyK | 4:4208cec163ef | 477 | |
JohnnyK | 4:4208cec163ef | 478 | #define LV_THEME_DEFAULT_INCLUDE <stdint.h> /*Include a header for the init. function*/ |
JohnnyK | 4:4208cec163ef | 479 | #define LV_THEME_DEFAULT_INIT lv_theme_material_init |
JohnnyK | 4:4208cec163ef | 480 | #define LV_THEME_DEFAULT_COLOR_PRIMARY lv_color_hex(0x01a2b1) |
JohnnyK | 4:4208cec163ef | 481 | #define LV_THEME_DEFAULT_COLOR_SECONDARY lv_color_hex(0x44d1b6) |
JohnnyK | 4:4208cec163ef | 482 | #define LV_THEME_DEFAULT_FLAG LV_THEME_MATERIAL_FLAG_LIGHT |
JohnnyK | 4:4208cec163ef | 483 | #define LV_THEME_DEFAULT_FONT_SMALL &lv_font_montserrat_14 |
JohnnyK | 4:4208cec163ef | 484 | #define LV_THEME_DEFAULT_FONT_NORMAL &lv_font_montserrat_14 |
JohnnyK | 4:4208cec163ef | 485 | #define LV_THEME_DEFAULT_FONT_SUBTITLE &lv_font_montserrat_14 |
JohnnyK | 4:4208cec163ef | 486 | #define LV_THEME_DEFAULT_FONT_TITLE &lv_font_montserrat_14 |
JohnnyK | 4:4208cec163ef | 487 | |
JohnnyK | 4:4208cec163ef | 488 | /*================= |
JohnnyK | 4:4208cec163ef | 489 | * Text settings |
JohnnyK | 4:4208cec163ef | 490 | *=================*/ |
JohnnyK | 4:4208cec163ef | 491 | |
JohnnyK | 4:4208cec163ef | 492 | /* Select a character encoding for strings. |
JohnnyK | 4:4208cec163ef | 493 | * Your IDE or editor should have the same character encoding |
JohnnyK | 4:4208cec163ef | 494 | * - LV_TXT_ENC_UTF8 |
JohnnyK | 4:4208cec163ef | 495 | * - LV_TXT_ENC_ASCII |
JohnnyK | 4:4208cec163ef | 496 | * */ |
JohnnyK | 4:4208cec163ef | 497 | #define LV_TXT_ENC LV_TXT_ENC_UTF8 |
JohnnyK | 4:4208cec163ef | 498 | |
JohnnyK | 4:4208cec163ef | 499 | /*Can break (wrap) texts on these chars*/ |
JohnnyK | 4:4208cec163ef | 500 | #define LV_TXT_BREAK_CHARS " ,.;:-_" |
JohnnyK | 4:4208cec163ef | 501 | |
JohnnyK | 4:4208cec163ef | 502 | /* If a word is at least this long, will break wherever "prettiest" |
JohnnyK | 4:4208cec163ef | 503 | * To disable, set to a value <= 0 */ |
JohnnyK | 4:4208cec163ef | 504 | #define LV_TXT_LINE_BREAK_LONG_LEN 0 |
JohnnyK | 4:4208cec163ef | 505 | |
JohnnyK | 4:4208cec163ef | 506 | /* Minimum number of characters in a long word to put on a line before a break. |
JohnnyK | 4:4208cec163ef | 507 | * Depends on LV_TXT_LINE_BREAK_LONG_LEN. */ |
JohnnyK | 4:4208cec163ef | 508 | #define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3 |
JohnnyK | 4:4208cec163ef | 509 | |
JohnnyK | 4:4208cec163ef | 510 | /* Minimum number of characters in a long word to put on a line after a break. |
JohnnyK | 4:4208cec163ef | 511 | * Depends on LV_TXT_LINE_BREAK_LONG_LEN. */ |
JohnnyK | 4:4208cec163ef | 512 | #define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 3 |
JohnnyK | 4:4208cec163ef | 513 | |
JohnnyK | 4:4208cec163ef | 514 | /* The control character to use for signalling text recoloring. */ |
JohnnyK | 4:4208cec163ef | 515 | #define LV_TXT_COLOR_CMD "#" |
JohnnyK | 4:4208cec163ef | 516 | |
JohnnyK | 4:4208cec163ef | 517 | /* Support bidirectional texts. |
JohnnyK | 4:4208cec163ef | 518 | * Allows mixing Left-to-Right and Right-to-Left texts. |
JohnnyK | 4:4208cec163ef | 519 | * The direction will be processed according to the Unicode Bidirectional Algorithm: |
JohnnyK | 4:4208cec163ef | 520 | * https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/ |
JohnnyK | 4:4208cec163ef | 521 | #define LV_USE_BIDI 0 |
JohnnyK | 4:4208cec163ef | 522 | #if LV_USE_BIDI |
JohnnyK | 4:4208cec163ef | 523 | /* Set the default direction. Supported values: |
JohnnyK | 4:4208cec163ef | 524 | * `LV_BIDI_DIR_LTR` Left-to-Right |
JohnnyK | 4:4208cec163ef | 525 | * `LV_BIDI_DIR_RTL` Right-to-Left |
JohnnyK | 4:4208cec163ef | 526 | * `LV_BIDI_DIR_AUTO` detect texts base direction */ |
JohnnyK | 4:4208cec163ef | 527 | #define LV_BIDI_BASE_DIR_DEF LV_BIDI_DIR_AUTO |
JohnnyK | 4:4208cec163ef | 528 | #endif |
JohnnyK | 4:4208cec163ef | 529 | |
JohnnyK | 4:4208cec163ef | 530 | /* Enable Arabic/Persian processing |
JohnnyK | 4:4208cec163ef | 531 | * In these languages characters should be replaced with |
JohnnyK | 4:4208cec163ef | 532 | * an other form based on their position in the text */ |
JohnnyK | 4:4208cec163ef | 533 | #define LV_USE_ARABIC_PERSIAN_CHARS 0 |
JohnnyK | 4:4208cec163ef | 534 | |
JohnnyK | 4:4208cec163ef | 535 | /*Change the built in (v)snprintf functions*/ |
JohnnyK | 4:4208cec163ef | 536 | #define LV_SPRINTF_CUSTOM 0 |
JohnnyK | 4:4208cec163ef | 537 | #if LV_SPRINTF_CUSTOM |
JohnnyK | 4:4208cec163ef | 538 | # define LV_SPRINTF_INCLUDE <stdio.h> |
JohnnyK | 4:4208cec163ef | 539 | # define lv_snprintf snprintf |
JohnnyK | 4:4208cec163ef | 540 | # define lv_vsnprintf vsnprintf |
JohnnyK | 4:4208cec163ef | 541 | #else /*!LV_SPRINTF_CUSTOM*/ |
JohnnyK | 4:4208cec163ef | 542 | # define LV_SPRINTF_DISABLE_FLOAT 1 |
JohnnyK | 4:4208cec163ef | 543 | #endif /*LV_SPRINTF_CUSTOM*/ |
JohnnyK | 4:4208cec163ef | 544 | |
JohnnyK | 4:4208cec163ef | 545 | /*=================== |
JohnnyK | 4:4208cec163ef | 546 | * LV_OBJ SETTINGS |
JohnnyK | 4:4208cec163ef | 547 | *==================*/ |
JohnnyK | 4:4208cec163ef | 548 | |
JohnnyK | 4:4208cec163ef | 549 | #if LV_USE_USER_DATA |
JohnnyK | 4:4208cec163ef | 550 | /*Declare the type of the user data of object (can be e.g. `void *`, `int`, `struct`)*/ |
JohnnyK | 4:4208cec163ef | 551 | typedef void * lv_obj_user_data_t; |
JohnnyK | 4:4208cec163ef | 552 | /*Provide a function to free user data*/ |
JohnnyK | 4:4208cec163ef | 553 | #define LV_USE_USER_DATA_FREE 0 |
JohnnyK | 4:4208cec163ef | 554 | #if LV_USE_USER_DATA_FREE |
JohnnyK | 4:4208cec163ef | 555 | # define LV_USER_DATA_FREE_INCLUDE "something.h" /*Header for user data free function*/ |
JohnnyK | 4:4208cec163ef | 556 | /* Function prototype : void user_data_free(lv_obj_t * obj); */ |
JohnnyK | 4:4208cec163ef | 557 | # define LV_USER_DATA_FREE (user_data_free) /*Invoking for user data free function*/ |
JohnnyK | 4:4208cec163ef | 558 | #endif |
JohnnyK | 4:4208cec163ef | 559 | #endif |
JohnnyK | 4:4208cec163ef | 560 | |
JohnnyK | 4:4208cec163ef | 561 | /*1: enable `lv_obj_realign()` based on `lv_obj_align()` parameters*/ |
JohnnyK | 4:4208cec163ef | 562 | #define LV_USE_OBJ_REALIGN 1 |
JohnnyK | 4:4208cec163ef | 563 | |
JohnnyK | 4:4208cec163ef | 564 | /* Enable to make the object clickable on a larger area. |
JohnnyK | 4:4208cec163ef | 565 | * LV_EXT_CLICK_AREA_OFF or 0: Disable this feature |
JohnnyK | 4:4208cec163ef | 566 | * LV_EXT_CLICK_AREA_TINY: The extra area can be adjusted horizontally and vertically (0..255 px) |
JohnnyK | 4:4208cec163ef | 567 | * LV_EXT_CLICK_AREA_FULL: The extra area can be adjusted in all 4 directions (-32k..+32k px) |
JohnnyK | 4:4208cec163ef | 568 | */ |
JohnnyK | 4:4208cec163ef | 569 | #define LV_USE_EXT_CLICK_AREA LV_EXT_CLICK_AREA_TINY |
JohnnyK | 4:4208cec163ef | 570 | |
JohnnyK | 4:4208cec163ef | 571 | /*================== |
JohnnyK | 4:4208cec163ef | 572 | * LV OBJ X USAGE |
JohnnyK | 4:4208cec163ef | 573 | *================*/ |
JohnnyK | 4:4208cec163ef | 574 | /* |
JohnnyK | 4:4208cec163ef | 575 | * Documentation of the object types: https://docs.lvgl.com/#Object-types |
JohnnyK | 4:4208cec163ef | 576 | */ |
JohnnyK | 4:4208cec163ef | 577 | |
JohnnyK | 4:4208cec163ef | 578 | /*Arc (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 579 | #define LV_USE_ARC 1 |
JohnnyK | 4:4208cec163ef | 580 | |
JohnnyK | 4:4208cec163ef | 581 | /*Bar (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 582 | #define LV_USE_BAR 1 |
JohnnyK | 4:4208cec163ef | 583 | |
JohnnyK | 4:4208cec163ef | 584 | /*Button (dependencies: lv_cont*/ |
JohnnyK | 4:4208cec163ef | 585 | #define LV_USE_BTN 1 |
JohnnyK | 4:4208cec163ef | 586 | |
JohnnyK | 4:4208cec163ef | 587 | /*Button matrix (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 588 | #define LV_USE_BTNMATRIX 1 |
JohnnyK | 4:4208cec163ef | 589 | |
JohnnyK | 4:4208cec163ef | 590 | /*Calendar (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 591 | #define LV_USE_CALENDAR 1 |
JohnnyK | 4:4208cec163ef | 592 | #if LV_USE_CALENDAR |
JohnnyK | 4:4208cec163ef | 593 | # define LV_CALENDAR_WEEK_STARTS_MONDAY 0 |
JohnnyK | 4:4208cec163ef | 594 | #endif |
JohnnyK | 4:4208cec163ef | 595 | |
JohnnyK | 4:4208cec163ef | 596 | /*Canvas (dependencies: lv_img)*/ |
JohnnyK | 4:4208cec163ef | 597 | #define LV_USE_CANVAS 1 |
JohnnyK | 4:4208cec163ef | 598 | |
JohnnyK | 4:4208cec163ef | 599 | /*Check box (dependencies: lv_btn, lv_label)*/ |
JohnnyK | 4:4208cec163ef | 600 | #define LV_USE_CHECKBOX 1 |
JohnnyK | 4:4208cec163ef | 601 | |
JohnnyK | 4:4208cec163ef | 602 | /*Chart (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 603 | #define LV_USE_CHART 1 |
JohnnyK | 4:4208cec163ef | 604 | #if LV_USE_CHART |
JohnnyK | 4:4208cec163ef | 605 | # define LV_CHART_AXIS_TICK_LABEL_MAX_LEN 256 |
JohnnyK | 4:4208cec163ef | 606 | #endif |
JohnnyK | 4:4208cec163ef | 607 | |
JohnnyK | 4:4208cec163ef | 608 | /*Container (dependencies: -*/ |
JohnnyK | 4:4208cec163ef | 609 | #define LV_USE_CONT 1 |
JohnnyK | 4:4208cec163ef | 610 | |
JohnnyK | 4:4208cec163ef | 611 | /*Color picker (dependencies: -*/ |
JohnnyK | 4:4208cec163ef | 612 | #define LV_USE_CPICKER 1 |
JohnnyK | 4:4208cec163ef | 613 | |
JohnnyK | 4:4208cec163ef | 614 | /*Drop down list (dependencies: lv_page, lv_label, lv_symbol_def.h)*/ |
JohnnyK | 4:4208cec163ef | 615 | #define LV_USE_DROPDOWN 1 |
JohnnyK | 4:4208cec163ef | 616 | #if LV_USE_DROPDOWN != 0 |
JohnnyK | 4:4208cec163ef | 617 | /*Open and close default animation time [ms] (0: no animation)*/ |
JohnnyK | 4:4208cec163ef | 618 | # define LV_DROPDOWN_DEF_ANIM_TIME 200 |
JohnnyK | 4:4208cec163ef | 619 | #endif |
JohnnyK | 4:4208cec163ef | 620 | |
JohnnyK | 4:4208cec163ef | 621 | /*Gauge (dependencies:lv_bar, lv_linemeter)*/ |
JohnnyK | 4:4208cec163ef | 622 | #define LV_USE_GAUGE 1 |
JohnnyK | 4:4208cec163ef | 623 | |
JohnnyK | 4:4208cec163ef | 624 | /*Image (dependencies: lv_label*/ |
JohnnyK | 4:4208cec163ef | 625 | #define LV_USE_IMG 1 |
JohnnyK | 4:4208cec163ef | 626 | |
JohnnyK | 4:4208cec163ef | 627 | /*Image Button (dependencies: lv_btn*/ |
JohnnyK | 4:4208cec163ef | 628 | #define LV_USE_IMGBTN 1 |
JohnnyK | 4:4208cec163ef | 629 | #if LV_USE_IMGBTN |
JohnnyK | 4:4208cec163ef | 630 | /*1: The imgbtn requires left, mid and right parts and the width can be set freely*/ |
JohnnyK | 4:4208cec163ef | 631 | # define LV_IMGBTN_TILED 0 |
JohnnyK | 4:4208cec163ef | 632 | #endif |
JohnnyK | 4:4208cec163ef | 633 | |
JohnnyK | 4:4208cec163ef | 634 | /*Keyboard (dependencies: lv_btnm)*/ |
JohnnyK | 4:4208cec163ef | 635 | #define LV_USE_KEYBOARD 1 |
JohnnyK | 4:4208cec163ef | 636 | |
JohnnyK | 4:4208cec163ef | 637 | /*Label (dependencies: -*/ |
JohnnyK | 4:4208cec163ef | 638 | #define LV_USE_LABEL 1 |
JohnnyK | 4:4208cec163ef | 639 | #if LV_USE_LABEL != 0 |
JohnnyK | 4:4208cec163ef | 640 | /*Hor, or ver. scroll speed [px/sec] in 'LV_LABEL_LONG_ROLL/ROLL_CIRC' mode*/ |
JohnnyK | 4:4208cec163ef | 641 | # define LV_LABEL_DEF_SCROLL_SPEED 25 |
JohnnyK | 4:4208cec163ef | 642 | |
JohnnyK | 4:4208cec163ef | 643 | /* Waiting period at beginning/end of animation cycle */ |
JohnnyK | 4:4208cec163ef | 644 | # define LV_LABEL_WAIT_CHAR_COUNT 3 |
JohnnyK | 4:4208cec163ef | 645 | |
JohnnyK | 4:4208cec163ef | 646 | /*Enable selecting text of the label */ |
JohnnyK | 4:4208cec163ef | 647 | # define LV_LABEL_TEXT_SEL 0 |
JohnnyK | 4:4208cec163ef | 648 | |
JohnnyK | 4:4208cec163ef | 649 | /*Store extra some info in labels (12 bytes) to speed up drawing of very long texts*/ |
JohnnyK | 4:4208cec163ef | 650 | # define LV_LABEL_LONG_TXT_HINT 0 |
JohnnyK | 4:4208cec163ef | 651 | #endif |
JohnnyK | 4:4208cec163ef | 652 | |
JohnnyK | 4:4208cec163ef | 653 | /*LED (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 654 | #define LV_USE_LED 1 |
JohnnyK | 4:4208cec163ef | 655 | #if LV_USE_LED |
JohnnyK | 4:4208cec163ef | 656 | # define LV_LED_BRIGHT_MIN 120 /*Minimal brightness*/ |
JohnnyK | 4:4208cec163ef | 657 | # define LV_LED_BRIGHT_MAX 255 /*Maximal brightness*/ |
JohnnyK | 4:4208cec163ef | 658 | #endif |
JohnnyK | 4:4208cec163ef | 659 | |
JohnnyK | 4:4208cec163ef | 660 | /*Line (dependencies: -*/ |
JohnnyK | 4:4208cec163ef | 661 | #define LV_USE_LINE 1 |
JohnnyK | 4:4208cec163ef | 662 | |
JohnnyK | 4:4208cec163ef | 663 | /*List (dependencies: lv_page, lv_btn, lv_label, (lv_img optionally for icons ))*/ |
JohnnyK | 4:4208cec163ef | 664 | #define LV_USE_LIST 1 |
JohnnyK | 4:4208cec163ef | 665 | #if LV_USE_LIST != 0 |
JohnnyK | 4:4208cec163ef | 666 | /*Default animation time of focusing to a list element [ms] (0: no animation) */ |
JohnnyK | 4:4208cec163ef | 667 | # define LV_LIST_DEF_ANIM_TIME 100 |
JohnnyK | 4:4208cec163ef | 668 | #endif |
JohnnyK | 4:4208cec163ef | 669 | |
JohnnyK | 4:4208cec163ef | 670 | /*Line meter (dependencies: *;)*/ |
JohnnyK | 4:4208cec163ef | 671 | #define LV_USE_LINEMETER 1 |
JohnnyK | 4:4208cec163ef | 672 | #if LV_USE_LINEMETER |
JohnnyK | 4:4208cec163ef | 673 | /* Draw line more precisely at cost of performance. |
JohnnyK | 4:4208cec163ef | 674 | * Useful if there are lot of lines any minor are visible |
JohnnyK | 4:4208cec163ef | 675 | * 0: No extra precision |
JohnnyK | 4:4208cec163ef | 676 | * 1: Some extra precision |
JohnnyK | 4:4208cec163ef | 677 | * 2: Best precision |
JohnnyK | 4:4208cec163ef | 678 | */ |
JohnnyK | 4:4208cec163ef | 679 | # define LV_LINEMETER_PRECISE 1 |
JohnnyK | 4:4208cec163ef | 680 | #endif |
JohnnyK | 4:4208cec163ef | 681 | |
JohnnyK | 4:4208cec163ef | 682 | /*Mask (dependencies: -)*/ |
JohnnyK | 4:4208cec163ef | 683 | #define LV_USE_OBJMASK 1 |
JohnnyK | 4:4208cec163ef | 684 | |
JohnnyK | 4:4208cec163ef | 685 | /*Message box (dependencies: lv_rect, lv_btnm, lv_label)*/ |
JohnnyK | 4:4208cec163ef | 686 | #define LV_USE_MSGBOX 1 |
JohnnyK | 4:4208cec163ef | 687 | |
JohnnyK | 4:4208cec163ef | 688 | /*Page (dependencies: lv_cont)*/ |
JohnnyK | 4:4208cec163ef | 689 | #define LV_USE_PAGE 1 |
JohnnyK | 4:4208cec163ef | 690 | #if LV_USE_PAGE != 0 |
JohnnyK | 4:4208cec163ef | 691 | /*Focus default animation time [ms] (0: no animation)*/ |
JohnnyK | 4:4208cec163ef | 692 | # define LV_PAGE_DEF_ANIM_TIME 400 |
JohnnyK | 4:4208cec163ef | 693 | #endif |
JohnnyK | 4:4208cec163ef | 694 | |
JohnnyK | 4:4208cec163ef | 695 | /*Preload (dependencies: lv_arc, lv_anim)*/ |
JohnnyK | 4:4208cec163ef | 696 | #define LV_USE_SPINNER 1 |
JohnnyK | 4:4208cec163ef | 697 | #if LV_USE_SPINNER != 0 |
JohnnyK | 4:4208cec163ef | 698 | # define LV_SPINNER_DEF_ARC_LENGTH 60 /*[deg]*/ |
JohnnyK | 4:4208cec163ef | 699 | # define LV_SPINNER_DEF_SPIN_TIME 1000 /*[ms]*/ |
JohnnyK | 4:4208cec163ef | 700 | # define LV_SPINNER_DEF_ANIM LV_SPINNER_TYPE_SPINNING_ARC |
JohnnyK | 4:4208cec163ef | 701 | #endif |
JohnnyK | 4:4208cec163ef | 702 | |
JohnnyK | 4:4208cec163ef | 703 | /*Roller (dependencies: lv_ddlist)*/ |
JohnnyK | 4:4208cec163ef | 704 | #define LV_USE_ROLLER 1 |
JohnnyK | 4:4208cec163ef | 705 | #if LV_USE_ROLLER != 0 |
JohnnyK | 4:4208cec163ef | 706 | /*Focus animation time [ms] (0: no animation)*/ |
JohnnyK | 4:4208cec163ef | 707 | # define LV_ROLLER_DEF_ANIM_TIME 200 |
JohnnyK | 4:4208cec163ef | 708 | |
JohnnyK | 4:4208cec163ef | 709 | /*Number of extra "pages" when the roller is infinite*/ |
JohnnyK | 4:4208cec163ef | 710 | # define LV_ROLLER_INF_PAGES 7 |
JohnnyK | 4:4208cec163ef | 711 | #endif |
JohnnyK | 4:4208cec163ef | 712 | |
JohnnyK | 4:4208cec163ef | 713 | /*Slider (dependencies: lv_bar)*/ |
JohnnyK | 4:4208cec163ef | 714 | #define LV_USE_SLIDER 1 |
JohnnyK | 4:4208cec163ef | 715 | |
JohnnyK | 4:4208cec163ef | 716 | /*Spinbox (dependencies: lv_ta)*/ |
JohnnyK | 4:4208cec163ef | 717 | #define LV_USE_SPINBOX 1 |
JohnnyK | 4:4208cec163ef | 718 | |
JohnnyK | 4:4208cec163ef | 719 | /*Switch (dependencies: lv_slider)*/ |
JohnnyK | 4:4208cec163ef | 720 | #define LV_USE_SWITCH 1 |
JohnnyK | 4:4208cec163ef | 721 | |
JohnnyK | 4:4208cec163ef | 722 | /*Text area (dependencies: lv_label, lv_page)*/ |
JohnnyK | 4:4208cec163ef | 723 | #define LV_USE_TEXTAREA 1 |
JohnnyK | 4:4208cec163ef | 724 | #if LV_USE_TEXTAREA != 0 |
JohnnyK | 4:4208cec163ef | 725 | # define LV_TEXTAREA_DEF_CURSOR_BLINK_TIME 400 /*ms*/ |
JohnnyK | 4:4208cec163ef | 726 | # define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500 /*ms*/ |
JohnnyK | 4:4208cec163ef | 727 | #endif |
JohnnyK | 4:4208cec163ef | 728 | |
JohnnyK | 4:4208cec163ef | 729 | /*Table (dependencies: lv_label)*/ |
JohnnyK | 4:4208cec163ef | 730 | #define LV_USE_TABLE 1 |
JohnnyK | 4:4208cec163ef | 731 | #if LV_USE_TABLE |
JohnnyK | 4:4208cec163ef | 732 | # define LV_TABLE_COL_MAX 12 |
JohnnyK | 4:4208cec163ef | 733 | # define LV_TABLE_CELL_STYLE_CNT 4 |
JohnnyK | 4:4208cec163ef | 734 | #endif |
JohnnyK | 4:4208cec163ef | 735 | |
JohnnyK | 4:4208cec163ef | 736 | /*Tab (dependencies: lv_page, lv_btnm)*/ |
JohnnyK | 4:4208cec163ef | 737 | #define LV_USE_TABVIEW 1 |
JohnnyK | 4:4208cec163ef | 738 | # if LV_USE_TABVIEW != 0 |
JohnnyK | 4:4208cec163ef | 739 | /*Time of slide animation [ms] (0: no animation)*/ |
JohnnyK | 4:4208cec163ef | 740 | # define LV_TABVIEW_DEF_ANIM_TIME 300 |
JohnnyK | 4:4208cec163ef | 741 | #endif |
JohnnyK | 4:4208cec163ef | 742 | |
JohnnyK | 4:4208cec163ef | 743 | /*Tileview (dependencies: lv_page) */ |
JohnnyK | 4:4208cec163ef | 744 | #define LV_USE_TILEVIEW 1 |
JohnnyK | 4:4208cec163ef | 745 | #if LV_USE_TILEVIEW |
JohnnyK | 4:4208cec163ef | 746 | /*Time of slide animation [ms] (0: no animation)*/ |
JohnnyK | 4:4208cec163ef | 747 | # define LV_TILEVIEW_DEF_ANIM_TIME 300 |
JohnnyK | 4:4208cec163ef | 748 | #endif |
JohnnyK | 4:4208cec163ef | 749 | |
JohnnyK | 4:4208cec163ef | 750 | /*Window (dependencies: lv_cont, lv_btn, lv_label, lv_img, lv_page)*/ |
JohnnyK | 4:4208cec163ef | 751 | #define LV_USE_WIN 1 |
JohnnyK | 4:4208cec163ef | 752 | |
JohnnyK | 4:4208cec163ef | 753 | /*================== |
JohnnyK | 4:4208cec163ef | 754 | * Non-user section |
JohnnyK | 4:4208cec163ef | 755 | *==================*/ |
JohnnyK | 4:4208cec163ef | 756 | |
JohnnyK | 4:4208cec163ef | 757 | #if defined(_MSC_VER) && !defined(_CRT_SECURE_NO_WARNINGS) /* Disable warnings for Visual Studio*/ |
JohnnyK | 4:4208cec163ef | 758 | # define _CRT_SECURE_NO_WARNINGS |
JohnnyK | 4:4208cec163ef | 759 | #endif |
JohnnyK | 4:4208cec163ef | 760 | |
JohnnyK | 4:4208cec163ef | 761 | /*--END OF LV_CONF_H--*/ |
JohnnyK | 4:4208cec163ef | 762 | |
JohnnyK | 4:4208cec163ef | 763 | #endif /*LV_CONF_H*/ |
JohnnyK | 4:4208cec163ef | 764 | |
JohnnyK | 4:4208cec163ef | 765 | #endif /*End of "Content enable"*/ |