Skip to content

Commit

Permalink
CI: Compact filesystem.
Browse files Browse the repository at this point in the history
Bump dir2uf2 to v0.0.5 and use --fs-compact to trim the PicoSystem "with
examples" uf2 from 32mb down to around 2mb.
  • Loading branch information
Gadgetoid committed Jul 12, 2024
1 parent 19daaf5 commit 39e9bc9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
uses: actions/checkout@v4
with:
repository: gadgetoid/dir2uf2
ref: v0.0.4
ref: v0.0.5
path: dir2uf2

- name: "HACK: Overclock & Overvolt Patch"
Expand Down Expand Up @@ -150,8 +150,8 @@ jobs:
- name: Append Filesystem
shell: bash
run: |
python3 -m pip install littlefs-python==0.4.0
./dir2uf2/dir2uf2 --append-to micropython/ports/rp2/build/${{env.RELEASE_FILE}} --manifest ${{env.BOARD_DIR}}/uf2-manifest.txt --filename with-examples.uf2 ${{env.EXAMPLES_DIR}}/
python3 -m pip install -r dir2uf2/requirements-micropython-1.23.0.txt
./dir2uf2/dir2uf2 --fs-compact --append-to micropython/ports/rp2/build/${{env.RELEASE_FILE}} --manifest ${{env.BOARD_DIR}}/uf2-manifest.txt --filename with-examples.uf2 ${{env.EXAMPLES_DIR}}/
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 39e9bc9

Please sign in to comment.