These are chat archives for SmingHub/Sming

24th
Sep 2016
SkySparky
@SkySparky
Sep 24 2016 09:44 UTC
spiffs_mount(); rebuild and reflashing fs every time. Error return flashmem_read_internal, at 000810FC, 000830FC ... what is the problem?
hreintke
@hreintke
Sep 24 2016 12:00 UTC
@SkySparky :
I updated the Http_sever_ajax example to use the 3M spiffs.
Works without problems, flawless opening of the FS so cannot reproduce you issue.
Did you also check if the result of the build fs is OK ?
# Generating spiffs_bin
Checking for spiffs files
web/build directory exists. Creating out/firmware/spiff_rom.bin
Creating rom 'out/firmware/spiff_rom.bin' of size 0x300000 (3145728) bytes.
Adding files in directory 'web/build'.
Added 'bootstrap.css.gz' to spiffs (15615 bytes).
Added 'index.html' to spiffs (2972 bytes).
Added 'jquery.js.gz' to spiffs (30153 bytes).
out/firmware/spiff_rom.bin---------->0x57000
SkySparky
@SkySparky
Sep 24 2016 15:37 UTC
# Generating spiffs_bin
Checking for spiffs files
web/dev directory exists. Creating out/firmware/spiff_rom.bin
Creating rom 'out/firmware/spiff_rom.bin' of size 0x300000 (3145728) bytes.
Adding files in directory 'web/dev'.
Added 'bootstrap.css' to spiffs (108536 bytes).
Added 'index.html' to spiffs (2972 bytes).
Added 'jquery.js' to spiffs (86317 bytes).
out/firmware/spiff_rom.bin---------->0x55000
After flashig and openig server home page
open errno -10000
File wasn't found: index.html