Skip to content

Commit 8ce2a6a

Browse files
committed
spiffs again?
1 parent 953ec24 commit 8ce2a6a

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/scripts/install-platformio.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function build_pio_sketch(){ # build_pio_sketch <board> <options> <path-to-ino>
2121
local sketch_dir=$(dirname "$sketch")
2222
echo ""
2323
echo "Compiling '"$(basename "$sketch")"' ..."
24-
python -m platformio ci --board "$board" "$sketch_dir" --project-option="$options"
24+
python -m platformio ci --board "$board" "$sketch_dir" --project-option="$options" --project-options="framework=arduino"
2525
}
2626

2727
function count_sketches(){ # count_sketches <examples-path>

src/SPIFFSEditor.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#ifndef SPIFFSEditor_H_
22
#define SPIFFSEditor_H_
33
#include <ESPAsyncWebServer.h>
4+
#ifdef ESP8266
5+
#include <LittleFS.h>
6+
#endif
47

58
//this indicates that this implementation will not serve the wsec.json file from FS
69
#define SPIFFS_EDITOR_AIRCOOOKIE

0 commit comments

Comments
 (0)