1littlefs library
2================
3
4The upstream source for the files in this directory is
5https://github.com/littlefs-project/littlefs
6
7To generate the separate files with lfs1 and lfs2 prefixes run the following
8commands in the top-level directory of the littlefs repository (replace the
9version 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.3.0
17    python2 ./scripts/prefix.py lfs2
18    cp lfs2*.[ch] $MPY_DIR/lib/littlefs
19    git reset --hard HEAD
20