mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-27 20:57:01 +08:00
@@ -57,6 +57,11 @@ fout.write(
|
|||||||
#else
|
#else
|
||||||
#include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
|
#include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
||||||
|
/* #include will sometimes silently fail when __has_include is used */
|
||||||
|
/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 */
|
||||||
|
#pragma message("Possible failure to include lv_conf.h, please read the comment in this file if you get errors")
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_LV_COLOR_DEPTH
|
#ifdef CONFIG_LV_COLOR_DEPTH
|
||||||
|
|||||||
@@ -40,6 +40,11 @@
|
|||||||
#else
|
#else
|
||||||
#include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
|
#include "../../lv_conf.h" /*Else assume lv_conf.h is next to the lvgl folder*/
|
||||||
#endif
|
#endif
|
||||||
|
#if !defined(LV_CONF_H) && !defined(LV_CONF_SUPPRESS_DEFINE_CHECK)
|
||||||
|
/* #include will sometimes silently fail when __has_include is used */
|
||||||
|
/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80753 */
|
||||||
|
#pragma message("Possible failure to include lv_conf.h, please read the comment in this file if you get errors")
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_LV_COLOR_DEPTH
|
#ifdef CONFIG_LV_COLOR_DEPTH
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
#ifndef LV_TEST_CONF_H
|
#ifndef LV_TEST_CONF_H
|
||||||
#define LV_TEST_CONF_H
|
#define LV_TEST_CONF_H
|
||||||
|
|
||||||
|
#define LV_CONF_SUPPRESS_DEFINE_CHECK 1
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user