Allow custom SPIFFS location in "demons" part of user_config.h
In case a custom SPIFFS location was defined above, don't overwrite it.
This commit is contained in:
parent
a92da3c33c
commit
64ece47ff6
|
@ -239,7 +239,11 @@
|
||||||
# define LUA_FLASH_STORE 0x0
|
# define LUA_FLASH_STORE 0x0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SPIFFS_FIXED_LOCATION 0x0
|
#ifndef SPIFFS_FIXED_LOCATION
|
||||||
|
#define SPIFFS_FIXED_LOCATION 0x0
|
||||||
|
// You'll rarely need to customize this, because nowadays
|
||||||
|
// it's usually overruled by the partition table anyway.
|
||||||
|
#endif
|
||||||
#ifndef SPIFFS_MAX_FILESYSTEM_SIZE
|
#ifndef SPIFFS_MAX_FILESYSTEM_SIZE
|
||||||
# define SPIFFS_MAX_FILESYSTEM_SIZE 0xFFFFFFFF
|
# define SPIFFS_MAX_FILESYSTEM_SIZE 0xFFFFFFFF
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue