Support LV_CONF_INCLUDE_SIMPLE for backwards compatibility
#include <stdint.h>
-#ifdef LV_CONF_PATH
+#if defined(LV_CONF_PATH)
#define __LV_TO_STR_AUX(x) #x
#define __LV_TO_STR(x) __LV_TO_STR_AUX(x)
#include __LV_TO_STR(LV_CONF_PATH)
#undef __LV_TO_STR_AUX
#undef __LV_TO_STR
+#elif defined(LV_CONF_INCLUDE_SIMPLE)
+#include "lv_conf.h"
#else
#include "../../lv_conf.h"
#endif
