mirror of https://github.com/arendst/Tasmota.git
Support UFILESYS
This commit is contained in:
parent
1e032daa62
commit
6b16745cf0
|
@ -689,7 +689,9 @@ void ResponseAppendFeatures(void)
|
|||
#if defined(USE_SPI) && defined(USE_DISPLAY) && defined(USE_DISPLAY_SSD1331)
|
||||
feature7 |= 0x00100000; // xdsp_14_SSD1331.ino
|
||||
#endif
|
||||
// feature7 |= 0x00200000;
|
||||
#ifdef USE_UFILESYS
|
||||
feature7 |= 0x00200000;
|
||||
#endif
|
||||
// feature7 |= 0x00400000;
|
||||
// feature7 |= 0x00800000;
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
xdrv_98_filesystem.ino - unified file system for Tasmota
|
||||
xdrv_50_filesystem.ino - unified file system for Tasmota
|
||||
|
||||
Copyright (C) 2020 Gerhard Mutz and Theo Arends
|
||||
|
||||
|
@ -41,7 +41,7 @@ ufsfree free size in kB
|
|||
The driver enabled by #define USE_UFILESYS
|
||||
\*********************************************************************************************/
|
||||
|
||||
#define XDRV_98 98
|
||||
#define XDRV_50 50
|
||||
|
||||
#ifndef SDCARD_CS_PIN
|
||||
#define SDCARD_CS_PIN 4
|
||||
|
@ -516,7 +516,7 @@ void UFSFileUploadSuccess(void) {
|
|||
* Interface
|
||||
\*********************************************************************************************/
|
||||
|
||||
bool Xdrv98(uint8_t function) {
|
||||
bool Xdrv50(uint8_t function) {
|
||||
bool result = false;
|
||||
|
||||
switch (function) {
|
|
@ -243,7 +243,7 @@ a_features = [[
|
|||
"USE_EZODO","USE_EZORGB","USE_EZOPMP","USE_AS608",
|
||||
"USE_SHELLY_DIMMER","USE_RC522","USE_FTC532","USE_DISPLAY_EPAPER_42",
|
||||
"USE_DISPLAY_ILI9488","USE_DISPLAY_SSD1351","USE_DISPLAY_RA8876","USE_DISPLAY_ST7789",
|
||||
"USE_DISPLAY_SSD1331","","","",
|
||||
"USE_DISPLAY_SSD1331","USE_UFILESYS","","",
|
||||
"","","","",
|
||||
"","","",""
|
||||
]]
|
||||
|
@ -273,7 +273,7 @@ else:
|
|||
obj = json.load(fp)
|
||||
|
||||
def StartDecode():
|
||||
print ("\n*** decode-status.py v20210103 by Theo Arends and Jacek Ziolkowski ***")
|
||||
print ("\n*** decode-status.py v20210106 by Theo Arends and Jacek Ziolkowski ***")
|
||||
|
||||
# print("Decoding\n{}".format(obj))
|
||||
|
||||
|
|
Loading…
Reference in New Issue