update lv_conf_template.h

This commit is contained in:
Gabor Kiss-Vamosi
2019-06-27 08:20:25 +02:00
parent 9dcc47ec33
commit 4c85125a87
2 changed files with 9 additions and 16 deletions

View File

@@ -193,12 +193,6 @@ typedef void * lv_img_decoder_user_data_t;
* font's bitmaps */ * font's bitmaps */
#define LV_ATTRIBUTE_LARGE_CONST #define LV_ATTRIBUTE_LARGE_CONST
/* 1: Variable length array is supported*/
#define LV_COMPILER_VLA_SUPPORTED 1
/* 1: Initialization with non constant values are supported */
#define LV_COMPILER_NON_CONST_INIT_SUPPORTED 1
/*=================== /*===================
* HAL settings * HAL settings
*==================*/ *==================*/

View File

@@ -261,16 +261,6 @@
#define LV_ATTRIBUTE_LARGE_CONST #define LV_ATTRIBUTE_LARGE_CONST
#endif #endif
/* 1: Variable length array is supported*/
#ifndef LV_COMPILER_VLA_SUPPORTED
#define LV_COMPILER_VLA_SUPPORTED 1
#endif
/* 1: Initialization with non constant values are supported */
#ifndef LV_COMPILER_NON_CONST_INIT_SUPPORTED
#define LV_COMPILER_NON_CONST_INIT_SUPPORTED 1
#endif
/*=================== /*===================
* HAL settings * HAL settings
*==================*/ *==================*/
@@ -357,6 +347,9 @@
* More info about fonts: https://docs.littlevgl.com/#Fonts * More info about fonts: https://docs.littlevgl.com/#Fonts
* To create a new font go to: https://littlevgl.com/ttf-font-to-c-array * To create a new font go to: https://littlevgl.com/ttf-font-to-c-array
*/ */
/* Robot fonts with bpp = 4
* https://fonts.google.com/specimen/Roboto */
#ifndef LV_FONT_ROBOTO_12 #ifndef LV_FONT_ROBOTO_12
#define LV_FONT_ROBOTO_12 0 #define LV_FONT_ROBOTO_12 0
#endif #endif
@@ -370,6 +363,12 @@
#define LV_FONT_ROBOTO_28 0 #define LV_FONT_ROBOTO_28 0
#endif #endif
/*Pixel perfect monospace font
* http://pelulamu.net/unscii/ */
#ifndef LV_FONT_UNSCII_8
#define LV_FONT_UNSCII_8 0
#endif
/* Optionally declare your custom fonts here. /* Optionally declare your custom fonts here.
* You can use these fonts as default font too * You can use these fonts as default font too
* and they will be available globally. E.g. * and they will be available globally. E.g.