Skip to content

Commit

Permalink
CI: Update dir2uf2 and use --fs-compact.
Browse files Browse the repository at this point in the history
Use the --fs-compact option to shrink the with-examples .uf2 to the size of the files
rather than the full user flash.
  • Loading branch information
Gadgetoid committed Jul 17, 2024
1 parent 674f744 commit 7e3a0f8
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 @@ -117,7 +117,7 @@ jobs:
- uses: actions/checkout@v4
with:
repository: gadgetoid/dir2uf2
ref: v0.0.4
ref: v0.0.5
path: dir2uf2

# HACK: Patch startup overclock into Pico SDK
Expand Down Expand Up @@ -168,8 +168,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-badger-os.uf2 ${{env.BADGER_OS_DIR}}/
python3 -m pip install littlefs-python==0.12.0
./dir2uf2/dir2uf2 --fs-compact --append-to micropython/ports/rp2/build/${{env.RELEASE_FILE}} --manifest ${{env.BOARD_DIR}}/uf2-manifest.txt --filename with-badger-os.uf2 ${{env.BADGER_OS_DIR}}/
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7e3a0f8

Please sign in to comment.