1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

lv_conf_template.h and lv_conf_checker.h update

This commit is contained in:
Gabor Kiss-Vamosi 2019-04-22 05:50:24 +02:00
parent b4a632116e
commit 4b43adaad1
2 changed files with 14 additions and 2 deletions

View File

@ -158,8 +158,9 @@ typedef void * lv_group_user_data_t;
#define LV_ATTRIBUTE_TASK_HANDLER #define LV_ATTRIBUTE_TASK_HANDLER
/* With size optimization (-Os) the compiler might not align data to /* With size optimization (-Os) the compiler might not align data to
* 4 or 8 byte boundary. This alignment will be explicitly applied where needed.*/ * 4 or 8 byte boundary. This alignment will be explicitly applied where needed.
#define LV_ATTRIBUTE_MEM_ALIGN __attribute__((aligned(4))) * E.g. __attribute__((aligned(4))) */
#define LV_ATTRIBUTE_MEM_ALIGN
/* 1: Variable length array is supported*/ /* 1: Variable length array is supported*/

View File

@ -225,6 +225,14 @@
#define LV_ATTRIBUTE_TASK_HANDLER #define LV_ATTRIBUTE_TASK_HANDLER
#endif #endif
/* With size optimization (-Os) the compiler might not align data to
* 4 or 8 byte boundary. This alignment will be explicitly applied where needed.
* E.g. __attribute__((aligned(4))) */
#ifndef LV_ATTRIBUTE_MEM_ALIGN
#define LV_ATTRIBUTE_MEM_ALIGN
#endif
/* 1: Variable length array is supported*/ /* 1: Variable length array is supported*/
#ifndef LV_COMPILER_VLA_SUPPORTED #ifndef LV_COMPILER_VLA_SUPPORTED
#define LV_COMPILER_VLA_SUPPORTED 1 #define LV_COMPILER_VLA_SUPPORTED 1
@ -545,6 +553,9 @@
#ifndef LV_LABEL_WAIT_CHAR_COUNT #ifndef LV_LABEL_WAIT_CHAR_COUNT
# define LV_LABEL_WAIT_CHAR_COUNT 3 /* Waiting period at beginning/end of animation cycle */ # define LV_LABEL_WAIT_CHAR_COUNT 3 /* Waiting period at beginning/end of animation cycle */
#endif #endif
#ifndef LV_LABEL_TEXT_SEL
# define LV_LABEL_TEXT_SEL 1 /*Enable selecting text of the label */
#endif
#endif #endif
/*LED (dependencies: -)*/ /*LED (dependencies: -)*/