started implementation of ethernet for opendtufusion board

This commit is contained in:
lumapu 2023-12-04 08:45:51 +01:00
parent cfef2ce63a
commit 7c62df071f
10 changed files with 556 additions and 50 deletions

View file

@ -26,7 +26,10 @@ def applyPatch(libName, patchFile):
# list of patches to apply (relative to /src)
applyPatch("ESP Async WebServer", "../patches/AsyncWeb_Prometheus.patch")
if env['PIOENV'][:22] != "opendtufusion-ethernet":
applyPatch("ESP Async WebServer", "../patches/AsyncWeb_Prometheus.patch")
if env['PIOENV'][:13] == "opendtufusion":
applyPatch("GxEPD2", "../patches/GxEPD2_SW_SPI.patch")
if env['PIOENV'][:22] == "opendtufusion-ethernet":
applyPatch("RF24", "../patches/RF24_Hal.patch")