align lv_conf.h with Eclipse sim version
This commit is contained in:
parent
9f4249692f
commit
4db8b0a3e9
74
lv_conf.h
74
lv_conf.h
@ -42,7 +42,7 @@
|
|||||||
#define LV_MEM_CUSTOM 0
|
#define LV_MEM_CUSTOM 0
|
||||||
#if LV_MEM_CUSTOM == 0
|
#if LV_MEM_CUSTOM == 0
|
||||||
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
|
/*Size of the memory available for `lv_mem_alloc()` in bytes (>= 2kB)*/
|
||||||
# define LV_MEM_SIZE (256U * 1024U) /*[bytes]*/
|
# define LV_MEM_SIZE (1024U * 1024U) /*[bytes]*/
|
||||||
|
|
||||||
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
|
/*Set an address for the memory pool instead of allocating it as a normal array. Can be in external SRAM too.*/
|
||||||
# define LV_MEM_ADR 0 /*0: unused*/
|
# define LV_MEM_ADR 0 /*0: unused*/
|
||||||
@ -151,7 +151,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
/*1: Print the log with 'printf';
|
/*1: Print the log with 'printf';
|
||||||
*0: User need to register a callback with `lv_log_register_print_cb()`*/
|
*0: User need to register a callback with `lv_log_register_print_cb()`*/
|
||||||
# define LV_LOG_PRINTF 0
|
# define LV_LOG_PRINTF 1
|
||||||
|
|
||||||
/*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/
|
/*Enable/disable LV_LOG_TRACE in modules that produces a huge number of logs*/
|
||||||
# define LV_LOG_TRACE_MEM 1
|
# define LV_LOG_TRACE_MEM 1
|
||||||
@ -173,9 +173,9 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
*If LV_USE_LOG is enabled an error message will be printed on failure*/
|
*If LV_USE_LOG is enabled an error message will be printed on failure*/
|
||||||
#define LV_USE_ASSERT_NULL 1 /*Check if the parameter is NULL. (Very fast, recommended)*/
|
#define LV_USE_ASSERT_NULL 1 /*Check if the parameter is NULL. (Very fast, recommended)*/
|
||||||
#define LV_USE_ASSERT_MALLOC 1 /*Checks is the memory is successfully allocated or no. (Very fast, recommended)*/
|
#define LV_USE_ASSERT_MALLOC 1 /*Checks is the memory is successfully allocated or no. (Very fast, recommended)*/
|
||||||
#define LV_USE_ASSERT_STYLE 0 /*Check if the styles are properly initialized. (Very fast, recommended)*/
|
#define LV_USE_ASSERT_STYLE 1 /*Check if the styles are properly initialized. (Very fast, recommended)*/
|
||||||
#define LV_USE_ASSERT_MEM_INTEGRITY 0 /*Check the integrity of `lv_mem` after critical operations. (Slow)*/
|
#define LV_USE_ASSERT_MEM_INTEGRITY 1 /*Check the integrity of `lv_mem` after critical operations. (Slow)*/
|
||||||
#define LV_USE_ASSERT_OBJ 0 /*Check the object's type and existence (e.g. not deleted). (Slow)*/
|
#define LV_USE_ASSERT_OBJ 1 /*Check the object's type and existence (e.g. not deleted). (Slow)*/
|
||||||
|
|
||||||
/*Add a custom handler when assert happens e.g. to restart the MCU*/
|
/*Add a custom handler when assert happens e.g. to restart the MCU*/
|
||||||
#define LV_ASSERT_HANDLER_INCLUDE <stdint.h>
|
#define LV_ASSERT_HANDLER_INCLUDE <stdint.h>
|
||||||
@ -186,11 +186,11 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
*-----------*/
|
*-----------*/
|
||||||
|
|
||||||
/*1: Show CPU usage and FPS count in the right bottom corner*/
|
/*1: Show CPU usage and FPS count in the right bottom corner*/
|
||||||
#define LV_USE_PERF_MONITOR 0
|
#define LV_USE_PERF_MONITOR 1
|
||||||
|
|
||||||
/*1: Show the used memory and the memory fragmentation in the left bottom corner
|
/*1: Show the used memory and the memory fragmentation in the left bottom corner
|
||||||
* Requires LV_MEM_CUSTOM = 0*/
|
* Requires LV_MEM_CUSTOM = 0*/
|
||||||
#define LV_USE_MEM_MONITOR 0
|
#define LV_USE_MEM_MONITOR 1
|
||||||
|
|
||||||
/*1: Draw random colored rectangles over the redrawn areas*/
|
/*1: Draw random colored rectangles over the redrawn areas*/
|
||||||
#define LV_USE_REFR_DEBUG 0
|
#define LV_USE_REFR_DEBUG 0
|
||||||
@ -262,37 +262,37 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
|
/*Montserrat fonts with ASCII range and some symbols using bpp = 4
|
||||||
*https://fonts.google.com/specimen/Montserrat*/
|
*https://fonts.google.com/specimen/Montserrat*/
|
||||||
#define LV_FONT_MONTSERRAT_8 0
|
#define LV_FONT_MONTSERRAT_8 1
|
||||||
#define LV_FONT_MONTSERRAT_10 0
|
#define LV_FONT_MONTSERRAT_10 1
|
||||||
#define LV_FONT_MONTSERRAT_12 1
|
#define LV_FONT_MONTSERRAT_12 1
|
||||||
#define LV_FONT_MONTSERRAT_14 1
|
#define LV_FONT_MONTSERRAT_14 1
|
||||||
#define LV_FONT_MONTSERRAT_16 1
|
#define LV_FONT_MONTSERRAT_16 1
|
||||||
#define LV_FONT_MONTSERRAT_18 0
|
#define LV_FONT_MONTSERRAT_18 1
|
||||||
#define LV_FONT_MONTSERRAT_20 0
|
#define LV_FONT_MONTSERRAT_20 1
|
||||||
#define LV_FONT_MONTSERRAT_22 0
|
#define LV_FONT_MONTSERRAT_22 1
|
||||||
#define LV_FONT_MONTSERRAT_24 0
|
#define LV_FONT_MONTSERRAT_24 1
|
||||||
#define LV_FONT_MONTSERRAT_26 0
|
#define LV_FONT_MONTSERRAT_26 1
|
||||||
#define LV_FONT_MONTSERRAT_28 0
|
#define LV_FONT_MONTSERRAT_28 1
|
||||||
#define LV_FONT_MONTSERRAT_30 0
|
#define LV_FONT_MONTSERRAT_30 1
|
||||||
#define LV_FONT_MONTSERRAT_32 0
|
#define LV_FONT_MONTSERRAT_32 1
|
||||||
#define LV_FONT_MONTSERRAT_34 0
|
#define LV_FONT_MONTSERRAT_34 1
|
||||||
#define LV_FONT_MONTSERRAT_36 0
|
#define LV_FONT_MONTSERRAT_36 1
|
||||||
#define LV_FONT_MONTSERRAT_38 0
|
#define LV_FONT_MONTSERRAT_38 1
|
||||||
#define LV_FONT_MONTSERRAT_40 0
|
#define LV_FONT_MONTSERRAT_40 1
|
||||||
#define LV_FONT_MONTSERRAT_42 0
|
#define LV_FONT_MONTSERRAT_42 1
|
||||||
#define LV_FONT_MONTSERRAT_44 0
|
#define LV_FONT_MONTSERRAT_44 1
|
||||||
#define LV_FONT_MONTSERRAT_46 0
|
#define LV_FONT_MONTSERRAT_46 1
|
||||||
#define LV_FONT_MONTSERRAT_48 0
|
#define LV_FONT_MONTSERRAT_48 1
|
||||||
|
|
||||||
/*Demonstrate special features*/
|
/*Demonstrate special features*/
|
||||||
#define LV_FONT_MONTSERRAT_12_SUBPX 0
|
#define LV_FONT_MONTSERRAT_12_SUBPX 1
|
||||||
#define LV_FONT_MONTSERRAT_28_COMPRESSED 0 /*bpp = 3*/
|
#define LV_FONT_MONTSERRAT_28_COMPRESSED 1 /*bpp = 3*/
|
||||||
#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 0 /*Hebrew, Arabic, Perisan letters and all their forms*/
|
#define LV_FONT_DEJAVU_16_PERSIAN_HEBREW 1 /*Hebrew, Arabic, Perisan letters and all their forms*/
|
||||||
#define LV_FONT_SIMSUN_16_CJK 0 /*1000 most common CJK radicals*/
|
#define LV_FONT_SIMSUN_16_CJK 1 /*1000 most common CJK radicals*/
|
||||||
|
|
||||||
/*Pixel perfect monospace fonts*/
|
/*Pixel perfect monospace fonts*/
|
||||||
#define LV_FONT_UNSCII_8 0
|
#define LV_FONT_UNSCII_8 1
|
||||||
#define LV_FONT_UNSCII_16 0
|
#define LV_FONT_UNSCII_16 1
|
||||||
|
|
||||||
/*Optionally declare custom fonts here.
|
/*Optionally declare custom fonts here.
|
||||||
*You can use these fonts as default font too and they will be available globally.
|
*You can use these fonts as default font too and they will be available globally.
|
||||||
@ -305,13 +305,13 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
/*Enable handling large font and/or fonts with a lot of characters.
|
/*Enable handling large font and/or fonts with a lot of characters.
|
||||||
*The limit depends on the font size, font face and bpp.
|
*The limit depends on the font size, font face and bpp.
|
||||||
*Compiler error will be triggered if a font needs it.*/
|
*Compiler error will be triggered if a font needs it.*/
|
||||||
#define LV_FONT_FMT_TXT_LARGE 0
|
#define LV_FONT_FMT_TXT_LARGE 1
|
||||||
|
|
||||||
/*Enables/disables support for compressed fonts.*/
|
/*Enables/disables support for compressed fonts.*/
|
||||||
#define LV_USE_FONT_COMPRESSED 0
|
#define LV_USE_FONT_COMPRESSED 1
|
||||||
|
|
||||||
/*Enable subpixel rendering*/
|
/*Enable subpixel rendering*/
|
||||||
#define LV_USE_FONT_SUBPX 0
|
#define LV_USE_FONT_SUBPX 1
|
||||||
#if LV_USE_FONT_SUBPX
|
#if LV_USE_FONT_SUBPX
|
||||||
/*Set the pixel order of the display. Physical order of RGB channels. Doesn't matter with "normal" fonts.*/
|
/*Set the pixel order of the display. Physical order of RGB channels. Doesn't matter with "normal" fonts.*/
|
||||||
#define LV_FONT_SUBPX_BGR 0 /*0: RGB; 1:BGR order*/
|
#define LV_FONT_SUBPX_BGR 0 /*0: RGB; 1:BGR order*/
|
||||||
@ -350,7 +350,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
|
/*Support bidirectional texts. Allows mixing Left-to-Right and Right-to-Left texts.
|
||||||
*The direction will be processed according to the Unicode Bidirectioanl Algorithm:
|
*The direction will be processed according to the Unicode Bidirectioanl Algorithm:
|
||||||
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
|
*https://www.w3.org/International/articles/inline-bidi-markup/uba-basics*/
|
||||||
#define LV_USE_BIDI 0
|
#define LV_USE_BIDI 1
|
||||||
#if LV_USE_BIDI
|
#if LV_USE_BIDI
|
||||||
/*Set the default direction. Supported values:
|
/*Set the default direction. Supported values:
|
||||||
*`LV_BASE_DIR_LTR` Left-to-Right
|
*`LV_BASE_DIR_LTR` Left-to-Right
|
||||||
@ -361,7 +361,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
/*Enable Arabic/Persian processing
|
/*Enable Arabic/Persian processing
|
||||||
*In these languages characters should be replaced with an other form based on their position in the text*/
|
*In these languages characters should be replaced with an other form based on their position in the text*/
|
||||||
#define LV_USE_ARABIC_PERSIAN_CHARS 0
|
#define LV_USE_ARABIC_PERSIAN_CHARS 1
|
||||||
|
|
||||||
/*==================
|
/*==================
|
||||||
* WIDGET USAGE
|
* WIDGET USAGE
|
||||||
@ -371,7 +371,7 @@ e.g. "stm32f769xx.h" or "stm32f429xx.h"*/
|
|||||||
|
|
||||||
#define LV_USE_ARC 1
|
#define LV_USE_ARC 1
|
||||||
|
|
||||||
#define LV_USE_ANIMIMG 1
|
#define LV_USE_ANIMIMG 1
|
||||||
|
|
||||||
#define LV_USE_BAR 1
|
#define LV_USE_BAR 1
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user