Skip to content

Commit

Permalink
Separate manifests for the two boards
Browse files Browse the repository at this point in the history
  • Loading branch information
ZodiusInfuser committed Oct 8, 2024
1 parent 0fa9eb0 commit 545d6ab
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,12 @@ jobs:
- name: TinyFX
shortname: tiny_fx
board: PIMORONI_TINYFX
manifest: uf2-manifest
- name: TinyFX W
shortname: tiny_fx_w
board: PIMORONI_TINYFX
variant: w
manifest: uf2-manifest-w

env:
RELEASE_FILE: pimoroni-${{matrix.shortname}}-${{github.event.release.tag_name || github.sha}}-micropython
Expand Down Expand Up @@ -197,7 +199,7 @@ jobs:
shell: bash
run: |
python3 -m pip install littlefs-python==0.12.0
./dir2uf2/dir2uf2 --fs-compact --append-to micropython/ports/rp2/build/${{env.RELEASE_FILE}}.uf2 --manifest ${{env.BOARD_DIR}}/uf2-manifest.txt --filename ${{env.FILESYSTEM_SUFFIX}}.uf2 ${{env.FILESYSTEM_DIR}}/
./dir2uf2/dir2uf2 --fs-compact --append-to micropython/ports/rp2/build/${{env.RELEASE_FILE}}.uf2 --manifest ${{env.BOARD_DIR}}/${{matrix.manifest}}.txt --filename ${{env.FILESYSTEM_SUFFIX}}.uf2 ${{env.FILESYSTEM_DIR}}/
- name: Store .uf2 as artifact
uses: actions/upload-artifact@v4
Expand Down
15 changes: 15 additions & 0 deletions boards/PIMORONI_TINYFX/uf2-manifest-w.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
main.py
secrets.py
examples/*.py
examples/effects/*.py
examples/effects/mono/*.py
examples/effects/colour/*.py
examples/function/*.py
examples/showcase/*.py
examples/audio/race_start.py
examples/audio/fair_use_encounters.py
examples/wifi/*.py
lib/*.py
lib/picofx/*.py
lib/picofx/colour/*.py
lib/picofx/mono/*.py
2 changes: 0 additions & 2 deletions boards/PIMORONI_TINYFX/uf2-manifest.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
main.py
secrets.py
examples/*.py
examples/effects/*.py
examples/effects/mono/*.py
Expand All @@ -8,7 +7,6 @@ examples/function/*.py
examples/showcase/*.py
examples/audio/race_start.py
examples/audio/fair_use_encounters.py
examples/wifi/*.py
lib/*.py
lib/picofx/*.py
lib/picofx/colour/*.py
Expand Down

0 comments on commit 545d6ab

Please sign in to comment.