nodemcu-firmware/app/spiffs
Johny Mattsson c4e8b04fbf Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS.
There was only one genuine use of this macro, all other places were
using it only as a necessary compensation. While this was fine as long as
it was the first meg of flash which was mapped, it became incorrect and
quite dangerous whenever this assumption did not hold (such as when
running from the second slot in an OTA scenario).

The flash API now uses actual addresses, not translated/mapped
addresses, and the users of this API have been adjusted accordingly.
This makes the flash API work correctly regardless of what flash mapping
is in use.

The old macro is still available under the new name
INTERNAL_FLASH_MAPPED_ADDRESS, and this is used to detect flash writes
where the source is mapped flash (and thus has to be bounced), and to
adjust the _flash_used_end linker symbol when used with
flassh_find_sector() by the filesystem code. The latter usage is not
OTA-proof, but in an OTA scenario the filesystem needs a fixed location
anyway and thus would not use this code path.
2015-12-12 13:20:22 +11:00
..
docs update spiffs to 0.2.2, add file.rename api 2015-02-11 21:20:54 +08:00
test fix bugs for spiffs from pellepl/spiffs 2015-03-10 23:07:47 +08:00
LICENSE update spiffs to 0.2.2, add file.rename api 2015-02-11 21:20:54 +08:00
Makefile source file first commit, folder structure refact 2014-12-22 19:35:05 +08:00
spiffs.c Cleaned up all uses of INTERNAL_FLASH_START_ADDRESS. 2015-12-12 13:20:22 +11:00
spiffs.h Updated SPIFFS to 0.3.2, plus alignment fix. 2015-07-17 13:40:55 +10:00
spiffs_cache.c Updated SPIFFS to 0.3.2, plus alignment fix. 2015-07-17 13:40:55 +10:00
spiffs_check.c update spiffs to 0.2.2, add file.rename api 2015-02-11 21:20:54 +08:00
spiffs_config.h Reduced SPIFFS cache, freeing ~0.5k RAM. 2015-07-31 18:15:18 +10:00
spiffs_gc.c Updated SPIFFS to 0.3.2, plus alignment fix. 2015-07-17 13:40:55 +10:00
spiffs_hydrogen.c Updated SPIFFS to 0.3.2, plus alignment fix. 2015-07-17 13:40:55 +10:00
spiffs_nucleus.c Updated SPIFFS to 0.3.2, plus alignment fix. 2015-07-17 13:40:55 +10:00
spiffs_nucleus.h Remove now-unnecessary alignment constraints in SPIFFS. 2015-08-04 16:30:58 +10:00