Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New SD card and FTP support #768

Merged
merged 67 commits into from
Jul 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
cf67278
Minor cleanup of unused functions and line endings.
MartinMueller2003 May 14, 2024
892e472
Change needed to be compatible with the latest platform version.
MartinMueller2003 May 14, 2024
a524a37
Added file manager to the list of managers notified of a network stat…
MartinMueller2003 May 14, 2024
90b4cff
Added file manager to the list of managers in the polling loop.
MartinMueller2003 May 14, 2024
ac4398f
Added ability to use an FTP Client to reliably upload large files to …
MartinMueller2003 May 14, 2024
911dd63
Modifications to use the slightly more reliable transfer methods and …
MartinMueller2003 May 14, 2024
a3d3c93
Added FTP support
MartinMueller2003 May 14, 2024
f49c403
Merge branch 'forkineye:main' into main
MartinMueller2003 May 14, 2024
c7eaad4
Made http file transfer much more reliable. Also slowed it way down. …
MartinMueller2003 May 15, 2024
6ddcccd
Merge branch 'main' of https://github.com/MartinMueller2003/ESPixelStick
MartinMueller2003 May 15, 2024
e218905
Added storage for FTP credentials
MartinMueller2003 May 15, 2024
13884b4
Moved some strings to code space.
MartinMueller2003 May 15, 2024
7c35235
Fixed ESP8266 build failure
MartinMueller2003 May 15, 2024
463f992
Fixed yet another compiler error
MartinMueller2003 May 15, 2024
9036ada
Hate stupid compilers.
MartinMueller2003 May 15, 2024
95fea22
Added text about accessing the experimental web flash tool.
MartinMueller2003 May 16, 2024
3f1d6c9
Added information for FTP fseq file transfers.
MartinMueller2003 May 16, 2024
64ff801
Added a buffer before writing data to the sd card.
MartinMueller2003 May 16, 2024
6eb9235
Added FILE mode definitions for ESP8266
MartinMueller2003 May 16, 2024
26f2b0d
More ESP8266 compiler accommodations
MartinMueller2003 May 16, 2024
3e9b90d
Added ability to change the FTP user name and password.
MartinMueller2003 May 16, 2024
a5b6e1f
Removed unneeded SD test.
MartinMueller2003 May 19, 2024
4d15f58
Moved from SD.h to SdFat.h - Improved HTTP transfer performance 4X
MartinMueller2003 May 19, 2024
29a7a3a
Removed unused code
MartinMueller2003 May 23, 2024
e020072
Removed unused code.
MartinMueller2003 May 23, 2024
d9b39a4
Modifications to use SdFat built into the framework
MartinMueller2003 May 23, 2024
f009f15
Resolve a compile time path for debugging
MartinMueller2003 May 26, 2024
9d08775
Added default setup for non direct epsp testing.
MartinMueller2003 May 26, 2024
3cc76d8
Dropped SPI frequency to get it to work with SDHC cards.
MartinMueller2003 May 26, 2024
6a242b5
Added printing output for SD failure.
MartinMueller2003 May 26, 2024
7749919
Added bitmapped definition for the CSD SdFat structure.
MartinMueller2003 May 26, 2024
c3a02ae
Added code to adjust SD speed based on type of SD card installed.
MartinMueller2003 May 26, 2024
a6c9175
Basic FTP wprking on ESP32
MartinMueller2003 May 27, 2024
3ee83eb
Changes to support structure differences between ESP32 and ESP8266
MartinMueller2003 May 27, 2024
94d87e7
Added ability to disable the FTP server. Disabled by default.
MartinMueller2003 May 27, 2024
db1ba64
Added generation of an fseq file summary when no SD card is installed.
MartinMueller2003 May 28, 2024
f2d6a65
Cleaned up default fseq file list generation to use less ram.
MartinMueller2003 May 28, 2024
211540e
Remove built in SD Fat implementation to use a consistent implementat…
MartinMueller2003 May 29, 2024
c1a5326
Converted to use a consistent SdFat version between ESP8266 and ESP32
MartinMueller2003 May 29, 2024
a81bc1d
Code consistency change.
MartinMueller2003 May 30, 2024
b3b5a98
Changed default FTP Enabled to true.
MartinMueller2003 May 31, 2024
ff494b5
Added debug to help find 8266 crash.
MartinMueller2003 May 31, 2024
1f0bbc1
Updated 8266 FTP settings.
MartinMueller2003 May 31, 2024
1d1d43e
Updated FTP debug output
MartinMueller2003 Jun 3, 2024
ffcc5f9
Additional output for ftp debugging
MartinMueller2003 Jun 3, 2024
d0b70d5
Removed some unwanted spaces
MartinMueller2003 Jun 8, 2024
13dea0d
modified to order in which services are started after a net up event.
MartinMueller2003 Jun 8, 2024
5926c97
turned off ftp debug output
MartinMueller2003 Jun 12, 2024
014136f
fixed how welcome string is created
MartinMueller2003 Jun 12, 2024
4a15be9
Fixed how welcome message is created.
MartinMueller2003 Jun 12, 2024
d16cc8b
Display a default set of files when no fseq file list is available
MartinMueller2003 Jun 20, 2024
67b8cfe
Removed incorrect comment.
MartinMueller2003 Jun 24, 2024
df7c6ec
Fixed defaults for Wasatch platform.
MartinMueller2003 Jun 24, 2024
c8ed7b6
Merge branch 'forkineye:main' into main
MartinMueller2003 Jun 24, 2024
3b6fecf
Fix for eth clock gpio value
MartinMueller2003 Jun 24, 2024
f76cd19
Merge branch 'main' of https://github.com/MartinMueller2003/ESPixelStick
MartinMueller2003 Jun 24, 2024
ba5065d
Fixed issue that caused UI gpio validation to fail for -1 values.
MartinMueller2003 Jun 25, 2024
755e2c6
Use an upgraded E1.31 with priority processing
MartinMueller2003 Jun 25, 2024
0b8da27
Add ESP32_KA platform
MartinMueller2003 Jun 27, 2024
5399e9d
Added configuration for spi device.
MartinMueller2003 Jun 27, 2024
f1ae27a
Adjustments for real HW
MartinMueller2003 Jun 28, 2024
80b17fb
Added new platform to the actions list
MartinMueller2003 Jun 28, 2024
2dd4d37
Added KA relay controller
MartinMueller2003 Jun 28, 2024
a8b9189
Adjusted to KA V3 HW
MartinMueller2003 Jun 28, 2024
a3cc4ae
initial version
MartinMueller2003 Jun 29, 2024
858b61a
added breakdance platform
MartinMueller2003 Jun 29, 2024
5df67bc
corrected 32s board name
MartinMueller2003 Jun 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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