Problem with "PROJECT_DIR" variable

If the stringified value of the LV_CONF_PATH variable is just #included, then you can take al ot of complexity out of this variable’s value by simply first adding the path where your wanted include file is with -I (global include search path) and then only saying -DLV_CONF_PATH="lv_conf.h".

In fact, this simplifies further with this code path

If lv_conf.h is not in the library itself, you can simple say

build_flags =
  ; make LVGL code try to include "lv_conf.h"
  -DLV_CONF_INCLUDE_SIMPLE
  ; this folder has the lv_conf.h. Add it to the global include path
  -Isrc/