Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2018-07-29 23:03:23 +0300
committerChristopher Haster <chaster@utexas.edu>2018-10-16 14:41:59 +0300
commit15d156082cf59a845582ec32e541c64edf58d47c (patch)
tree18fd0697a781652e938b084fb417ec4b1f7aa2eb /Makefile
parent3914cdf39febd4132a0926af105f85abb816dbbd (diff)
Added support for custom attributes leveraging the new metadata logging
Now that littlefs has been rebuilt almost from the ground up with the intention to support custom attributes, adding in custom attribute support is relatively easy. The highest bit in the 9-bit type structure indicates that an attribute is a user-specified custom attribute. The user then has a full 8-bits to specify the attribute type. Other than that, custom attributes are treated the same as system-level attributes. Also made some tweaks to custom attributes: - Adopted the opencfg for file-level attributes provided by dpgeorge - Changed setattrs/getattrs to the simpler setattr/getattr functions users will probably be more familiar with. Note that multiple attributes can still be committed atomically with files, though not with directories. - Changed LFS_ATTRS_MAX -> LFS_ATTR_MAX since there's no longer a global limit on the sum of attribute sizes, which was rather confusing. Though they are still limited by what can fit in a metadata-pair.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 55c95db..21cc1c9 100644
--- a/Makefile
+++ b/Makefile
@@ -33,9 +33,9 @@ size: $(OBJ)
$(SIZE) -t $^
.SUFFIXES:
-test: test_format test_dirs test_files test_seek test_truncate test_entries \
- test_interspersed test_alloc test_paths test_attrs \
- test_orphan test_move test_corrupt
+test: test_format test_dirs test_files test_seek test_truncate \
+ test_entries test_interspersed test_alloc test_paths test_attrs \
+ test_move test_orphan test_corrupt
test_%: tests/test_%.sh
ifdef QUIET
@./$< | sed -n '/^[-=]/p'