littlefs-python 0.11.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.
Files changed (131) hide show
  1. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.github/workflows/deploy.yml +18 -13
  2. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.github/workflows/run-tests.yml +2 -2
  3. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/PKG-INFO +6 -5
  4. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/README.rst +5 -4
  5. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/release.yml +16 -13
  6. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/status.yml +10 -8
  7. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/test.yml +37 -34
  8. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/README.md +8 -0
  9. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/lfs.c +157 -94
  10. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/lfs.h +1 -1
  11. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/lfs_util.h +20 -2
  12. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/runners/bench_runner.c +1 -0
  13. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/runners/bench_runner.h +10 -7
  14. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/runners/test_runner.c +5 -0
  15. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/runners/test_runner.h +11 -8
  16. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/prettyasserts.py +26 -0
  17. littlefs_python-0.13.0/littlefs/tests/test_paths.toml +7398 -0
  18. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_seek.toml +108 -0
  19. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_superblocks.toml +27 -0
  20. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/__init__.py +11 -0
  21. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/__main__.py +36 -1
  22. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/lfs.c +3008 -2766
  23. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pxd +1 -0
  24. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pyi +1 -0
  25. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/lfs.pyx +2 -0
  26. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/PKG-INFO +6 -5
  27. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/lfs/test_dir_functions.py +3 -3
  28. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_version.py +1 -1
  29. littlefs_python-0.11.0/littlefs/tests/test_paths.toml +0 -336
  30. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.gitattributes +0 -0
  31. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.github/dependabot.yml +0 -0
  32. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.gitignore +0 -0
  33. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.gitmodules +0 -0
  34. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.pre-commit-config.yaml +0 -0
  35. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/.readthedocs.yml +0 -0
  36. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/LICENSE +0 -0
  37. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/MANIFEST.in +0 -0
  38. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/ci/build-wheels.sh +0 -0
  39. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/ci/download_release_files.py +0 -0
  40. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/Makefile +0 -0
  41. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/api/index.rst +0 -0
  42. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/cli.rst +0 -0
  43. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/conf.py +0 -0
  44. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/doc8.ini +0 -0
  45. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/examples/index.rst +0 -0
  46. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/index.rst +0 -0
  47. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/make.bat +0 -0
  48. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/requirements.txt +0 -0
  49. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/docs/usage.rst +0 -0
  50. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/examples/mkfsimg.py +0 -0
  51. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/examples/walk.py +0 -0
  52. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.git +0 -0
  53. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.gitattributes +0 -0
  54. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.github/workflows/post-release.yml +0 -0
  55. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/.gitignore +0 -0
  56. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/DESIGN.md +0 -0
  57. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/LICENSE.md +0 -0
  58. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/Makefile +0 -0
  59. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/SPEC.md +0 -0
  60. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_emubd.c +0 -0
  61. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_emubd.h +0 -0
  62. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_filebd.c +0 -0
  63. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_filebd.h +0 -0
  64. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_rambd.c +0 -0
  65. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/bd/lfs_rambd.h +0 -0
  66. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/benches/bench_dir.toml +0 -0
  67. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/benches/bench_file.toml +0 -0
  68. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/benches/bench_superblock.toml +0 -0
  69. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/lfs_util.c +0 -0
  70. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/bench.py +0 -0
  71. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/changeprefix.py +0 -0
  72. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/code.py +0 -0
  73. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/cov.py +0 -0
  74. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/data.py +0 -0
  75. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/perf.py +0 -0
  76. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/perfbd.py +0 -0
  77. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/plot.py +0 -0
  78. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/plotmpl.py +0 -0
  79. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/readblock.py +0 -0
  80. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/readmdir.py +0 -0
  81. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/readtree.py +0 -0
  82. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/stack.py +0 -0
  83. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/structs.py +0 -0
  84. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/summary.py +0 -0
  85. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/tailpipe.py +0 -0
  86. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/teepipe.py +0 -0
  87. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/test.py +0 -0
  88. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/tracebd.py +0 -0
  89. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/scripts/watch.py +0 -0
  90. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_alloc.toml +0 -0
  91. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_attrs.toml +0 -0
  92. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_badblocks.toml +0 -0
  93. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_bd.toml +0 -0
  94. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_compat.toml +0 -0
  95. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_dirs.toml +0 -0
  96. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_entries.toml +0 -0
  97. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_evil.toml +0 -0
  98. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_exhaustion.toml +0 -0
  99. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_files.toml +0 -0
  100. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_interspersed.toml +0 -0
  101. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_move.toml +0 -0
  102. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_orphans.toml +0 -0
  103. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_powerloss.toml +0 -0
  104. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_relocations.toml +0 -0
  105. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/littlefs/tests/test_truncate.toml +0 -0
  106. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/mypy.ini +0 -0
  107. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/pyproject.toml +0 -0
  108. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/requirements.txt +0 -0
  109. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/setup.cfg +0 -0
  110. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/setup.py +0 -0
  111. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/context.py +0 -0
  112. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/errors.py +0 -0
  113. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs/py.typed +0 -0
  114. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/SOURCES.txt +0 -0
  115. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/dependency_links.txt +0 -0
  116. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/entry_points.txt +0 -0
  117. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/not-zip-safe +0 -0
  118. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/requires.txt +0 -0
  119. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/src/littlefs_python.egg-info/top_level.txt +0 -0
  120. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/lfs/conftest.py +0 -0
  121. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/lfs/test_file_functions.py +0 -0
  122. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/lfs/test_fs_functions.py +0 -0
  123. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_attr.py +0 -0
  124. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_block_count.py +0 -0
  125. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_directories.py +0 -0
  126. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_files.py +0 -0
  127. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_grow.py +0 -0
  128. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_multiversion.py +0 -0
  129. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_name_max.py +0 -0
  130. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_remove_rename.py +0 -0
  131. {littlefs_python-0.11.0 → littlefs_python-0.13.0}/test/test_walk.py +0 -0
@@ -8,10 +8,11 @@ jobs:
8
8
  runs-on: ${{ matrix.os }}
9
9
  strategy:
10
10
  matrix:
11
- os: [ubuntu-latest, windows-latest, macos-latest]
11
+ os: [ubuntu-22.04, macos-13, windows-latest]
12
12
 
13
13
  env:
14
- CIBW_SKIP: "cp36-* cp37-* pp* *-win_arm64 *-musllinux_aarch64"
14
+ CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* pp37-* pp38-* pp39-* pp310-*"
15
+ CIBW_SKIP: "cp36-* pp* *-win_arm64 *-musllinux_aarch64"
15
16
  CIBW_ARCHS_LINUX: "x86_64 i686 aarch64"
16
17
 
17
18
  steps:
@@ -26,10 +27,11 @@ jobs:
26
27
  platforms: all
27
28
 
28
29
  - name: Build wheels
29
- uses: pypa/cibuildwheel@v2.19.1
30
+ uses: pypa/cibuildwheel@v2.22.0
30
31
 
31
- - uses: actions/upload-artifact@v3
32
+ - uses: actions/upload-artifact@v4
32
33
  with:
34
+ name: wheels-${{ matrix.os }}
33
35
  path: ./wheelhouse/*.whl
34
36
 
35
37
  build_wheels_macos_arm64:
@@ -46,10 +48,10 @@ jobs:
46
48
  submodules: "recursive"
47
49
 
48
50
  - name: Build wheels
49
- uses: pypa/cibuildwheel@v2.19.1
51
+ uses: pypa/cibuildwheel@v2.22.0
50
52
  env:
51
53
  CIBW_BUILD: ${{ matrix.cibw_build }}
52
- CIBW_SKIP: "cp36-* cp37-*"
54
+ CIBW_SKIP: "cp36-* pp*"
53
55
  CIBW_ARCHS: ${{ matrix.cibw_archs }}
54
56
  CIBW_REPAIR_WHEEL_COMMAND: |
55
57
  echo "Target delocate archs: {delocate_archs}"
@@ -73,13 +75,14 @@ jobs:
73
75
  delocate-listdeps --all {dest_dir}/$WHEEL_SIMPLE_FILENAME
74
76
 
75
77
  echo "DONE."
76
- - uses: actions/upload-artifact@v3
78
+ - uses: actions/upload-artifact@v4
77
79
  with:
80
+ name: wheels-macos-arm64
78
81
  path: ./wheelhouse/*.whl
79
82
 
80
83
  build_sdist:
81
84
  name: Build source distribution
82
- runs-on: ubuntu-latest
85
+ runs-on: ubuntu-22.04
83
86
  steps:
84
87
  - uses: actions/checkout@v4
85
88
  with:
@@ -90,21 +93,23 @@ jobs:
90
93
  pip install build
91
94
  python -m build . --sdist
92
95
 
93
- - uses: actions/upload-artifact@v3
96
+ - uses: actions/upload-artifact@v4
94
97
  with:
98
+ name: wheels-sdist
95
99
  path: dist/*.tar.gz
96
100
 
97
101
  upload_pypi:
98
102
  needs: [build_wheels, build_wheels_macos_arm64, build_sdist]
99
- runs-on: ubuntu-latest
103
+ runs-on: ubuntu-22.04
100
104
  # if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/')
101
105
  steps:
102
- - uses: actions/download-artifact@v3
106
+ - uses: actions/download-artifact@v4
103
107
  with:
104
- name: artifact
105
108
  path: dist
109
+ pattern: wheels-*
110
+ merge-multiple: true
106
111
 
107
- - uses: pypa/gh-action-pypi-publish@v1.9.0
112
+ - uses: pypa/gh-action-pypi-publish@v1.12.2
108
113
  with:
109
114
  user: __token__
110
115
  password: ${{ secrets.pypi_api_token }}
@@ -14,8 +14,8 @@ jobs:
14
14
  runs-on: ${{ matrix.os }}
15
15
  strategy:
16
16
  matrix:
17
- os: [ubuntu-latest, macos-latest, windows-latest]
18
- python-version: [3.8, 3.9, "3.10", "3.11"]
17
+ os: [ubuntu-22.04, macos-13, windows-latest]
18
+ python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
19
19
 
20
20
  steps:
21
21
  - uses: actions/checkout@v4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: littlefs-python
3
- Version: 0.11.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.9.0, v0.11.X, 2.0 / 2.1 [#f1]_
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.8 - 3.12 / x86_64, arm64
117
- + MacOS: Python 3.8 - 3.12 / x86_64, arm64
118
- + Windows: Python 3.8 - 3.12 / 32- & 64-bit
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.9.0, v0.11.X, 2.0 / 2.1 [#f1]_
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.8 - 3.12 / x86_64, arm64
93
- + MacOS: Python 3.8 - 3.12 / x86_64, arm64
94
- + Windows: Python 3.8 - 3.12 / 32- & 64-bit
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@v2
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: dawidd6/action-download-artifact@v2
33
+ - uses: actions/download-artifact@v4
34
34
  continue-on-error: true
35
35
  with:
36
- workflow: ${{github.event.workflow_run.name}}
37
- run_id: ${{github.event.workflow_run.id}}
38
- name: sizes
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: dawidd6/action-download-artifact@v2
41
+ - uses: actions/download-artifact@v4
41
42
  continue-on-error: true
42
43
  with:
43
- workflow: ${{github.event.workflow_run.name}}
44
- run_id: ${{github.event.workflow_run.id}}
45
- name: cov
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: dawidd6/action-download-artifact@v2
49
+ - uses: actions/download-artifact@v4
48
50
  continue-on-error: true
49
51
  with:
50
- workflow: ${{github.event.workflow_run.name}}
51
- run_id: ${{github.event.workflow_run.id}}
52
- name: bench
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: dawidd6/action-download-artifact@v2
16
+ - uses: actions/download-artifact@v4
17
17
  continue-on-error: true
18
18
  with:
19
- workflow: ${{github.event.workflow_run.name}}
20
- run_id: ${{github.event.workflow_run.id}}
21
- name: status
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: dawidd6/action-download-artifact@v2
71
+ - uses: actions/download-artifact@v4
71
72
  continue-on-error: true
72
73
  with:
73
- workflow: ${{github.event.workflow_run.name}}
74
- run_id: ${{github.event.workflow_run.id}}
75
- name: comment
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@v2
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@v2
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@v2
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@v2
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-sizes
320
+ - name: upload-status-cov
321
321
  if: ${{matrix.arch == 'x86_64'}}
322
- uses: actions/upload-artifact@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
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@v2
707
+ - uses: actions/download-artifact@v4
708
708
  if: ${{github.event_name == 'pull_request'}}
709
709
  continue-on-error: true
710
710
  with:
711
- name: sizes
711
+ pattern: '{sizes,sizes-*}'
712
+ merge-multiple: true
712
713
  path: sizes
713
- - uses: actions/download-artifact@v2
714
+ - uses: actions/download-artifact@v4
714
715
  if: ${{github.event_name == 'pull_request'}}
715
716
  continue-on-error: true
716
717
  with:
717
- name: cov
718
+ pattern: '{cov,cov-*}'
719
+ merge-multiple: true
718
720
  path: cov
719
- - uses: actions/download-artifact@v2
721
+ - uses: actions/download-artifact@v4
720
722
  if: ${{github.event_name == 'pull_request'}}
721
723
  continue-on-error: true
722
724
  with:
723
- name: bench
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@v2
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