mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
af39a0bc25
Fixes #1164 and thus also #1150, #1149, #1147 and #898. * Move to latest version of SPIFFS * Add SPIFFS porting layer for NodeMCU * Add option to delete output if it doesn't fit * Change FLASHSIZE to be in bits by default: default 4mb 32mb * Add SPIFFS_MAX_FILESYSTEM_SIZE override * Add notes on SPIFFS_FIXED_LOCATION * Add 1M boundary * Include the current version of the LICENSE
16 lines
302 B
Bash
Executable File
16 lines
302 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script updates the SPIFFS code from the master repository
|
|
|
|
if [ ! -e ../tools/update_spiffs.sh ]; then
|
|
echo Must run from the tools directory
|
|
exit 1
|
|
fi
|
|
|
|
git clone https://github.com/pellepl/spiffs
|
|
|
|
cp spiffs/src/*.[ch] ../app/spiffs
|
|
cp spiffs/LICENSE ../app/spiffs
|
|
|
|
rm -fr spiffs
|