mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
See: https://github.com/letscontrolit/ESPEasy/pull/2005#issuecomment-436442587 Made by @uzi18
13 lines
291 B
Bash
Executable File
13 lines
291 B
Bash
Executable File
#!/bin/bash
|
|
|
|
PATCH=puya_v3.patch
|
|
|
|
for DIR in ~/.platformio/packages/framework-arduinoespressif8266*/; do
|
|
|
|
#not applied yet? (in upstream or otherwise)
|
|
if ! grep "0x146085 PUYA" $DIR/cores/esp8266/Esp.cpp >/dev/null; then
|
|
echo "Patching $DIR"
|
|
patch -p1 -d $DIR < $PATCH
|
|
fi
|
|
done
|