Commit Graph

19 Commits (6fc33f4d9c860e07ba286154ba6ec22c1b19e620)

Author SHA1 Message Date
Christopher Haster 6fc33f4d9c Fixed incorrect instruction in IAR ctz implementation
The RBIT instruction reverses the bits of a word, not REV
2017-10-16 17:52:35 -05:00
Christopher Haster 383677f604 Merge commit '3c3b0329d44d44a2d47a28c755658d7f1db6a085' 2017-10-12 20:43:59 -05:00
Christopher Haster 3c3b0329d4 Squashed 'littlefs/' changes from 9843402..454b588
454b588 Updated SPEC.md and DESIGN.md based on recent changes
f3578e3 Removed clamping to block size in ctz linked-list
83d4c61 Updated copyright
539409e Refactored deduplicate/deorphan step to single deorphan step
2936514 Added atomic move using dirty tag in entry type
ac9766e Added self-hosting fuzz test using littlefs-fuse
9db1a86 Added specification document

git-subtree-dir: littlefs
git-subtree-split: 454b588f73032f9621c264fba280ab7b3a216402
2017-10-12 20:42:30 -05:00
Christopher Haster 301232eb4e Ported lfs_util functions to IAR intrinsics
required intrinsics for:
- lfs_ctz
- lfs_npw2
2017-10-10 06:55:13 -05:00
Christopher Haster c390e89f17 Added self-hosting fuzz test using littlefs-fuse 2017-10-10 06:55:10 -05:00
Christopher Haster 9408f2ba2c Converted tests into mbed-style integration tests
- TESTS/filesystem for mbed OS filesystem APIs
- TESTS/filesystem_retarget for mbed OS retargeted stdlib APIs

converted:
- test_dirs
- test_files
- test_seek
- test_parallel
2017-09-26 20:18:50 -05:00
Christopher Haster 3a987334f6 Added user flag to pip install in travis 2017-09-26 20:11:31 -05:00
Christopher Haster b6455a36c2 Brought over additional testing configurations from littlefs 2017-09-26 20:11:31 -05:00
Christopher Haster 37edc35091 Merge commit '6e99fa9319d17f0aef418ae3989befc04ecf9096' into new-update 2017-09-26 20:09:57 -05:00
Christopher Haster 6e99fa9319 Squashed 'littlefs/' changes from c2283a2..9843402
9843402 Fixed incorrect return value from lfs_file_seek
273cb7c Fixed problem with lookaheads larger than block device
d9367e0 Fixed collection of multiblock directories
a83b2fe Added checks for out-of-bound seeks
a8fa5e6 Fixed some corner cases with paths
26dd49a Fixed issue with negative modulo with unaligned lookaheads
0982020 Fixed issue with cold-write after seek to block boundary

git-subtree-dir: littlefs
git-subtree-split: 984340225befc1e2330dd3b88f4048373eda0fce
2017-09-26 20:09:29 -05:00
Christopher Haster c9117d8cb5 Increased default lookahead to 512 blocks
Because lookahead is stored efficiently as a bit-vector, this only
requires a ram increase of 48 bytes (2.1% of benchmark), but decreases
the SD benchmark runtime cost by 32 seconds (21.9% of benchmark).

Note this is unimportant on devices with byte-reads such as NOR flash.
2017-07-23 15:12:13 -05:00
Christopher Haster 2e9f87d435 Updated littlefs to '76d00eb38cddfcc267f323c470142b9f4588d3ff' 2017-07-23 14:11:24 -05:00
Christopher Haster 76d00eb38c Squashed 'littlefs/' changes from 663e953..c2283a2
c2283a2 Extended entry tag to support attributes
8795f0e Added build size output to CI
47db7a7 Added sanity check for compiling example
476915f Removed a few "what"s from the documentation

git-subtree-dir: littlefs
git-subtree-split: c2283a2753619d82a1fdf27d799cd53f2eef9a80
2017-07-23 13:59:49 -05:00
Christopher Haster 64ff4b60eb Added support for Travis CI 2017-07-12 09:45:19 -05:00
Christopher Haster 953e19eef4 Added README and LICENSE 2017-07-12 09:45:15 -05:00
Christopher Haster c5868790bc Tweaked littlefs to fit into mbed
- Changed log statements to use the debug function
- Changed %d to %ld given the type of int32_t in arm-none-eabi-gcc. In
  mainstream gcc this is not the case and may cause problems to
  upstream.
2017-07-12 06:50:52 -05:00
Christopher Haster 98af79f087 Squashed 'littlefs/' content from commit 663e953
git-subtree-dir: littlefs
git-subtree-split: 663e953a5073ac8e459f60d18375f887f14e21a2
2017-07-12 04:44:33 -05:00
Christopher Haster c9062594b5 Merge commit '98af79f087e8d95b28614e982a144a122f2dcbda' as 'littlefs' 2017-07-12 04:44:33 -05:00
Christopher Haster 8fae39166b Initial commit 2017-07-12 04:40:59 -05:00