Wykres commitów

150 Commity (patch-exception-handling)

Autor SHA1 Wiadomość Data
Phil Howard 4bbbab86f7 CI: Add Pico 2 and Pico 2 W builds. 2025-05-20 14:12:07 +01:00
Phil Howard d6b42b5abd CI: Bump MicroPython to v1.25.0. 2025-04-25 17:39:07 +01:00
Phil Howard a22c966ddd CI: Remove Unicorn boards.
These have moved to: https://github.com/pimoroni/unicorn
2025-04-25 17:33:53 +01:00
Phil Howard d0f2a8b1a2 CI: Bump MicroPython to v1.24.1. 2025-04-25 17:33:53 +01:00
Phil Howard 50522e44dd CI: Update Python linting. 2025-04-25 17:01:19 +01:00
Phil Howard 5297f9aa55 CI: Bump to Pico SDK 2.1.1. 2025-02-21 10:39:38 +00:00
Phil Howard 9290243910 CI: Fix ccache.
As per the docs ~/.ccache is only used if it exists.

It wont exist unless it's cached.

It wont cache unless it exists.

Create it, to break the cycle.
2024-12-03 12:17:10 +00:00
Phil Howard cae1b1381d Inky Frame: Remove MicroPython build and examples.
Inky Frame has a new home at: https://github.com/pimoroni/inky-frame
2024-12-03 11:49:28 +00:00
Phil Howard d24c2225ca CI: PPP-enabled Pico build. 2024-10-31 11:19:11 +00:00
Phil Howard 3e16e1228f CI: Bump MicroPython to v1.24.0. 2024-10-31 09:34:36 +00:00
Philip Howard c2418ee2fb
Merge pull request #1020 from pimoroni/patch-misc
A roundup of not necessarily related fixes from other branches
2024-10-25 15:44:34 +01:00
Phil Howard 02aa32bc36 CI: Update py_decl to 0.0.4.
Gives more detailed reports about firmware/flash size and overlap.
2024-10-25 15:02:45 +01:00
Phil Howard 3587b1be9f CI: Switch to action-gh-release.
Switch from the long deprecated upload-release-asset to action-gh-release
and attempt to replicate the same behaviour.

Avoids nodejs and set-output deprecation warnings:
- https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
- https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2024-10-25 11:24:38 +01:00
Phil Howard aa34f123a2 CI: Bump GCC to 13.3.Rel1. 2024-10-02 09:31:37 +01:00
Phil Howard 0f81e3111b CI: Bump CI to ubuntu-latest.
Ubuntu 20.04 LTS reaches end of life on 23 April 2025.
2024-10-02 09:20:39 +01:00
Phil Howard 9088320a7d CI: Bump Pico SDK to 2.0.0. 2024-08-08 16:38:39 +01:00
Phil Howard 001626127c CI: Pin SDK version to 1.5.1.
This should have been done forever ago!
2024-08-05 09:56:17 +01:00
Philip Howard 3fefcb8609
Merge pull request #968 from pimoroni/patch-remove-exceptions-patch
Move nano specs hack into our module cmake files.
2024-07-04 11:08:11 +01:00
Phil Howard e0d9510769 Move nano specs hack into our module cmake files.
We've been maintaining a downstream patch to disable C++ exception
handling, which gives us some headroom before our builds get too big and
overwrite themselves at runtime.

Forgetting to apply this patch is a constant source of debugging
frustration. It turns out it can just be added to our USER_C_MODULES cmake
files instead, where it will implicitly be included when building against
our modules.
2024-07-03 16:18:46 +01:00
Phil Howard 6eef96d9c9 CI: Revert to v1.23.0.
We'd moved past v1.23.0 to do our release in order to grab:

932f76c6ba

But this broke our builds due to:

https://github.com/micropython/micropython/issues/15220
2024-06-06 18:56:17 +01:00
Phil Howard 392890e99b RP_PICO_USB: New USB-enabled version of the stock Pico firmware.
⚠️ Warning: flash/firmware split is now 1Mb/1Mb to accomodate USB libs.

BACK UP YOUR PICO before flashing this build. It *will* trash your filesystem.

* Add new RP_PICO_USB board
* Use commit 932f76c6ba64c5a3e68de3324556d9979f09303b for 932f76c6ba
2024-06-04 19:55:24 +01:00
Phil Howard 64e26dc6f4 CI: Bump MicroPython to master.
CI will always run against the latest MicroPython commit.
2024-06-03 11:40:29 +01:00
Philip Howard 5691573f89
Merge pull request #933 from pimoroni/feature/scannable-release-names
CI: Scannable artifact and release names.
2024-06-03 11:34:07 +01:00
Phil Howard 45a9925072 CI: Add py_decl verify step to catch binary overflows. 2024-05-03 10:59:35 +01:00
Phil Howard 17d59f4729 CI: Scannable artifact and release names.
When I go to fetch an artifact for a MicroPython build my brain is
always confounded by the repetition of "pimoroni-" before each file.

Change the names so the product is up-front, so the list is easier
to scan-read through.
2024-04-17 13:00:40 +01:00
Phil Howard 8fc8a8ee06 CI: Rename tiny2040 to tiny2040_8mb.
It was not super obvious that this build is specific to the 8mb
version of Tiny 2040.
2024-04-11 17:01:21 +01:00
Phil Howard 3bfb548686 CI: Continue other MicroPython builds if one fails.
In almost all cases it's more useful to know if a given build
is likely to succeed rather than have *everything* fail. This
change adjusts the workflow to allow other builds to continue
if one fails.
2024-04-11 17:01:09 +01:00
Phil Howard 9c5b529754 CI: Update actions to fix nodejs deprecation warnings. 2024-04-08 12:47:14 +01:00
Phil Howard ad518064e9 CI: Bump MicroPython to v1.22.2. 2024-02-27 16:43:47 +00:00
Phil Howard bd6bd289d1 CI: Try to ccache mpy-cross 2024-01-08 11:20:08 +00:00
Phil Howard b6953c25a1 CI: Tidy up build steps 2024-01-08 11:20:08 +00:00
Phil Howard b5df0ac277 CI: Setup version env, patch skipped message. 2024-01-08 11:20:08 +00:00
Phil Howard 116bbb1296 CI: Use arm-none-eabi-gcc-action
Speeds up toolchain install (when cached) to ~7s an decouples us from the runner OS ARM GCC version.
2024-01-08 11:20:08 +00:00
Phil Howard 6154116662 CI: Move build steps to a bash script. 2024-01-08 11:20:04 +00:00
Phil Howard 3bac13fcc8 CI: Bump MicroPython to v1.22.1. 2024-01-08 09:46:43 +00:00
Phil Howard e691628723 CI: Bump MicroPython to v1.21.0.
I swear I had no idea this was imminent.

Changes: 856e08b193...v1.21.0
2023-10-06 13:55:29 +01:00
Phil Howard 08ce4fbb81 MicroPython: Update boards to match upstream naming conventions. 2023-10-06 13:55:29 +01:00
Phil Howard 20de8a3198 CI: Bump MicroPython to 6f76d1c.
Changes: 856e08b193...6f76d1c7fa
2023-10-06 13:55:29 +01:00
Phil Howard 090ce9d2c6 MicroPython: Enable Bluetooth support for Pico W builds. 2023-06-15 11:58:41 +01:00
ZodiusInfuser aabe789f21 Initial setup for StellarUnicorn build 2023-05-30 10:32:25 +01:00
Phil Howard 0a2e099886 CI: Add workflow version to cache key. 2023-05-18 11:55:21 +01:00
Phil Howard 7951ef9668 CI: Hack: Patch MicroPython to remove exception handling.
Force "-specs=nano.specs" on MicroPython builds and disable various stack unwinding and exception handling features for C++ modules.
2023-05-04 14:09:23 +01:00
Phil Howard 8648597134 CI: Clean ports/rp2/modules before each build. 2023-05-03 17:21:18 +01:00
Phil Howard e90ae33a99 CI: All MicroPython builds use local board dirs.
Simplify the build to use *only* local (to pimoroni-pico) copies of MicroPython board config dirs.

This allows us to specify MICROPY_C_HEAP_SIZE (and potentially other options) in board config rather than at build-time.
2023-05-02 16:21:11 +01:00
Phil Howard dd4347dac3 CI: Grab only necessary modules.
Reduces the MicroPython cache from ~879MB down to ~187MB for a reduction of around 6,920MB across builds.
2023-05-02 15:35:02 +01:00
Phil Howard 22a659a559 CI: Set C heap size.
This broke our release v1.20.0 since we clearly use malloc somewhere. Oops.

Set the heap size to get us a working release.
2023-04-28 16:09:41 +01:00
Phil Howard 70f133dd62 CI: Single-job builds to avoid #761. 2023-04-27 16:10:18 +01:00
Phil Howard c885789ada CI: Bump to MicroPython v1.20.0. 2023-04-27 15:04:06 +01:00
Phil Howard 8e0fe155c5 CI: Fix patch revert hack. 2023-04-27 15:03:59 +01:00
Phil Howard c25de67247 CI: Set MICROPY_GIT_TAG and MICROPY_GIT_HASH for #752. 2023-04-26 10:36:39 +01:00