1
0
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:
Fabian Blatz 2024-07-26 09:53:43 +02:00 committed by GitHub
parent d19fb8fdc7
commit a2fb2808ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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)

View File

@ -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)