acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
Kconfig (39977B)
1 # Kconfig file for LVGL v8.0 2 3 menu "LVGL configuration" 4 5 # Define CONFIG_LV_CONF_SKIP so we can use LVGL 6 # without lv_conf.h file, the lv_conf_internal.h and 7 # lv_conf_kconfig.h files are used instead. 8 config LV_CONF_SKIP 9 bool 10 default y 11 12 config LV_CONF_MINIMAL 13 bool "LVGL minimal configuration." 14 15 menu "Color settings" 16 choice LV_COLOR_DEPTH 17 prompt "Color depth." 18 default LV_COLOR_DEPTH_16 19 help 20 Color depth to be used. 21 22 config LV_COLOR_DEPTH_32 23 bool "32: ARGB8888" 24 config LV_COLOR_DEPTH_16 25 bool "16: RGB565" 26 config LV_COLOR_DEPTH_8 27 bool "8: RGB232" 28 config LV_COLOR_DEPTH_1 29 bool "1: 1 byte per pixel" 30 endchoice 31 32 config LV_COLOR_DEPTH 33 int 34 default 1 if LV_COLOR_DEPTH_1 35 default 8 if LV_COLOR_DEPTH_8 36 default 16 if LV_COLOR_DEPTH_16 37 default 32 if LV_COLOR_DEPTH_32 38 39 config LV_COLOR_16_SWAP 40 bool "Swap the 2 bytes of RGB565 color. Useful if the display has an 8-bit interface (e.g. SPI)." 41 depends on LV_COLOR_DEPTH_16 42 43 config LV_COLOR_SCREEN_TRANSP 44 bool "Enable more complex drawing routines to manage screens transparency." 45 depends on LV_COLOR_DEPTH_32 46 help 47 Can be used if the UI is above another layer, e.g. an OSD menu or video player. 48 Requires `LV_COLOR_DEPTH = 32` colors and the screen's `bg_opa` should be set to 49 non LV_OPA_COVER value 50 51 config LV_COLOR_MIX_ROUND_OFS 52 int "Adjust color mix functions rounding" 53 default 128 if !LV_COLOR_DEPTH_32 54 default 0 if LV_COLOR_DEPTH_32 55 range 0 254 56 help 57 0: no adjustment, get the integer part of the result (round down) 58 64: round up from x.75 59 128: round up from half 60 192: round up from x.25 61 254: round up 62 63 config LV_COLOR_CHROMA_KEY_HEX 64 hex "Images pixels with this color will not be drawn (if they are chroma keyed)." 65 range 0x000000 0xFFFFFF 66 default 0x00FF00 67 help 68 See misc/lv_color.h for some color values examples. 69 endmenu 70 71 menu "Memory settings" 72 config LV_MEM_CUSTOM 73 bool "If true use custom malloc/free, otherwise use the built-in `lv_mem_alloc()` and `lv_mem_free()`" 74 75 config LV_MEM_SIZE_KILOBYTES 76 int "Size of the memory used by `lv_mem_alloc` in kilobytes (>= 2kB)" 77 range 2 128 78 default 32 79 depends on !LV_MEM_CUSTOM 80 81 config LV_MEM_ADDR 82 hex "Address for the memory pool instead of allocating it as a normal array" 83 default 0x0 84 depends on !LV_MEM_CUSTOM 85 86 config LV_MEM_CUSTOM_INCLUDE 87 string "Header to include for the custom memory function" 88 default "stdlib.h" 89 depends on LV_MEM_CUSTOM 90 91 config LV_MEM_BUF_MAX_NUM 92 int "Number of the memory buffer" 93 default 16 94 help 95 Number of the intermediate memory buffer used during rendering and other 96 internal processing mechanisms. You will see an error log message if 97 there wasn't enough buffers. 98 99 config LV_MEMCPY_MEMSET_STD 100 bool "Use the standard memcpy and memset instead of LVGL's own functions" 101 endmenu 102 103 menu "HAL Settings" 104 config LV_DISP_DEF_REFR_PERIOD 105 int "Default display refresh period (ms)." 106 default 30 107 help 108 Can be changed in the display driver (`lv_disp_drv_t`). 109 110 config LV_INDEV_DEF_READ_PERIOD 111 int "Input device read period [ms]." 112 default 30 113 114 config LV_TICK_CUSTOM 115 bool "Use a custom tick source" 116 117 config LV_TICK_CUSTOM_INCLUDE 118 string "Header for the system time function" 119 default "Arduino.h" 120 depends on LV_TICK_CUSTOM 121 122 config LV_DPI_DEF 123 int "Default Dots Per Inch (in px)." 124 default 130 125 help 126 Used to initialize default sizes such as widgets sized, style paddings. 127 (Not so important, you can adjust it to modify default sizes and spaces) 128 endmenu 129 130 menu "Feature configuration" 131 132 menu "Drawing" 133 config LV_DRAW_COMPLEX 134 bool "Enable complex draw engine" 135 default y 136 help 137 Required to draw shadow, gradient, rounded corners, circles, arc, skew lines, 138 image transformations or any masks. 139 140 config LV_SHADOW_CACHE_SIZE 141 int "Allow buffering some shadow calculation" 142 depends on LV_DRAW_COMPLEX 143 default 0 144 help 145 LV_SHADOW_CACHE_SIZE is the max shadow size to buffer, where 146 shadow size is `shadow_width + radius`. 147 Caching has LV_SHADOW_CACHE_SIZE^2 RAM cost. 148 149 config LV_CIRCLE_CACHE_SIZE 150 int "Set number of maximally cached circle data" 151 depends on LV_DRAW_COMPLEX 152 default 4 153 help 154 The circumference of 1/4 circle are saved for anti-aliasing 155 radius * 4 bytes are used per circle (the most often used 156 radiuses are saved). 157 Set to 0 to disable caching. 158 159 config LV_IMG_CACHE_DEF_SIZE 160 int "Default image cache size. 0 to disable caching." 161 default 0 162 help 163 If only the built-in image formats are used there is no real advantage of caching. 164 (I.e. no new image decoder is added). 165 166 With complex image decoders (e.g. PNG or JPG) caching can 167 save the continuous open/decode of images. 168 However the opened images might consume additional RAM. 169 170 config LV_GRADIENT_MAX_STOPS 171 int "Number of stops allowed per gradient." 172 default 2 173 help 174 Increase this to allow more stops. 175 This adds (sizeof(lv_color_t) + 1) bytes per additional stop 176 177 config LV_GRAD_CACHE_DEF_SIZE 178 int "Default gradient buffer size." 179 default 0 180 help 181 When LVGL calculates the gradient "maps" it can save them into a cache to avoid calculating them again. 182 LV_GRAD_CACHE_DEF_SIZE sets the size of this cache in bytes. 183 If the cache is too small the map will be allocated only while it's required for the drawing. 184 0 mean no caching. 185 186 config LV_DITHER_GRADIENT 187 bool "Allow dithering the gradients" 188 help 189 Allow dithering the gradients (to achieve visual smooth color gradients on limited color depth display) 190 LV_DITHER_GRADIENT implies allocating one or two more lines of the object's rendering surface 191 The increase in memory consumption is (32 bits * object width) plus 24 bits * object width if using error diffusion 192 193 config LV_DITHER_ERROR_DIFFUSION 194 bool "Add support for error diffusion dithering" 195 depends on LV_DITHER_GRADIENT 196 help 197 Error diffusion dithering gets a much better visual result, but implies more CPU consumption and memory when drawing. 198 The increase in memory consumption is (24 bits * object's width) 199 200 config LV_DISP_ROT_MAX_BUF 201 int "Maximum buffer size to allocate for rotation" 202 default 10240 203 help 204 Only used if software rotation is enabled in the display driver. 205 endmenu 206 207 menu "GPU" 208 config LV_USE_EXTERNAL_RENDERER 209 bool 210 211 config LV_USE_GPU_ARM2D 212 bool "Enable Arm's 2D image processing library (Arm-2D) for all Cortex-M processors." 213 config LV_USE_GPU_STM32_DMA2D 214 bool "Enable STM32 DMA2D (aka Chrom Art) GPU." 215 default n 216 help 217 Must deploy arm-2d library to your project and add include PATH for "arm_2d.h". 218 219 config LV_GPU_DMA2D_CMSIS_INCLUDE 220 string "include path of CMSIS header of target processor" 221 depends on LV_USE_GPU_STM32_DMA2D 222 default "" 223 help 224 Must be defined to include path of CMSIS header of target processor 225 e.g. "stm32f769xx.h" or "stm32f429xx.h" 226 227 config LV_USE_GPU_NXP_PXP 228 bool "Use NXP's PXP GPU iMX RTxxx platforms." 229 config LV_USE_GPU_NXP_PXP_AUTO_INIT 230 bool "Call lv_gpu_nxp_pxp_init() automatically or manually." 231 depends on LV_USE_GPU_NXP_PXP 232 help 233 1: Add default bare metal and FreeRTOS interrupt handling 234 routines for PXP (lv_gpu_nxp_pxp_osa.c) and call 235 lv_gpu_nxp_pxp_init() automatically during lv_init(). 236 Note that symbol SDK_OS_FREE_RTOS has to be defined in order 237 to use FreeRTOS OSA, otherwise bare-metal implementation is 238 selected. 239 0: lv_gpu_nxp_pxp_init() has to be called manually before 240 lv_init(). 241 242 config LV_USE_GPU_NXP_VG_LITE 243 bool "Use NXP's VG-Lite GPU iMX RTxxx platforms." 244 245 config LV_USE_GPU_SDL 246 bool "Use SDL renderer API" 247 select LV_USE_EXTERNAL_RENDERER 248 default n 249 config LV_GPU_SDL_INCLUDE_PATH 250 string "include path of SDL header" 251 depends on LV_USE_GPU_SDL 252 default "SDL2/SDL.h" 253 endmenu 254 255 menu "Logging" 256 config LV_USE_LOG 257 bool "Enable the log module" 258 259 choice 260 bool "Default log verbosity" if LV_USE_LOG 261 default LV_LOG_LEVEL_WARN 262 help 263 Specify how important log should be added. 264 265 config LV_LOG_LEVEL_TRACE 266 bool "A lot of logs to give detailed information" 267 config LV_LOG_LEVEL_INFO 268 bool "Log important events" 269 config LV_LOG_LEVEL_WARN 270 bool "Log if something unwanted happened but didn't cause a problem" 271 config LV_LOG_LEVEL_ERROR 272 bool "Only critical issues, when the system may fail" 273 config LV_LOG_LEVEL_USER 274 bool "Only logs added by the user" 275 config LV_LOG_LEVEL_NONE 276 bool "Do not log anything" 277 endchoice 278 279 config LV_LOG_LEVEL 280 int 281 default 0 if LV_LOG_LEVEL_TRACE 282 default 1 if LV_LOG_LEVEL_INFO 283 default 2 if LV_LOG_LEVEL_WARN 284 default 3 if LV_LOG_LEVEL_ERROR 285 default 4 if LV_LOG_LEVEL_USER 286 default 5 if LV_LOG_LEVEL_NONE 287 288 config LV_LOG_PRINTF 289 bool "Print the log with 'printf'" if LV_USE_LOG 290 help 291 Use printf for log output. 292 If not set the user needs to register a callback with `lv_log_register_print_cb`. 293 294 config LV_LOG_TRACE_MEM 295 bool "Enable/Disable LV_LOG_TRACE in mem module" 296 default y 297 depends on LV_USE_LOG 298 299 config LV_LOG_TRACE_TIMER 300 bool "Enable/Disable LV_LOG_TRACE in timer module" 301 default y 302 depends on LV_USE_LOG 303 304 config LV_LOG_TRACE_INDEV 305 bool "Enable/Disable LV_LOG_TRACE in indev module" 306 default y 307 depends on LV_USE_LOG 308 309 config LV_LOG_TRACE_DISP_REFR 310 bool "Enable/Disable LV_LOG_TRACE in disp refr module" 311 default y 312 depends on LV_USE_LOG 313 314 config LV_LOG_TRACE_EVENT 315 bool "Enable/Disable LV_LOG_TRACE in event module" 316 default y 317 depends on LV_USE_LOG 318 319 config LV_LOG_TRACE_OBJ_CREATE 320 bool "Enable/Disable LV_LOG_TRACE in obj create module" 321 default y 322 depends on LV_USE_LOG 323 324 config LV_LOG_TRACE_LAYOUT 325 bool "Enable/Disable LV_LOG_TRACE in layout module" 326 default y 327 depends on LV_USE_LOG 328 329 config LV_LOG_TRACE_ANIM 330 bool "Enable/Disable LV_LOG_TRACE in anim module" 331 default y 332 depends on LV_USE_LOG 333 endmenu 334 335 menu "Asserts" 336 config LV_USE_ASSERT_NULL 337 bool "Check if the parameter is NULL. (Very fast, recommended)" 338 default y if !LV_CONF_MINIMAL 339 340 config LV_USE_ASSERT_MALLOC 341 bool "Checks if the memory is successfully allocated or no. (Very fast, recommended)" 342 default y if !LV_CONF_MINIMAL 343 344 config LV_USE_ASSERT_STYLE 345 bool "Check if the styles are properly initialized. (Very fast, recommended)" 346 347 config LV_USE_ASSERT_MEM_INTEGRITY 348 bool "Check the integrity of `lv_mem` after critical operations. (Slow)" 349 350 config LV_USE_ASSERT_OBJ 351 bool "Check NULL, the object's type and existence (e.g. not deleted). (Slow)." 352 353 config LV_ASSERT_HANDLER_INCLUDE 354 string "Header to include for the custom assert function" 355 default "assert.h" 356 endmenu 357 358 menu "Others" 359 config LV_USE_PERF_MONITOR 360 bool "Show CPU usage and FPS count." 361 362 choice 363 prompt "Performance monitor position." 364 depends on LV_USE_PERF_MONITOR 365 default LV_PERF_MONITOR_ALIGN_BOTTOM_RIGHT 366 367 config LV_PERF_MONITOR_ALIGN_TOP_LEFT 368 bool "Top left" 369 config LV_PERF_MONITOR_ALIGN_TOP_MID 370 bool "Top middle" 371 config LV_PERF_MONITOR_ALIGN_TOP_RIGHT 372 bool "Top right" 373 config LV_PERF_MONITOR_ALIGN_BOTTOM_LEFT 374 bool "Bottom left" 375 config LV_PERF_MONITOR_ALIGN_BOTTOM_MID 376 bool "Bottom middle" 377 config LV_PERF_MONITOR_ALIGN_BOTTOM_RIGHT 378 bool "Bottom right" 379 config LV_PERF_MONITOR_ALIGN_LEFT_MID 380 bool "Left middle" 381 config LV_PERF_MONITOR_ALIGN_RIGHT_MID 382 bool "Right middle" 383 config LV_PERF_MONITOR_ALIGN_BOTTOM_CENTER 384 bool "Center" 385 endchoice 386 387 config LV_USE_MEM_MONITOR 388 bool "Show the used memory and the memory fragmentation." 389 depends on !LV_MEM_CUSTOM 390 391 choice 392 prompt "Memory monitor position." 393 depends on LV_USE_MEM_MONITOR 394 default LV_MEM_MONITOR_ALIGN_BOTTOM_LEFT 395 396 config LV_MEM_MONITOR_ALIGN_TOP_LEFT 397 bool "Top left" 398 config LV_MEM_MONITOR_ALIGN_TOP_MID 399 bool "Top middle" 400 config LV_MEM_MONITOR_ALIGN_TOP_RIGHT 401 bool "Top right" 402 config LV_MEM_MONITOR_ALIGN_BOTTOM_LEFT 403 bool "Bottom left" 404 config LV_MEM_MONITOR_ALIGN_BOTTOM_MID 405 bool "Bottom middle" 406 config LV_MEM_MONITOR_ALIGN_BOTTOM_RIGHT 407 bool "Bottom right" 408 config LV_MEM_MONITOR_ALIGN_LEFT_MID 409 bool "Left middle" 410 config LV_MEM_MONITOR_ALIGN_RIGHT_MID 411 bool "Right middle" 412 config LV_MEM_MONITOR_ALIGN_BOTTOM_CENTER 413 bool "Center" 414 endchoice 415 416 config LV_USE_REFR_DEBUG 417 bool "Draw random colored rectangles over the redrawn areas." 418 419 config LV_SPRINTF_CUSTOM 420 bool "Change the built-in (v)snprintf functions" 421 422 config LV_SPRINTF_INCLUDE 423 string "Header to include for the custom sprintf function" 424 depends on LV_SPRINTF_CUSTOM 425 default "stdio.h" 426 427 config LV_SPRINTF_USE_FLOAT 428 bool "Enable float in built-in (v)snprintf functions" 429 depends on !LV_SPRINTF_CUSTOM 430 431 config LV_USE_USER_DATA 432 bool "Add a 'user_data' to drivers and objects." 433 default y 434 435 config LV_ENABLE_GC 436 bool "Enable garbage collector" 437 438 config LV_GC_INCLUDE 439 string "Header to include for the garbage collector related things" 440 depends on LV_ENABLE_GC 441 default "gc.h" 442 endmenu 443 444 menu "Compiler settings" 445 config LV_BIG_ENDIAN_SYSTEM 446 bool "For big endian systems set to 1" 447 448 config LV_ATTRIBUTE_MEM_ALIGN_SIZE 449 int "Required alignment size for buffers" 450 default 1 451 452 config LV_ATTRIBUTE_FAST_MEM_USE_IRAM 453 bool "Set IRAM as LV_ATTRIBUTE_FAST_MEM" 454 help 455 Set this option to configure IRAM as LV_ATTRIBUTE_FAST_MEM 456 457 config LV_USE_LARGE_COORD 458 bool "Extend the default -32k..32k coordinate range to -4M..4M by using int32_t for coordinates instead of int16_t" 459 endmenu 460 endmenu 461 462 menu "Font usage" 463 menu "Enable built-in fonts" 464 config LV_FONT_MONTSERRAT_8 465 bool "Enable Montserrat 8" 466 config LV_FONT_MONTSERRAT_10 467 bool "Enable Montserrat 10" 468 config LV_FONT_MONTSERRAT_12 469 bool "Enable Montserrat 12" 470 config LV_FONT_MONTSERRAT_14 471 bool "Enable Montserrat 14" 472 default y if !LV_CONF_MINIMAL 473 config LV_FONT_MONTSERRAT_16 474 bool "Enable Montserrat 16" 475 config LV_FONT_MONTSERRAT_18 476 bool "Enable Montserrat 18" 477 config LV_FONT_MONTSERRAT_20 478 bool "Enable Montserrat 20" 479 config LV_FONT_MONTSERRAT_22 480 bool "Enable Montserrat 22" 481 config LV_FONT_MONTSERRAT_24 482 bool "Enable Montserrat 24" 483 config LV_FONT_MONTSERRAT_26 484 bool "Enable Montserrat 26" 485 config LV_FONT_MONTSERRAT_28 486 bool "Enable Montserrat 28" 487 config LV_FONT_MONTSERRAT_30 488 bool "Enable Montserrat 30" 489 config LV_FONT_MONTSERRAT_32 490 bool "Enable Montserrat 32" 491 config LV_FONT_MONTSERRAT_34 492 bool "Enable Montserrat 34" 493 config LV_FONT_MONTSERRAT_36 494 bool "Enable Montserrat 36" 495 config LV_FONT_MONTSERRAT_38 496 bool "Enable Montserrat 38" 497 config LV_FONT_MONTSERRAT_40 498 bool "Enable Montserrat 40" 499 config LV_FONT_MONTSERRAT_42 500 bool "Enable Montserrat 42" 501 config LV_FONT_MONTSERRAT_44 502 bool "Enable Montserrat 44" 503 config LV_FONT_MONTSERRAT_46 504 bool "Enable Montserrat 46" 505 config LV_FONT_MONTSERRAT_48 506 bool "Enable Montserrat 48" 507 508 config LV_FONT_MONTSERRAT_12_SUBPX 509 bool "Enable Montserrat 12 sub-pixel" 510 config LV_FONT_MONTSERRAT_28_COMPRESSED 511 bool "Enable Montserrat 28 compressed" 512 config LV_FONT_DEJAVU_16_PERSIAN_HEBREW 513 bool "Enable Dejavu 16 Persian, Hebrew, Arabic letters" 514 config LV_FONT_SIMSUN_16_CJK 515 bool "Enable Simsun 16 CJK" 516 517 config LV_FONT_UNSCII_8 518 bool "Enable UNSCII 8 (Perfect monospace font)" 519 default y if LV_CONF_MINIMAL 520 config LV_FONT_UNSCII_16 521 bool "Enable UNSCII 16 (Perfect monospace font)" 522 523 config LV_FONT_CUSTOM 524 bool "Enable the custom font" 525 config LV_FONT_CUSTOM_DECLARE 526 string "Header to include for the custom font" 527 depends on LV_FONT_CUSTOM 528 endmenu 529 530 choice LV_FONT_DEFAULT 531 prompt "Select theme default title font" 532 default LV_FONT_DEFAULT_MONTSERRAT_14 if !LV_CONF_MINIMAL 533 default LV_FONT_DEFAULT_UNSCII_8 if LV_CONF_MINIMAL 534 help 535 Select theme default title font 536 537 config LV_FONT_DEFAULT_MONTSERRAT_8 538 bool "Montserrat 8" 539 select LV_FONT_MONTSERRAT_8 540 config LV_FONT_DEFAULT_MONTSERRAT_12 541 bool "Montserrat 12" 542 select LV_FONT_MONTSERRAT_12 543 config LV_FONT_DEFAULT_MONTSERRAT_14 544 bool "Montserrat 14" 545 select LV_FONT_MONTSERRAT_14 546 config LV_FONT_DEFAULT_MONTSERRAT_16 547 bool "Montserrat 16" 548 select LV_FONT_MONTSERRAT_16 549 config LV_FONT_DEFAULT_MONTSERRAT_18 550 bool "Montserrat 18" 551 select LV_FONT_MONTSERRAT_18 552 config LV_FONT_DEFAULT_MONTSERRAT_20 553 bool "Montserrat 20" 554 select LV_FONT_MONTSERRAT_20 555 config LV_FONT_DEFAULT_MONTSERRAT_22 556 bool "Montserrat 22" 557 select LV_FONT_MONTSERRAT_22 558 config LV_FONT_DEFAULT_MONTSERRAT_24 559 bool "Montserrat 24" 560 select LV_FONT_MONTSERRAT_24 561 config LV_FONT_DEFAULT_MONTSERRAT_26 562 bool "Montserrat 26" 563 select LV_FONT_MONTSERRAT_26 564 config LV_FONT_DEFAULT_MONTSERRAT_28 565 bool "Montserrat 28" 566 select LV_FONT_MONTSERRAT_28 567 config LV_FONT_DEFAULT_MONTSERRAT_30 568 bool "Montserrat 30" 569 select LV_FONT_MONTSERRAT_30 570 config LV_FONT_DEFAULT_MONTSERRAT_32 571 bool "Montserrat 32" 572 select LV_FONT_MONTSERRAT_32 573 config LV_FONT_DEFAULT_MONTSERRAT_34 574 bool "Montserrat 34" 575 select LV_FONT_MONTSERRAT_34 576 config LV_FONT_DEFAULT_MONTSERRAT_36 577 bool "Montserrat 36" 578 select LV_FONT_MONTSERRAT_36 579 config LV_FONT_DEFAULT_MONTSERRAT_38 580 bool "Montserrat 38" 581 select LV_FONT_MONTSERRAT_38 582 config LV_FONT_DEFAULT_MONTSERRAT_40 583 bool "Montserrat 40" 584 select LV_FONT_MONTSERRAT_40 585 config LV_FONT_DEFAULT_MONTSERRAT_42 586 bool "Montserrat 42" 587 select LV_FONT_MONTSERRAT_42 588 config LV_FONT_DEFAULT_MONTSERRAT_44 589 bool "Montserrat 44" 590 select LV_FONT_MONTSERRAT_44 591 config LV_FONT_DEFAULT_MONTSERRAT_46 592 bool "Montserrat 46" 593 select LV_FONT_MONTSERRAT_46 594 config LV_FONT_DEFAULT_MONTSERRAT_48 595 bool "Montserrat 48" 596 select LV_FONT_MONTSERRAT_48 597 config LV_FONT_DEFAULT_MONTSERRAT_12_SUBPX 598 bool "Montserrat 12 sub-pixel" 599 select LV_FONT_MONTSERRAT_12_SUBPX 600 config LV_FONT_DEFAULT_MONTSERRAT_28_COMPRESSED 601 bool "Montserrat 28 compressed" 602 select LV_FONT_MONTSERRAT_28_COMPRESSED 603 config LV_FONT_DEFAULT_DEJAVU_16_PERSIAN_HEBREW 604 bool "Dejavu 16 Persian, Hebrew, Arabic letters" 605 select LV_FONT_DEJAVU_16_PERSIAN_HEBREW 606 config LV_FONT_DEFAULT_SIMSUN_16_CJK 607 bool "Simsun 16 CJK" 608 select LV_FONT_SIMSUN_16_CJK 609 config LV_FONT_DEFAULT_UNSCII_8 610 bool "UNSCII 8 (Perfect monospace font)" 611 select LV_FONT_UNSCII_8 612 config LV_FONT_DEFAULT_UNSCII_16 613 bool "UNSCII 16 (Perfect monospace font)" 614 select LV_FONT_UNSCII_16 615 endchoice 616 617 config LV_FONT_FMT_TXT_LARGE 618 bool "Enable it if you have fonts with a lot of characters." 619 help 620 The limit depends on the font size, font face and bpp 621 but with > 10,000 characters if you see issues probably you 622 need to enable it. 623 624 config LV_USE_FONT_COMPRESSED 625 bool "Sets support for compressed fonts." 626 627 config LV_USE_FONT_SUBPX 628 bool "Enable subpixel rendering." 629 630 config LV_FONT_SUBPX_BGR 631 bool "Use BGR instead RGB for sub-pixel rendering." 632 depends on LV_USE_FONT_SUBPX 633 help 634 Set the pixel order of the display. 635 Important only if "subpx fonts" are used. 636 With "normal" font it doesn't matter. 637 endmenu 638 639 menu "Text Settings" 640 choice LV_TXT_ENC 641 prompt "Select a character encoding for strings" 642 help 643 Select a character encoding for strings. Your IDE or editor should have the same character encoding. 644 default LV_TXT_ENC_UTF8 if !LV_CONF_MINIMAL 645 default LV_TXT_ENC_ASCII if LV_CONF_MINIMAL 646 647 config LV_TXT_ENC_UTF8 648 bool "UTF8" 649 config LV_TXT_ENC_ASCII 650 bool "ASCII" 651 endchoice 652 653 config LV_TXT_BREAK_CHARS 654 string "Can break (wrap) texts on these chars" 655 default " ,.;:-_" 656 657 config LV_TXT_LINE_BREAK_LONG_LEN 658 int "Line break long length" 659 default 0 660 help 661 If a word is at least this long, will break wherever 'prettiest'. 662 To disable, set to a value <= 0. 663 664 config LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 665 int "Min num chars before break" 666 default 3 667 depends on LV_TXT_LINE_BREAK_LONG_LEN > 0 668 help 669 Minimum number of characters in a long word to put on a line before a break. 670 671 config LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 672 int "Min num chars after break" 673 default 3 674 depends on LV_TXT_LINE_BREAK_LONG_LEN > 0 675 help 676 Minimum number of characters in a long word to put on a line after a break. 677 678 config LV_TXT_COLOR_CMD 679 string "The control character to use for signalling text recoloring" 680 default "#" 681 682 config LV_USE_BIDI 683 bool "Support bidirectional texts" 684 help 685 Allows mixing Left-to-Right and Right-to-Left texts. 686 The direction will be processed according to the Unicode Bidirectional Algorithm: 687 https://www.w3.org/International/articles/inline-bidi-markup/uba-basics 688 689 choice 690 prompt "Set the default BIDI direction" 691 default LV_BIDI_DIR_AUTO 692 depends on LV_USE_BIDI 693 694 config LV_BIDI_DIR_LTR 695 bool "Left-to-Right" 696 config LV_BIDI_DIR_RTL 697 bool "Right-to-Left" 698 config LV_BIDI_DIR_AUTO 699 bool "Detect texts base direction" 700 endchoice 701 702 config LV_USE_ARABIC_PERSIAN_CHARS 703 bool "Enable Arabic/Persian processing" 704 help 705 In these languages characters should be replaced with 706 an other form based on their position in the text. 707 endmenu 708 709 menu "Widget usage" 710 config LV_USE_ARC 711 bool "Arc." 712 default y if !LV_CONF_MINIMAL 713 config LV_USE_BAR 714 bool "Bar." 715 default y if !LV_CONF_MINIMAL 716 config LV_USE_BTN 717 bool "Button." 718 default y if !LV_CONF_MINIMAL 719 config LV_USE_BTNMATRIX 720 bool "Button matrix." 721 default y if !LV_CONF_MINIMAL 722 config LV_USE_CANVAS 723 bool "Canvas. Dependencies: lv_img." 724 select LV_USE_IMG 725 default y if !LV_CONF_MINIMAL 726 config LV_USE_CHECKBOX 727 bool "Check Box" 728 default y if !LV_CONF_MINIMAL 729 config LV_USE_DROPDOWN 730 bool "Drop down list. Requires: lv_label." 731 select LV_USE_LABEL 732 default y if !LV_CONF_MINIMAL 733 config LV_USE_IMG 734 bool "Image. Requires: lv_label." 735 select LV_USE_LABEL 736 default y if !LV_CONF_MINIMAL 737 config LV_USE_LABEL 738 bool "Label." 739 default y if !LV_CONF_MINIMAL 740 config LV_LABEL_TEXT_SELECTION 741 bool "Enable selecting text of the label." 742 depends on LV_USE_LABEL 743 default y 744 config LV_LABEL_LONG_TXT_HINT 745 bool "Store extra some info in labels (12 bytes) to speed up drawing of very long texts." 746 depends on LV_USE_LABEL 747 default y 748 config LV_USE_LINE 749 bool "Line." 750 default y if !LV_CONF_MINIMAL 751 config LV_USE_ROLLER 752 bool "Roller. Requires: lv_label." 753 select LV_USE_LABEL 754 default y if !LV_CONF_MINIMAL 755 config LV_ROLLER_INF_PAGES 756 int "Number of extra 'pages' when the controller is infinite." 757 default 7 758 depends on LV_USE_ROLLER 759 config LV_USE_SLIDER 760 bool "Slider. Requires: lv_bar." 761 select LV_USE_BAR 762 default y if !LV_CONF_MINIMAL 763 config LV_USE_SWITCH 764 bool "Switch." 765 default y if !LV_CONF_MINIMAL 766 config LV_USE_TEXTAREA 767 bool "Text area. Requires: lv_label." 768 select LV_USE_LABEL 769 default y if !LV_CONF_MINIMAL 770 config LV_TEXTAREA_DEF_PWD_SHOW_TIME 771 int "Text area def. pwd show time [ms]." 772 default 1500 773 depends on LV_USE_TEXTAREA 774 config LV_USE_TABLE 775 bool "Table." 776 default y if !LV_CONF_MINIMAL 777 endmenu 778 779 menu "Extra Widgets" 780 config LV_USE_ANIMIMG 781 bool "Anim image." 782 default y if !LV_CONF_MINIMAL 783 config LV_USE_CALENDAR 784 bool "Calendar." 785 default y if !LV_CONF_MINIMAL 786 config LV_CALENDAR_WEEK_STARTS_MONDAY 787 bool "Calendar week starts monday." 788 depends on LV_USE_CALENDAR 789 config LV_USE_CALENDAR_HEADER_ARROW 790 bool "Use calendar header arrow" 791 depends on LV_USE_CALENDAR 792 default y 793 config LV_USE_CALENDAR_HEADER_DROPDOWN 794 bool "Use calendar header dropdown" 795 depends on LV_USE_CALENDAR 796 default y 797 config LV_USE_CHART 798 bool "Chart." 799 default y if !LV_CONF_MINIMAL 800 config LV_USE_COLORWHEEL 801 bool "Colorwheel." 802 default y if !LV_CONF_MINIMAL 803 config LV_USE_IMGBTN 804 bool "Imgbtn." 805 default y if !LV_CONF_MINIMAL 806 config LV_USE_KEYBOARD 807 bool "Keyboard." 808 default y if !LV_CONF_MINIMAL 809 config LV_USE_LED 810 bool "LED." 811 default y if !LV_CONF_MINIMAL 812 config LV_USE_LIST 813 bool "List." 814 default y if !LV_CONF_MINIMAL 815 config LV_USE_MENU 816 bool "Menu." 817 default y if !LV_CONF_MINIMAL 818 config LV_USE_METER 819 bool "Meter." 820 default y if !LV_CONF_MINIMAL 821 config LV_USE_MSGBOX 822 bool "Msgbox." 823 default y if !LV_CONF_MINIMAL 824 config LV_USE_SPINBOX 825 bool "Spinbox." 826 default y if !LV_CONF_MINIMAL 827 config LV_USE_SPINNER 828 bool "Spinner." 829 default y if !LV_CONF_MINIMAL 830 config LV_USE_TABVIEW 831 bool "Tabview." 832 default y if !LV_CONF_MINIMAL 833 config LV_USE_TILEVIEW 834 bool "Tileview" 835 default y if !LV_CONF_MINIMAL 836 config LV_USE_WIN 837 bool "Win" 838 default y if !LV_CONF_MINIMAL 839 config LV_USE_SPAN 840 bool "span" 841 default y if !LV_CONF_MINIMAL 842 config LV_SPAN_SNIPPET_STACK_SIZE 843 int "Maximum number of span descriptor" 844 default 64 845 depends on LV_USE_SPAN 846 endmenu 847 848 menu "Themes" 849 config LV_USE_THEME_DEFAULT 850 bool "A simple, impressive and very complete theme" 851 default y if !LV_COLOR_DEPTH_1 && !LV_CONF_MINIMAL 852 config LV_THEME_DEFAULT_DARK 853 bool "Yes to set dark mode, No to set light mode" 854 depends on LV_USE_THEME_DEFAULT 855 config LV_THEME_DEFAULT_GROW 856 bool "Enable grow on press" 857 default y 858 depends on LV_USE_THEME_DEFAULT 859 config LV_THEME_DEFAULT_TRANSITION_TIME 860 int "Default transition time in [ms]" 861 default 80 862 depends on LV_USE_THEME_DEFAULT 863 config LV_USE_THEME_BASIC 864 bool "A very simple theme that is a good starting point for a custom theme" 865 default y if !LV_COLOR_DEPTH_1 && !LV_CONF_MINIMAL 866 config LV_USE_THEME_MONO 867 bool "Monochrome theme, suitable for some E-paper & dot matrix displays" 868 default y if LV_COLOR_DEPTH_1 && !LV_CONF_MINIMAL 869 endmenu 870 871 menu "Layouts" 872 config LV_USE_FLEX 873 bool "A layout similar to Flexbox in CSS." 874 default y if !LV_CONF_MINIMAL 875 config LV_USE_GRID 876 bool "A layout similar to Grid in CSS." 877 default y if !LV_CONF_MINIMAL 878 endmenu 879 880 menu "3rd Party Libraries" 881 config LV_USE_FS_STDIO 882 bool "File system on top of stdio API" 883 config LV_FS_STDIO_LETTER 884 string "Set an upper cased letter on which the drive will accessible (e.g. 'A' i.e. 65 )" 885 depends on LV_USE_FS_STDIO 886 config LV_FS_STDIO_PATH 887 string "Set the working directory" 888 depends on LV_USE_FS_STDIO 889 config LV_FS_STDIO_CACHE_SIZE 890 string ">0 to cache this number of bytes in lv_fs_read()" 891 depends on LV_USE_FS_STDIO 892 893 config LV_USE_FS_POSIX 894 bool "File system on top of posix API" 895 config LV_FS_POSIX_LETTER 896 int "Set an upper cased letter on which the drive will accessible (e.g. 'A' i.e. 65)" 897 default 0 898 depends on LV_USE_FS_POSIX 899 config LV_FS_POSIX_PATH 900 string "Set the working directory" 901 depends on LV_USE_FS_POSIX 902 config LV_FS_POSIX_CACHE_SIZE 903 int ">0 to cache this number of bytes in lv_fs_read()" 904 default 0 905 depends on LV_USE_FS_POSIX 906 907 config LV_USE_FS_WIN32 908 bool "File system on top of Win32 API" 909 config LV_FS_WIN32_LETTER 910 int "Set an upper cased letter on which the drive will accessible (e.g. 'A' i.e. 65)" 911 default 0 912 depends on LV_USE_FS_WIN32 913 config LV_FS_WIN32_PATH 914 string "Set the working directory" 915 depends on LV_USE_FS_WIN32 916 config LV_FS_WIN32_CACHE_SIZE 917 int ">0 to cache this number of bytes in lv_fs_read()" 918 default 0 919 depends on LV_USE_FS_WIN32 920 921 config LV_USE_FS_FATFS 922 bool "File system on top of FatFS" 923 config LV_FS_FATFS_LETTER 924 int "Set an upper cased letter on which the drive will accessible (e.g. 'A' i.e. 65)" 925 default 0 926 depends on LV_USE_FS_FATFS 927 config LV_FS_FATFS_CACHE_SIZE 928 int ">0 to cache this number of bytes in lv_fs_read()" 929 default 0 930 depends on LV_USE_FS_FATFS 931 932 config LV_USE_PNG 933 bool "PNG decoder library" 934 935 config LV_USE_BMP 936 bool "BMP decoder library" 937 938 config LV_USE_SJPG 939 bool "JPG + split JPG decoder library" 940 941 config LV_USE_GIF 942 bool "GIF decoder library" 943 944 config LV_USE_QRCODE 945 bool "QR code library" 946 947 config LV_USE_FREETYPE 948 bool "FreeType library" 949 if LV_USE_FREETYPE 950 menu "FreeType cache config" 951 config LV_FREETYPE_CACHE_SIZE 952 int "Memory used by FreeType to cache characters [bytes] (-1: no caching)" 953 default 16384 954 if LV_FREETYPE_CACHE_SIZE >= 0 955 config LV_FREETYPE_SBIT_CACHE 956 bool "enable sbit cache" 957 default n 958 config LV_FREETYPE_CACHE_FT_FACES 959 int "The maximum number of FT_Face(0: use defaults)" 960 default 0 961 config LV_FREETYPE_CACHE_FT_SIZES 962 int "The maximum number of FT_Size(0: use defaults)" 963 default 0 964 endif 965 endmenu 966 endif 967 968 config LV_USE_RLOTTIE 969 bool "Lottie library" 970 971 config LV_USE_FFMPEG 972 bool "FFmpeg library" 973 config LV_FFMPEG_DUMP_FORMAT 974 bool "Dump format" 975 depends on LV_USE_FFMPEG 976 default n 977 endmenu 978 979 menu "Others" 980 config LV_USE_SNAPSHOT 981 bool "Enable API to take snapshot" 982 default y if !LV_CONF_MINIMAL 983 984 config LV_USE_MONKEY 985 bool "Enable Monkey test" 986 default n 987 988 config LV_USE_GRIDNAV 989 bool "Enable grid navigation" 990 default n 991 992 config LV_USE_FRAGMENT 993 bool "Enable lv_obj fragment" 994 default n 995 996 config LV_USE_IMGFONT 997 bool "draw img in label or span obj" 998 default n 999 endmenu 1000 1001 menu "Examples" 1002 config LV_BUILD_EXAMPLES 1003 bool "Enable the examples to be built" 1004 default y if !LV_CONF_MINIMAL 1005 endmenu 1006 1007 menu "Demos" 1008 config LV_USE_DEMO_WIDGETS 1009 bool "Show some widget" 1010 default n 1011 config LV_DEMO_WIDGETS_SLIDESHOW 1012 bool "Enable slide show" 1013 depends on LV_USE_DEMO_WIDGETS 1014 default n 1015 1016 config LV_USE_DEMO_KEYPAD_AND_ENCODER 1017 bool "Demonstrate the usage of encoder and keyboard" 1018 default n 1019 1020 config LV_USE_DEMO_BENCHMARK 1021 bool "Benchmark your system" 1022 default n 1023 1024 config LV_USE_DEMO_STRESS 1025 bool "Stress test for LVGL" 1026 default n 1027 1028 config LV_USE_DEMO_MUSIC 1029 bool "Music player demo" 1030 default n 1031 config LV_DEMO_MUSIC_SQUARE 1032 bool "Enable Square" 1033 depends on LV_USE_DEMO_MUSIC 1034 default n 1035 config LV_DEMO_MUSIC_LANDSCAPE 1036 bool "Enable Landscape" 1037 depends on LV_USE_DEMO_MUSIC 1038 default n 1039 config LV_DEMO_MUSIC_ROUND 1040 bool "Enable Round" 1041 depends on LV_USE_DEMO_MUSIC 1042 default n 1043 config LV_DEMO_MUSIC_LARGE 1044 bool "Enable Large" 1045 depends on LV_USE_DEMO_MUSIC 1046 default n 1047 config LV_DEMO_MUSIC_AUTO_PLAY 1048 bool "Enable Auto play" 1049 depends on LV_USE_DEMO_MUSIC 1050 default n 1051 endmenu 1052 1053 endmenu