Skip to content

Commit

Permalink
TinyFX: Make 4MB the default and drop 2MB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Jul 29, 2024
1 parent 8a5c0ff commit 09f3ba4
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 202 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/micropython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,9 @@ jobs:
strategy:
matrix:
include:
- name: TinyFX 2MB
shortname: tinyfx_2m
- name: TinyFX
shortname: tinyfx
board: PIMORONI_TINYFX
- name: TinyFX 4MB
shortname: tinyfx_4m
board: PIMORONI_TINYFX
variant: FLASH_4MB

env:
RELEASE_FILE: pimoroni-${{matrix.shortname}}-${{github.event.release.tag_name || github.sha}}-micropython.uf2
Expand Down Expand Up @@ -121,12 +117,11 @@ jobs:
ref: v0.0.5
path: dir2uf2

- name: "HACK: MicroPython out of tree board pins.csv & variants patches"
- name: "HACK: MicroPython out of tree board pins.csv patch"
shell: bash
working-directory: micropython
run: |
git apply "${{env.FIRMWARE_DIR}}/932f76c6ba64c5a3e68de3324556d9979f09303b.patch"
git apply "${{env.FIRMWARE_DIR}}/5dff78f38edc0354e854e6c73af61c5064afe9d3.patch"
# Install apt packages
- name: Install CCache & Compiler
Expand All @@ -139,7 +134,7 @@ jobs:
shell: bash
working-directory: micropython/ports/rp2
run: |
cmake -S . -B build -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.BOARD_DIR}}/micropython.cmake -DMICROPY_BOARD_DIR=${{env.BOARD_DIR}} -DMICROPY_BOARD=${{env.BOARD}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DMICROPY_BOARD_VARIANT=${{env.VARIANT}} -DPICO_BOARD_HEADER_DIRS=${{env.BOARD_DIR}}
cmake -S . -B build -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.BOARD_DIR}}/micropython.cmake -DMICROPY_BOARD_DIR=${{env.BOARD_DIR}} -DMICROPY_BOARD=${{env.BOARD}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DPICO_BOARD_HEADER_DIRS=${{env.BOARD_DIR}}
- name: Build MicroPython
shell: bash
Expand Down
101 changes: 0 additions & 101 deletions boards/5dff78f38edc0354e854e6c73af61c5064afe9d3.patch

This file was deleted.

2 changes: 1 addition & 1 deletion boards/PIMORONI_TINYFX/mpconfigboard.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Board and hardware specific configuration
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Pico"
#define MICROPY_HW_BOARD_NAME "Pimoroni TinyFX 4MB"
#define MICROPY_HW_FLASH_STORAGE_BYTES (1408 * 1024)
6 changes: 0 additions & 6 deletions boards/PIMORONI_TINYFX/mpconfigvariant.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions boards/PIMORONI_TINYFX/mpconfigvariant_FLASH_4M.cmake

This file was deleted.

79 changes: 0 additions & 79 deletions boards/PIMORONI_TINYFX/pimoroni_tinyfx.h

This file was deleted.

0 comments on commit 09f3ba4

Please sign in to comment.