Skip to content

Commit

Permalink
Merge pull request forkineye#768 from MartinMueller2003/main
Browse files Browse the repository at this point in the history
New SD card and FTP support
  • Loading branch information
forkineye committed Jul 2, 2024
2 parents 3aed714 + 5df67bc commit 4a173ce
Show file tree
Hide file tree
Showing 31 changed files with 1,286 additions and 482 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,18 @@ jobs:
chip: "esp32"
- target: "esp32_quinled_uno_espsv3"
chip: "esp32"
#
#
- target: "esp32_tetra2go"
chip: "esp32"
# KR Lights
- target: "esp32_kr_lights_msm"
chip: "esp32"
#
- target: "esp32_ka"
chip: "esp32"
#
- target: "esp32_breakdancev2"
chip: "esp32"

runs-on: ubuntu-latest
steps:
Expand Down
27 changes: 27 additions & 0 deletions .scripts/deleteSD.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import platform
import shutil
import os
Import("env")

f = open("./MyEnv.txt", "a")
f.write(env.Dump())
f.close()

PACKAGES_DIR = env['PROJECT_PACKAGES_DIR']
FRAMEWORK_DIR = os.path.join(PACKAGES_DIR, "framework-arduinoespressif8266/libraries")
SD_DIR = os.path.join(FRAMEWORK_DIR, "SD")
SDFAT_DIR = os.path.join(FRAMEWORK_DIR, "ESP8266SdFat")
# print("PACKAGES_DIR " + PACKAGES_DIR)
# print("FRAMEWORK_DIR " + FRAMEWORK_DIR)
# print("SD_DIR " + SD_DIR)

if os.path.exists(SD_DIR):
shutil.rmtree(SD_DIR)

if os.path.exists(SDFAT_DIR):
shutil.rmtree(SDFAT_DIR)

def before_build(target, source, env):
print("BeforeBuild")

env.AddPreAction("buildprog", before_build)
2 changes: 2 additions & 0 deletions ESPixelStick/ESPixelStick.ino
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,8 @@ void loop()

WebMgr.Process ();

FileMgr.Poll();

#ifdef SUPPORT_SENSOR_DS18B20
SensorDS18B20.Poll();
#endif // def SUPPORT_SENSOR_DS18B20
Expand Down
Loading

0 comments on commit 4a173ce

Please sign in to comment.