mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-11 13:37:17 +02:00
fix ESP32-S3
This commit is contained in:
parent
dc15aae48d
commit
9d8ef19290
5 changed files with 24 additions and 3 deletions
|
@ -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"):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue