misc: use standard C library instead of builtin functions
This commit is contained in:
parent
2b6192fcf0
commit
b711b97632
4 changed files with 14 additions and 6 deletions
|
|
@ -5,6 +5,10 @@
|
|||
# 2. Add `#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(bbx_font_32)` (a bug in generate_lv_conf.py)
|
||||
|
||||
LV_COLOR_DEPTH 32
|
||||
LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB
|
||||
LV_USE_STDLIB_STRING LV_STDLIB_CLIB
|
||||
LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB
|
||||
|
||||
LV_USE_DRAW_SW 1
|
||||
LV_DRAW_SW_COMPLEX 1
|
||||
LV_DRAW_SW_SUPPORT_RGB565 0
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@
|
|||
* - LV_STDLIB_RTTHREAD: RT-Thread implementation
|
||||
* - LV_STDLIB_CUSTOM: Implement the functions externally
|
||||
*/
|
||||
#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB
|
||||
#define LV_USE_STDLIB_STRING LV_STDLIB_CLIB
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB
|
||||
|
||||
#define LV_STDINT_INCLUDE <stdint.h>
|
||||
#define LV_STDDEF_INCLUDE <stddef.h>
|
||||
|
|
|
|||
|
|
@ -6,6 +6,10 @@
|
|||
# 3. Add `#define LV_FONT_CUSTOM_DECLARE LV_FONT_DECLARE(bbx_font_32)` (a bug in generate_lv_conf.py)
|
||||
|
||||
LV_COLOR_DEPTH 32
|
||||
LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB
|
||||
LV_USE_STDLIB_STRING LV_STDLIB_CLIB
|
||||
LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB
|
||||
|
||||
LV_USE_DRAW_SW 1
|
||||
LV_DRAW_SW_COMPLEX 1
|
||||
LV_DRAW_SW_SUPPORT_RGB565 0
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@
|
|||
* - LV_STDLIB_RTTHREAD: RT-Thread implementation
|
||||
* - LV_STDLIB_CUSTOM: Implement the functions externally
|
||||
*/
|
||||
#define LV_USE_STDLIB_MALLOC LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_STRING LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_BUILTIN
|
||||
#define LV_USE_STDLIB_MALLOC LV_STDLIB_CLIB
|
||||
#define LV_USE_STDLIB_STRING LV_STDLIB_CLIB
|
||||
#define LV_USE_STDLIB_SPRINTF LV_STDLIB_CLIB
|
||||
|
||||
#define LV_STDINT_INCLUDE <stdint.h>
|
||||
#define LV_STDDEF_INCLUDE <stddef.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue