fix ESP32-S3

This commit is contained in:
lumapu 2024-04-22 22:00:09 +02:00
parent dc15aae48d
commit 9d8ef19290
5 changed files with 24 additions and 3 deletions

View file

@ -28,9 +28,10 @@ def applyPatch(libName, patchFile):
# list of patches to apply (relative to /src)
applyPatch("ESPAsyncWebServer-esphome", "../patches/AsyncWeb_Prometheus.patch")
if env['PIOENV'][:13] == "opendtufusion":
applyPatch("GxEPD2", "../patches/GxEPD2_SW_SPI.patch")
elif env['PIOENV'][:5] == "esp32":
#if env['PIOENV'][:13] == "opendtufusion":
#applyPatch("GxEPD2", "../patches/GxEPD2_SW_SPI.patch")
#el
if (env['PIOENV'][:5] == "esp32") or (env['PIOENV'][:13] == "opendtufusion"):
applyPatch("GxEPD2", "../patches/GxEPD2_HAL.patch")
if (env['PIOENV'][:13] == "opendtufusion") or (env['PIOENV'][:5] == "esp32"):