mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
fix(kconfig): Do not set LV_CONF_SKIP by default (#6562)
This commit is contained in:
parent
d19fb8fdc7
commit
a2fb2808ba
@ -90,7 +90,8 @@ will attempt to include ``lv_conf.h`` simply with
|
||||
|
||||
You can even use a different name for ``lv_conf.h``. The custom path can
|
||||
be set via the :c:macro:`LV_CONF_PATH` define. For example
|
||||
``-DLV_CONF_PATH="/home/joe/my_project/my_custom_conf.h"``
|
||||
``-DLV_CONF_PATH="/home/joe/my_project/my_custom_conf.h"``. If this define
|
||||
is set :c:macro:`LV_CONF_SKIP` is assumed to be ``0``.
|
||||
|
||||
If :c:macro:`LV_CONF_SKIP` is defined, LVGL will not try to include
|
||||
``lv_conf.h``. Instead you can pass the config defines using build
|
||||
|
@ -69,7 +69,7 @@ fout.write(
|
||||
#endif
|
||||
|
||||
/*If lv_conf.h is not skipped include it*/
|
||||
#ifndef LV_CONF_SKIP
|
||||
#if !defined(LV_CONF_SKIP) || defined(LV_CONF_PATH)
|
||||
#ifdef LV_CONF_PATH /*If there is a path defined for lv_conf.h use it*/
|
||||
#define __LV_TO_STR_AUX(x) #x
|
||||
#define __LV_TO_STR(x) __LV_TO_STR_AUX(x)
|
||||
|
@ -47,7 +47,7 @@
|
||||
#endif
|
||||
|
||||
/*If lv_conf.h is not skipped include it*/
|
||||
#ifndef LV_CONF_SKIP
|
||||
#if !defined(LV_CONF_SKIP) || defined(LV_CONF_PATH)
|
||||
#ifdef LV_CONF_PATH /*If there is a path defined for lv_conf.h use it*/
|
||||
#define __LV_TO_STR_AUX(x) #x
|
||||
#define __LV_TO_STR(x) __LV_TO_STR_AUX(x)
|
||||
|
Loading…
x
Reference in New Issue
Block a user