Explorar el Código

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 hace 1 mes
padre
commit
e34916f39b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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
 )