littlefs-python 0.12.0__tar.gz → 0.13.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.github/workflows/deploy.yml +16 -12
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.github/workflows/run-tests.yml +1 -1
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/PKG-INFO +6 -5
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/README.rst +5 -4
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/release.yml +16 -13
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/status.yml +10 -8
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/test.yml +37 -34
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/README.md +8 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/lfs.c +157 -94
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/lfs.h +1 -1
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/lfs_util.h +20 -2
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/runners/bench_runner.c +1 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/runners/bench_runner.h +10 -7
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/runners/test_runner.c +5 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/runners/test_runner.h +11 -8
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/prettyasserts.py +26 -0
- littlefs_python-0.13.0/littlefs/tests/test_paths.toml +7398 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_seek.toml +108 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_superblocks.toml +27 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/lfs.c +1636 -1580
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/PKG-INFO +6 -5
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/lfs/test_dir_functions.py +3 -3
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_version.py +1 -1
- littlefs_python-0.12.0/littlefs/tests/test_paths.toml +0 -336
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.gitattributes +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.github/dependabot.yml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.gitignore +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.gitmodules +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.pre-commit-config.yaml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/.readthedocs.yml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/LICENSE +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/MANIFEST.in +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/ci/build-wheels.sh +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/ci/download_release_files.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/Makefile +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/api/index.rst +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/cli.rst +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/conf.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/doc8.ini +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/examples/index.rst +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/index.rst +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/make.bat +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/requirements.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/docs/usage.rst +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/examples/mkfsimg.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/examples/walk.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.git +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.gitattributes +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/post-release.yml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/.gitignore +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/DESIGN.md +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/LICENSE.md +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/Makefile +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/SPEC.md +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_emubd.c +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_emubd.h +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_filebd.c +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_filebd.h +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_rambd.c +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_rambd.h +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/benches/bench_dir.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/benches/bench_file.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/benches/bench_superblock.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/lfs_util.c +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/bench.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/changeprefix.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/code.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/cov.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/data.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/perf.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/perfbd.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/plot.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/plotmpl.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/readblock.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/readmdir.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/readtree.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/stack.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/structs.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/summary.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/tailpipe.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/teepipe.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/test.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/tracebd.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/scripts/watch.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_alloc.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_attrs.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_badblocks.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_bd.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_compat.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_dirs.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_entries.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_evil.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_exhaustion.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_files.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_interspersed.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_move.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_orphans.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_powerloss.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_relocations.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/littlefs/tests/test_truncate.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/mypy.ini +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/pyproject.toml +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/requirements.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/setup.cfg +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/setup.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/__init__.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/__main__.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/context.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/errors.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pxd +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pyi +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pyx +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs/py.typed +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/SOURCES.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/dependency_links.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/entry_points.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/not-zip-safe +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/requires.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/top_level.txt +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/lfs/conftest.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/lfs/test_file_functions.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/lfs/test_fs_functions.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_attr.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_block_count.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_directories.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_files.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_grow.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_multiversion.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_name_max.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_remove_rename.py +0 -0
- {littlefs_python-0.12.0 → littlefs_python-0.13.0}/test/test_walk.py +0 -0
|
@@ -8,10 +8,10 @@ jobs:
|
|
|
8
8
|
runs-on: ${{ matrix.os }}
|
|
9
9
|
strategy:
|
|
10
10
|
matrix:
|
|
11
|
-
os: [ubuntu-
|
|
11
|
+
os: [ubuntu-22.04, macos-13, windows-latest]
|
|
12
12
|
|
|
13
13
|
env:
|
|
14
|
-
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* pp37-* pp38-* pp39-* pp310-*"
|
|
14
|
+
CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp37-* pp38-* pp39-* pp310-*"
|
|
15
15
|
CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64"
|
|
16
16
|
CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
|
|
17
17
|
|
|
@@ -27,10 +27,11 @@ jobs:
|
|
|
27
27
|
platforms: all
|
|
28
28
|
|
|
29
29
|
- name: Build wheels
|
|
30
|
-
uses: pypa/cibuildwheel@v2.
|
|
30
|
+
uses: pypa/cibuildwheel@v2.22.0
|
|
31
31
|
|
|
32
|
-
- uses: actions/upload-artifact@
|
|
32
|
+
- uses: actions/upload-artifact@v4
|
|
33
33
|
with:
|
|
34
|
+
name: wheels-${{ matrix.os }}
|
|
34
35
|
path: ./wheelhouse/*.whl
|
|
35
36
|
|
|
36
37
|
build_wheels_macos_arm64:
|
|
@@ -47,7 +48,7 @@ jobs:
|
|
|
47
48
|
submodules: "recursive"
|
|
48
49
|
|
|
49
50
|
- name: Build wheels
|
|
50
|
-
uses: pypa/cibuildwheel@v2.
|
|
51
|
+
uses: pypa/cibuildwheel@v2.22.0
|
|
51
52
|
env:
|
|
52
53
|
CIBW_BUILD: ${{ matrix.cibw_build }}
|
|
53
54
|
CIBW_SKIP: "cp36-* pp*"
|
|
@@ -74,13 +75,14 @@ jobs:
|
|
|
74
75
|
delocate-listdeps --all {dest_dir}/$WHEEL_SIMPLE_FILENAME
|
|
75
76
|
|
|
76
77
|
echo "DONE."
|
|
77
|
-
- uses: actions/upload-artifact@
|
|
78
|
+
- uses: actions/upload-artifact@v4
|
|
78
79
|
with:
|
|
80
|
+
name: wheels-macos-arm64
|
|
79
81
|
path: ./wheelhouse/*.whl
|
|
80
82
|
|
|
81
83
|
build_sdist:
|
|
82
84
|
name: Build source distribution
|
|
83
|
-
runs-on: ubuntu-
|
|
85
|
+
runs-on: ubuntu-22.04
|
|
84
86
|
steps:
|
|
85
87
|
- uses: actions/checkout@v4
|
|
86
88
|
with:
|
|
@@ -91,21 +93,23 @@ jobs:
|
|
|
91
93
|
pip install build
|
|
92
94
|
python -m build . --sdist
|
|
93
95
|
|
|
94
|
-
- uses: actions/upload-artifact@
|
|
96
|
+
- uses: actions/upload-artifact@v4
|
|
95
97
|
with:
|
|
98
|
+
name: wheels-sdist
|
|
96
99
|
path: dist/*.tar.gz
|
|
97
100
|
|
|
98
101
|
upload_pypi:
|
|
99
102
|
needs: [build_wheels, build_wheels_macos_arm64, build_sdist]
|
|
100
|
-
runs-on: ubuntu-
|
|
103
|
+
runs-on: ubuntu-22.04
|
|
101
104
|
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
|
|
102
105
|
steps:
|
|
103
|
-
- uses: actions/download-artifact@
|
|
106
|
+
- uses: actions/download-artifact@v4
|
|
104
107
|
with:
|
|
105
|
-
name: artifact
|
|
106
108
|
path: dist
|
|
109
|
+
pattern: wheels-*
|
|
110
|
+
merge-multiple: true
|
|
107
111
|
|
|
108
|
-
- uses: pypa/gh-action-pypi-publish@v1.
|
|
112
|
+
- uses: pypa/gh-action-pypi-publish@v1.12.2
|
|
109
113
|
with:
|
|
110
114
|
user: __token__
|
|
111
115
|
password: ${{ secrets.pypi_api_token }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: littlefs-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.13.0
|
|
4
4
|
Summary: A python wrapper for littlefs
|
|
5
5
|
Home-page: https://github.com/jrast/littlefs-python
|
|
6
6
|
Author: Jürg Rast
|
|
@@ -94,7 +94,8 @@ from scratch the latest version is recommended.
|
|
|
94
94
|
.. csv-table::
|
|
95
95
|
:header: "LittleFS Version", "Package Version", "LittleFS File System Version"
|
|
96
96
|
|
|
97
|
-
2.
|
|
97
|
+
2.10.0, v0.13.X, 2.0 / 2.1 [#f1]_
|
|
98
|
+
2.9.0, v0.12.X v0.11.X, 2.0 / 2.1 [#f1]_
|
|
98
99
|
2.9.0, v0.10.X, 2.0 / 2.1 [#f1]_
|
|
99
100
|
2.8.0, 0.8.X-0.9.X, 2.0 / 2.1 [#f1]_
|
|
100
101
|
2.7.0, 0.7.X, 2.0 / 2.1 [#f1]_
|
|
@@ -113,9 +114,9 @@ This is as simple as it can be::
|
|
|
113
114
|
At the moment wheels (which require no build) are provided for the following platforms,
|
|
114
115
|
on other platforms the source package is used and a compiler is required:
|
|
115
116
|
|
|
116
|
-
+ Linux: Python 3.7 - 3.
|
|
117
|
-
+ MacOS: Python 3.7 - 3.
|
|
118
|
-
+ Windows: Python 3.7 - 3.
|
|
117
|
+
+ Linux: Python 3.7 - 3.13 / x86_64, arm64
|
|
118
|
+
+ MacOS: Python 3.7 - 3.13 / x86_64, arm64
|
|
119
|
+
+ Windows: Python 3.7 - 3.13 / 32- & 64-bit
|
|
119
120
|
|
|
120
121
|
CLI
|
|
121
122
|
===
|
|
@@ -70,7 +70,8 @@ from scratch the latest version is recommended.
|
|
|
70
70
|
.. csv-table::
|
|
71
71
|
:header: "LittleFS Version", "Package Version", "LittleFS File System Version"
|
|
72
72
|
|
|
73
|
-
2.
|
|
73
|
+
2.10.0, v0.13.X, 2.0 / 2.1 [#f1]_
|
|
74
|
+
2.9.0, v0.12.X v0.11.X, 2.0 / 2.1 [#f1]_
|
|
74
75
|
2.9.0, v0.10.X, 2.0 / 2.1 [#f1]_
|
|
75
76
|
2.8.0, 0.8.X-0.9.X, 2.0 / 2.1 [#f1]_
|
|
76
77
|
2.7.0, 0.7.X, 2.0 / 2.1 [#f1]_
|
|
@@ -89,9 +90,9 @@ This is as simple as it can be::
|
|
|
89
90
|
At the moment wheels (which require no build) are provided for the following platforms,
|
|
90
91
|
on other platforms the source package is used and a compiler is required:
|
|
91
92
|
|
|
92
|
-
+ Linux: Python 3.7 - 3.
|
|
93
|
-
+ MacOS: Python 3.7 - 3.
|
|
94
|
-
+ Windows: Python 3.7 - 3.
|
|
93
|
+
+ Linux: Python 3.7 - 3.13 / x86_64, arm64
|
|
94
|
+
+ MacOS: Python 3.7 - 3.13 / x86_64, arm64
|
|
95
|
+
+ Windows: Python 3.7 - 3.13 / 32- & 64-bit
|
|
95
96
|
|
|
96
97
|
CLI
|
|
97
98
|
===
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
20
20
|
github.event.workflow_run.head_sha == github.sha}}
|
|
21
21
|
|
|
22
22
|
steps:
|
|
23
|
-
- uses: actions/checkout@
|
|
23
|
+
- uses: actions/checkout@v4
|
|
24
24
|
with:
|
|
25
25
|
ref: ${{github.event.workflow_run.head_sha}}
|
|
26
26
|
# need workflow access since we push branches
|
|
@@ -30,26 +30,29 @@ jobs:
|
|
|
30
30
|
fetch-depth: 0
|
|
31
31
|
|
|
32
32
|
# try to get results from tests
|
|
33
|
-
- uses:
|
|
33
|
+
- uses: actions/download-artifact@v4
|
|
34
34
|
continue-on-error: true
|
|
35
35
|
with:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
37
|
+
run-id: ${{github.event.workflow_run.id}}
|
|
38
|
+
pattern: '{sizes,sizes-*}'
|
|
39
|
+
merge-multiple: true
|
|
39
40
|
path: sizes
|
|
40
|
-
- uses:
|
|
41
|
+
- uses: actions/download-artifact@v4
|
|
41
42
|
continue-on-error: true
|
|
42
43
|
with:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
45
|
+
run-id: ${{github.event.workflow_run.id}}
|
|
46
|
+
pattern: '{cov,cov-*}'
|
|
47
|
+
merge-multiple: true
|
|
46
48
|
path: cov
|
|
47
|
-
- uses:
|
|
49
|
+
- uses: actions/download-artifact@v4
|
|
48
50
|
continue-on-error: true
|
|
49
51
|
with:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
53
|
+
run-id: ${{github.event.workflow_run.id}}
|
|
54
|
+
pattern: '{bench,bench-*}'
|
|
55
|
+
merge-multiple: true
|
|
53
56
|
path: bench
|
|
54
57
|
|
|
55
58
|
- name: find-version
|
|
@@ -13,12 +13,13 @@ jobs:
|
|
|
13
13
|
status:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
steps:
|
|
16
|
-
- uses:
|
|
16
|
+
- uses: actions/download-artifact@v4
|
|
17
17
|
continue-on-error: true
|
|
18
18
|
with:
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
19
|
+
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
20
|
+
run-id: ${{github.event.workflow_run.id}}
|
|
21
|
+
pattern: '{status,status-*}'
|
|
22
|
+
merge-multiple: true
|
|
22
23
|
path: status
|
|
23
24
|
- name: update-status
|
|
24
25
|
continue-on-error: true
|
|
@@ -67,12 +68,13 @@ jobs:
|
|
|
67
68
|
|
|
68
69
|
steps:
|
|
69
70
|
# generated comment?
|
|
70
|
-
- uses:
|
|
71
|
+
- uses: actions/download-artifact@v4
|
|
71
72
|
continue-on-error: true
|
|
72
73
|
with:
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
github-token: ${{secrets.GITHUB_TOKEN}}
|
|
75
|
+
run-id: ${{github.event.workflow_run.id}}
|
|
76
|
+
pattern: '{comment,comment-*}'
|
|
77
|
+
merge-multiple: true
|
|
76
78
|
path: comment
|
|
77
79
|
- name: update-comment
|
|
78
80
|
continue-on-error: true
|
|
@@ -21,7 +21,7 @@ jobs:
|
|
|
21
21
|
arch: [x86_64, thumb, mips, powerpc]
|
|
22
22
|
|
|
23
23
|
steps:
|
|
24
|
-
- uses: actions/checkout@
|
|
24
|
+
- uses: actions/checkout@v4
|
|
25
25
|
- name: install
|
|
26
26
|
run: |
|
|
27
27
|
# need a few things
|
|
@@ -235,9 +235,9 @@ jobs:
|
|
|
235
235
|
|
|
236
236
|
# create size statuses
|
|
237
237
|
- name: upload-sizes
|
|
238
|
-
uses: actions/upload-artifact@
|
|
238
|
+
uses: actions/upload-artifact@v4
|
|
239
239
|
with:
|
|
240
|
-
name: sizes
|
|
240
|
+
name: sizes-${{matrix.arch}}
|
|
241
241
|
path: sizes
|
|
242
242
|
- name: status-sizes
|
|
243
243
|
run: |
|
|
@@ -273,16 +273,16 @@ jobs:
|
|
|
273
273
|
}' | tee status/$(basename $f .csv).json
|
|
274
274
|
done
|
|
275
275
|
- name: upload-status-sizes
|
|
276
|
-
uses: actions/upload-artifact@
|
|
276
|
+
uses: actions/upload-artifact@v4
|
|
277
277
|
with:
|
|
278
|
-
name: status
|
|
278
|
+
name: status-sizes-${{matrix.arch}}
|
|
279
279
|
path: status
|
|
280
280
|
retention-days: 1
|
|
281
281
|
|
|
282
282
|
# create cov statuses
|
|
283
283
|
- name: upload-cov
|
|
284
284
|
if: ${{matrix.arch == 'x86_64'}}
|
|
285
|
-
uses: actions/upload-artifact@
|
|
285
|
+
uses: actions/upload-artifact@v4
|
|
286
286
|
with:
|
|
287
287
|
name: cov
|
|
288
288
|
path: cov
|
|
@@ -317,11 +317,11 @@ jobs:
|
|
|
317
317
|
target_step: env.STEP,
|
|
318
318
|
}' | tee status/$(basename $f .csv)-$s.json
|
|
319
319
|
done
|
|
320
|
-
- name: upload-status-
|
|
320
|
+
- name: upload-status-cov
|
|
321
321
|
if: ${{matrix.arch == 'x86_64'}}
|
|
322
|
-
uses: actions/upload-artifact@
|
|
322
|
+
uses: actions/upload-artifact@v4
|
|
323
323
|
with:
|
|
324
|
-
name: status
|
|
324
|
+
name: status-cov
|
|
325
325
|
path: status
|
|
326
326
|
retention-days: 1
|
|
327
327
|
|
|
@@ -336,7 +336,7 @@ jobs:
|
|
|
336
336
|
pls: [1, 2]
|
|
337
337
|
|
|
338
338
|
steps:
|
|
339
|
-
- uses: actions/checkout@
|
|
339
|
+
- uses: actions/checkout@v4
|
|
340
340
|
- name: install
|
|
341
341
|
run: |
|
|
342
342
|
# need a few things
|
|
@@ -361,7 +361,7 @@ jobs:
|
|
|
361
361
|
test-no-intrinsics:
|
|
362
362
|
runs-on: ubuntu-latest
|
|
363
363
|
steps:
|
|
364
|
-
- uses: actions/checkout@
|
|
364
|
+
- uses: actions/checkout@v4
|
|
365
365
|
- name: install
|
|
366
366
|
run: |
|
|
367
367
|
# need a few things
|
|
@@ -378,7 +378,7 @@ jobs:
|
|
|
378
378
|
test-multiversion:
|
|
379
379
|
runs-on: ubuntu-latest
|
|
380
380
|
steps:
|
|
381
|
-
- uses: actions/checkout@
|
|
381
|
+
- uses: actions/checkout@v4
|
|
382
382
|
- name: install
|
|
383
383
|
run: |
|
|
384
384
|
# need a few things
|
|
@@ -395,7 +395,7 @@ jobs:
|
|
|
395
395
|
test-lfs2_0:
|
|
396
396
|
runs-on: ubuntu-latest
|
|
397
397
|
steps:
|
|
398
|
-
- uses: actions/checkout@
|
|
398
|
+
- uses: actions/checkout@v4
|
|
399
399
|
- name: install
|
|
400
400
|
run: |
|
|
401
401
|
# need a few things
|
|
@@ -414,7 +414,7 @@ jobs:
|
|
|
414
414
|
test-valgrind:
|
|
415
415
|
runs-on: ubuntu-latest
|
|
416
416
|
steps:
|
|
417
|
-
- uses: actions/checkout@
|
|
417
|
+
- uses: actions/checkout@v4
|
|
418
418
|
- name: install
|
|
419
419
|
run: |
|
|
420
420
|
# need a few things
|
|
@@ -436,7 +436,7 @@ jobs:
|
|
|
436
436
|
test-clang:
|
|
437
437
|
runs-on: ubuntu-latest
|
|
438
438
|
steps:
|
|
439
|
-
- uses: actions/checkout@
|
|
439
|
+
- uses: actions/checkout@v4
|
|
440
440
|
- name: install
|
|
441
441
|
run: |
|
|
442
442
|
# need a few things
|
|
@@ -459,7 +459,7 @@ jobs:
|
|
|
459
459
|
bench:
|
|
460
460
|
runs-on: ubuntu-latest
|
|
461
461
|
steps:
|
|
462
|
-
- uses: actions/checkout@
|
|
462
|
+
- uses: actions/checkout@v4
|
|
463
463
|
- name: install
|
|
464
464
|
run: |
|
|
465
465
|
# need a few things
|
|
@@ -491,7 +491,7 @@ jobs:
|
|
|
491
491
|
|
|
492
492
|
# create bench statuses
|
|
493
493
|
- name: upload-bench
|
|
494
|
-
uses: actions/upload-artifact@
|
|
494
|
+
uses: actions/upload-artifact@v4
|
|
495
495
|
with:
|
|
496
496
|
name: bench
|
|
497
497
|
path: bench
|
|
@@ -525,9 +525,9 @@ jobs:
|
|
|
525
525
|
}' | tee status/$(basename $f .csv)-$s.json
|
|
526
526
|
done
|
|
527
527
|
- name: upload-status-bench
|
|
528
|
-
uses: actions/upload-artifact@
|
|
528
|
+
uses: actions/upload-artifact@v4
|
|
529
529
|
with:
|
|
530
|
-
name: status
|
|
530
|
+
name: status-bench
|
|
531
531
|
path: status
|
|
532
532
|
retention-days: 1
|
|
533
533
|
|
|
@@ -535,10 +535,10 @@ jobs:
|
|
|
535
535
|
test-compat:
|
|
536
536
|
runs-on: ubuntu-latest
|
|
537
537
|
steps:
|
|
538
|
-
- uses: actions/checkout@
|
|
538
|
+
- uses: actions/checkout@v4
|
|
539
539
|
if: ${{github.event_name == 'pull_request'}}
|
|
540
540
|
# checkout the current pr target into lfsp
|
|
541
|
-
- uses: actions/checkout@
|
|
541
|
+
- uses: actions/checkout@v4
|
|
542
542
|
if: ${{github.event_name == 'pull_request'}}
|
|
543
543
|
with:
|
|
544
544
|
ref: ${{github.event.pull_request.base.ref}}
|
|
@@ -572,7 +572,7 @@ jobs:
|
|
|
572
572
|
runs-on: ubuntu-latest
|
|
573
573
|
if: ${{!endsWith(github.ref, '-prefix')}}
|
|
574
574
|
steps:
|
|
575
|
-
- uses: actions/checkout@
|
|
575
|
+
- uses: actions/checkout@v4
|
|
576
576
|
- name: install
|
|
577
577
|
run: |
|
|
578
578
|
# need a few things
|
|
@@ -582,7 +582,7 @@ jobs:
|
|
|
582
582
|
gcc --version
|
|
583
583
|
python3 --version
|
|
584
584
|
fusermount -V
|
|
585
|
-
- uses: actions/checkout@
|
|
585
|
+
- uses: actions/checkout@v4
|
|
586
586
|
with:
|
|
587
587
|
repository: littlefs-project/littlefs-fuse
|
|
588
588
|
ref: v2
|
|
@@ -622,7 +622,7 @@ jobs:
|
|
|
622
622
|
runs-on: ubuntu-latest
|
|
623
623
|
if: ${{!endsWith(github.ref, '-prefix')}}
|
|
624
624
|
steps:
|
|
625
|
-
- uses: actions/checkout@
|
|
625
|
+
- uses: actions/checkout@v4
|
|
626
626
|
- name: install
|
|
627
627
|
run: |
|
|
628
628
|
# need a few things
|
|
@@ -632,12 +632,12 @@ jobs:
|
|
|
632
632
|
gcc --version
|
|
633
633
|
python3 --version
|
|
634
634
|
fusermount -V
|
|
635
|
-
- uses: actions/checkout@
|
|
635
|
+
- uses: actions/checkout@v4
|
|
636
636
|
with:
|
|
637
637
|
repository: littlefs-project/littlefs-fuse
|
|
638
638
|
ref: v2
|
|
639
639
|
path: v2
|
|
640
|
-
- uses: actions/checkout@
|
|
640
|
+
- uses: actions/checkout@v4
|
|
641
641
|
with:
|
|
642
642
|
repository: littlefs-project/littlefs-fuse
|
|
643
643
|
ref: v1
|
|
@@ -694,7 +694,7 @@ jobs:
|
|
|
694
694
|
runs-on: ubuntu-latest
|
|
695
695
|
needs: [test, bench]
|
|
696
696
|
steps:
|
|
697
|
-
- uses: actions/checkout@
|
|
697
|
+
- uses: actions/checkout@v4
|
|
698
698
|
if: ${{github.event_name == 'pull_request'}}
|
|
699
699
|
- name: install
|
|
700
700
|
if: ${{github.event_name == 'pull_request'}}
|
|
@@ -704,23 +704,26 @@ jobs:
|
|
|
704
704
|
pip3 install toml
|
|
705
705
|
gcc --version
|
|
706
706
|
python3 --version
|
|
707
|
-
- uses: actions/download-artifact@
|
|
707
|
+
- uses: actions/download-artifact@v4
|
|
708
708
|
if: ${{github.event_name == 'pull_request'}}
|
|
709
709
|
continue-on-error: true
|
|
710
710
|
with:
|
|
711
|
-
|
|
711
|
+
pattern: '{sizes,sizes-*}'
|
|
712
|
+
merge-multiple: true
|
|
712
713
|
path: sizes
|
|
713
|
-
- uses: actions/download-artifact@
|
|
714
|
+
- uses: actions/download-artifact@v4
|
|
714
715
|
if: ${{github.event_name == 'pull_request'}}
|
|
715
716
|
continue-on-error: true
|
|
716
717
|
with:
|
|
717
|
-
|
|
718
|
+
pattern: '{cov,cov-*}'
|
|
719
|
+
merge-multiple: true
|
|
718
720
|
path: cov
|
|
719
|
-
- uses: actions/download-artifact@
|
|
721
|
+
- uses: actions/download-artifact@v4
|
|
720
722
|
if: ${{github.event_name == 'pull_request'}}
|
|
721
723
|
continue-on-error: true
|
|
722
724
|
with:
|
|
723
|
-
|
|
725
|
+
pattern: '{bench,bench-*}'
|
|
726
|
+
merge-multiple: true
|
|
724
727
|
path: bench
|
|
725
728
|
|
|
726
729
|
# try to find results from tests
|
|
@@ -862,7 +865,7 @@ jobs:
|
|
|
862
865
|
body: $comment,
|
|
863
866
|
}' | tee comment/comment.json
|
|
864
867
|
- name: upload-comment
|
|
865
|
-
uses: actions/upload-artifact@
|
|
868
|
+
uses: actions/upload-artifact@v4
|
|
866
869
|
with:
|
|
867
870
|
name: comment
|
|
868
871
|
path: comment
|
|
@@ -251,6 +251,12 @@ License Identifiers that are here available: http://spdx.org/licenses/
|
|
|
251
251
|
filesystem over USB. Allows mounting littlefs on a host PC without additional
|
|
252
252
|
drivers.
|
|
253
253
|
|
|
254
|
+
- [ramcrc32bd] - An example block device using littlefs's 32-bit CRC for
|
|
255
|
+
error-correction.
|
|
256
|
+
|
|
257
|
+
- [ramrsbd] - An example block device using Reed-Solomon codes for
|
|
258
|
+
error-correction.
|
|
259
|
+
|
|
254
260
|
- [Mbed OS] - The easiest way to get started with littlefs is to jump into Mbed
|
|
255
261
|
which already has block device drivers for most forms of embedded storage.
|
|
256
262
|
littlefs is available in Mbed OS as the [LittleFileSystem] class.
|
|
@@ -281,6 +287,8 @@ License Identifiers that are here available: http://spdx.org/licenses/
|
|
|
281
287
|
[mklfs]: https://github.com/whitecatboard/Lua-RTOS-ESP32/tree/master/components/mklfs/src
|
|
282
288
|
[mklittlefs]: https://github.com/earlephilhower/mklittlefs
|
|
283
289
|
[pico-littlefs-usb]: https://github.com/oyama/pico-littlefs-usb
|
|
290
|
+
[ramcrc32bd]: https://github.com/geky/ramcrc32bd
|
|
291
|
+
[ramrsbd]: https://github.com/geky/ramrsbd
|
|
284
292
|
[Mbed OS]: https://github.com/armmbed/mbed-os
|
|
285
293
|
[LittleFileSystem]: https://os.mbed.com/docs/mbed-os/latest/apis/littlefilesystem.html
|
|
286
294
|
[SPIFFS]: https://github.com/pellepl/spiffs
|