Browse Source

Fix Arduino.h not found when building vendored GxEPD2 sources

The vendored sources are registered as their own ESP-IDF component,
so the arduino_compat include path added via cg.add_build_flag (which
only reaches the main app component) never reached it.
ZiB 1 month ago
parent
commit
e34916f39b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      components/gxepd2/vendor/CMakeLists.txt

+ 1 - 0
components/gxepd2/vendor/CMakeLists.txt

@@ -14,5 +14,6 @@ endif()
 idf_component_register(
     SRCS ${GXEPD2_SOURCES}
     INCLUDE_DIRS "src"
+    PRIV_INCLUDE_DIRS "../arduino_compat"
     PRIV_REQUIRES driver
 )