Skip to content

Commit

Permalink
fix: install littlefs-python
Browse files Browse the repository at this point in the history
  • Loading branch information
rednblkx committed Jan 6, 2025
1 parent 9b32415 commit d797c37
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
submodules: 'recursive'
sparse-checkout: 'data'
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install littlefs-python
- name: Create LittleFS Image
run: build/littlefs_py_venv/bin/littlefs-python create $(pwd)/data spiffs.bin -v --fs-size=0x20000 --name-max=64 --block-size=4096
run: littlefs-python create $(pwd)/data littlefs.bin -v --fs-size=0x20000 --name-max=64 --block-size=4096
- name: Archive LittleFS image
uses: actions/upload-artifact@v4
with:
name: littlefs-binary
path: spiffs.bin
path: littlefs.bin

0 comments on commit d797c37

Please sign in to comment.