Skip to content

Commit 22bfc47

Browse files
committed
lib/littlefs: Add README describing origin and how to gen lfs1/lfs2.
1 parent 2e66d83 commit 22bfc47

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

lib/littlefs/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
littlefs library
2+
================
3+
4+
The upstream source for the files in this directory is
5+
https://github.com/ARMmbed/littlefs
6+
7+
To generate the separate files with lfs1 and lfs2 prefixes run the following
8+
commands in the top-level directory of the littlefs repository (replace the
9+
version tags with the latest/desired ones, and set `$MPY_DIR`):
10+
11+
git checkout v1.7.2
12+
python2 ./scripts/prefix.py lfs1
13+
cp lfs1*.[ch] $MPY_DIR/lib/littlefs
14+
git reset --hard HEAD
15+
16+
git checkout v2.1.3
17+
python2 ./scripts/prefix.py lfs2
18+
cp lfs2*.[ch] $MPY_DIR/lib/littlefs
19+
git reset --hard HEAD

0 commit comments

Comments
 (0)