Peter Andersson
b5d20d20d1
Problem with file names that are long #79
9 years ago
Peter Andersson
dc398a1f6f
test bench must allocate spiffs buffers dynamically #78 #77
9 years ago
Peter Andersson
b81e870c8a
tests: more comprehensive output
9 years ago
Peter Andersson
82aeac6788
Duplicate file names #74 (thanks @igrr )
9 years ago
Peter Andersson
24aac903c0
SPIFFS_eof() and SPIFFS_tell() return wrong value #72 (thanks @ArtemPisarenko )
9 years ago
Peter Andersson
1d9f670740
Update README.md
9 years ago
Peter Andersson
6f4ad5bb4c
Fixed a stupid mount bug
9 years ago
Peter Andersson
05354fa428
Fixed a stat bug with obj id. Added user callback file func.
New API functions:
SPIFFS_set_file_callback_func
9 years ago
Peter Andersson
e7e27e22db
SPIFFS_probe_nbr_of_blocks redefined as SPIFFS_probe_fs and made more safe.
New API functions:
SPIFFS_probe_fs
Deleted API functions:
SPIFFS_probe_nbr_of_blocks
9 years ago
Peter Andersson
9b69ca264d
Add possibility to compile a read-only version of spiffs.
Added configs:
SPIFFS_READ_ONLY
9 years ago
Peter Andersson
ac33a755a2
Make magic dependent on fs length, if needed. (see #59 & #66 )
This will also add possibility to probe the filesystems length
beforehand to fully mounting it.
Thanks @hreintke .
Added API funcs:
SPIFFS_probe_nbr_of_blocks
Added config:
SPIFFS_USE_MAGIC_LENGTH
9 years ago
Peter Andersson
5183bf423b
Merge branch 'master' of https://github.com/pellepl/spiffs
9 years ago
Peter Andersson
ebb79dae55
Updated license and readme year
9 years ago
Peter Andersson
9695ebb226
exposed SPIFFS_open_by_page function
9 years ago
Peter Andersson
9d91d1b150
Merge pull request #62 from neuhaus/patch-1
fix typo "LICENCE" in README
9 years ago
Sven Neuhaus
044744b4a8
fix typo "LICENCE" in README
9 years ago
Peter Andersson
ab7729831e
Update README.md
9 years ago
Peter Andersson
a4678ce54e
Zero-size file cannot be seek #57
Thanks @lishen2
9 years ago
Peter Andersson
47a8d66581
readme.md: killed invalid links
9 years ago
Peter Andersson
8bdda547a8
Delete INTEGRATION file, now on wiki
Sigh
9 years ago
Peter Andersson
b91e018031
Delete IMPLEMENTING
Forgot what this file was meant to include anyway
9 years ago
Peter Andersson
69a7ffd920
Delete old readme
9 years ago
Peter Andersson
1d336d94b8
Markupped the readme
9 years ago
Peter Andersson
6c7585806b
Merge pull request #54 from raburton/tellandeof
add tell and eof functions
9 years ago
Richard Antony Burton
276e26f7de
incorporated code review feedback
9 years ago
Peter Andersson
0f6e5f2300
Merge pull request #53 from raburton/master
make api string params const
9 years ago
Richard Antony Burton
3dd7f79436
remove user_data, use new pointer
9 years ago
Richard Antony Burton
6d71e937c1
add tell and eof functions
9 years ago
Richard Antony Burton
e17bfcebe4
push const all the way
9 years ago
Richard Antony Burton
c2235ccb6f
make api string params const
9 years ago
Peter Andersson
09e8dca376
Update README
9 years ago
Peter Andersson
9925e260f6
Merge pull request #51 from cesanta/user_data
Preserve user_data during mount()
9 years ago
rojer
efc4bac7db
Preserve user_data during mount()
Otherwise there is no way to use it in callbacks invoked during mount.
9 years ago
Peter Andersson
87c4ab44e0
Update README
9 years ago
Peter Andersson
a7fa37d1eb
0.3.3 readme update
9 years ago
Peter Andersson
5ecf71f799
Possibility to add integer offset to file handles.
New buildtime config, SPIFFS_FILEHDL_OFFSET. If enabled
fh_ix_offset must be set in config struct before mounting.
9 years ago
Peter Andersson
16d0ae6d3a
Truncate function presumes too few free pages #49
9 years ago
Peter Andersson
98b0357265
Bug in truncate function #48
Unsigned overflow bug, and actually missing tests when
truncating to other than zero.
9 years ago
Peter Andersson
560299e422
Merge pull request #47 from PawelDefee/master
Removed unnecessary parameter in debug printout
9 years ago
Pawel Defée
0195695c77
Update spiffs_gc.c
Removed unnecessary parameter (causes an error on strictest warning level in some compilers).
9 years ago
Pawel Defée
b6e03205eb
Merge pull request #1 from pellepl/master
Merge pull request #46 from PawelDefee/master
9 years ago
Peter Andersson
3fb91ddec5
Merge pull request #46 from PawelDefee/master
Update INTEGRATION
9 years ago
Pawel Defée
826f1b4660
Update INTEGRATION
Corrected typo in integration instructions.
9 years ago
Peter Andersson
acab870d92
Merge pull request #45 from igrr/osx-segfault-fix
Fix pointer truncation on 64-bit platforms
9 years ago
Peter Andersson
0d5849725f
Zero-size files cannot be read #44
Will now return correct error code.
9 years ago
Peter Andersson
1aa4d63075
(More) correct calculation of max_id in obj_lu_find_free_id #41 #42 (thanks #lishen2)
9 years ago
Peter Andersson
721abf6a0f
Check correct error code in obj_lu_find_free_id #41 (thanks #lishen2)
9 years ago
Ivan Grokhotkov
7a789d9eb7
Fix pointer truncation on 64-bit platforms
Casting 64-bit cand_scores pointer to u32_t discards MSBs which causes segfault later in the code. Use ptrdiff_t type instead.
9 years ago
Peter Andersson
6ad3be4530
moar comments for SPIFFS_lseek (thanks #igrr)
9 years ago
Peter Andersson
15e5618900
Confused about padding in "spiffs_page_object_ix" #40 (you were right #jmattson)
9 years ago