update_spiffs.sh 302 B

123456789101112131415
  1. #!/bin/sh
  2. # This script updates the SPIFFS code from the master repository
  3. if [ ! -e ../tools/update_spiffs.sh ]; then
  4. echo Must run from the tools directory
  5. exit 1
  6. fi
  7. git clone https://github.com/pellepl/spiffs
  8. cp spiffs/src/*.[ch] ../app/spiffs
  9. cp spiffs/LICENSE ../app/spiffs
  10. rm -fr spiffs