Commit Graph

109 Commits

Author SHA1 Message Date
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
Phil Howard 1d003a80c2 CI: Revert lib/pico-sdk before build.
Revert lib/pico-sdk back to default before building.

Avoids a patched tree (fetched via the cache) leaking into or breaking subsequent builds.
2023-04-24 11:46:02 +01:00
Phil Howard a19f5943c3 CI: Use name instead of board for build dir.
Disambiguate build dir between multiple firmwares that use the same board, but different config.

Avoids cryptic errors caused by incompatible build artifacts leaking into other builds via the MicroPython cache.
2023-04-24 11:36:21 +01:00
Phil Howard 3a35013667 CI: Apply patch from MicroPython root dir. 2023-03-28 22:24:11 +01:00
Phil Howard cce02feabd CI: Set MICROPY_BOARD_DIR in CI workflow.
Move out of the USER_C_MODULES .cmake file.
2023-03-28 22:04:41 +01:00
Phil Howard aeca08f275 CI: Restore Tufty 2040 board def.
Set the PICO_BOARD_HEADER_DIRS environment variable as per https://github.com/raspberrypi/pico-sdk/blob/master/src/boards/generic_board.cmake

Add our local search path alongside the existing Pico SDK boards dir.
2023-03-28 21:25:22 +01:00
Phil Howard d69797689a CI: Reduce repetition in product names. 2023-03-28 21:06:07 +01:00
Phil Howard af352ff33f CI: Remove repetition of Build from build names. 2023-03-28 21:05:11 +01:00
Phil Howard 883d751f52 CI: Switch to MICROPY_BOARD_DIR and simplify fixups. 2023-03-28 21:05:05 +01:00
Phil Howard acf0e568bd CI: Tidyup and combine MicroPython builds. 2023-03-28 14:16:40 +01:00
Phil Howard 569bcadcae CI: Bump MicroPython to 38e7b84.
Diff 05bb26010e...38e7b842c6
2023-03-27 11:24:01 +01:00
Phil Howard 587588dca5 CI: Bump MicroPython to 05bb260.
Changes: 294098d28e...05bb26010e
2023-03-17 11:22:56 +00:00
Phil Howard bb004e03a6 Badger: Deprecate firmware builds.
Remove builds for Badger 2040 and Badger 2040 W, these now live at: https://github.com/pimoroni/badger2040/
2023-03-17 11:18:45 +00:00
Phil Howard 52f9c33874 CI: Separate CCache cache for Pico/PicoW. 2023-02-23 17:41:21 +00:00
Phil Howard 85881db00c CI: Don't include debug .elf files in artifacts. 2023-02-21 13:28:20 +00:00
Phil Howard 1b2dae45d3 Cosmic Unicorn: Add config and workflow for .uf2. 2023-02-21 12:52:46 +00:00
Phil Howard fd2f285f16 CI: Bump MicroPython to latest commit post Pico SDK 1.5.0 bump. 2023-02-20 10:56:39 +00:00
Phil Howard 25efb91eae CI: Upload Badger 2040 W examples .uf2 to release files. 2023-02-16 15:42:08 +00:00
Phil Howard 3f0efa9765 Badger2040W/CI: Bump MicroPython to 35524a6. 2023-02-10 22:15:09 +00:00
Phil Howard 16e99a5a89 Badger2040W: Bump MicroPython to 67fac4e. 2023-02-10 22:15:09 +00:00
Phil Howard d1646e5d76 CI: Badger2040W: Fix deprecation warnings. 2023-02-10 22:12:02 +00:00
Phil Howard ac2da23c96 Badger2040W: Append filesystem. 2023-02-10 22:12:02 +00:00
Phil Howard d25324d6c7 MicroPython: Add Badger2040W firmware build. 2023-02-10 22:12:02 +00:00
Philip Howard 884722de50
Merge pull request #649 from pimoroni/patch-bump-micropython
CI: Bump MicroPython to 67fac4e.
2023-01-27 11:19:28 +00:00
Phil Howard 2d28880529 CI: CMake build for Pico W and Pico. 2023-01-27 09:54:24 +00:00
Phil Howard 9bf6bdde06 CI: Bump MicroPython to 67fac4e. 2023-01-25 12:13:26 +00:00
Phil Howard c46320656d MicroPython: Bump to 699477d. 2023-01-11 09:46:45 +00:00
Phil Howard 0e1b37d36a MicroPython: Bump to bb77c1d. 2023-01-11 09:46:45 +00:00
Phil Howard c7bdf4a3cc MicroPython: Bump to d1ed0f1. 2023-01-11 09:46:45 +00:00
Phil Howard c42679b355 MicroPython: Bump Pico and Badger to MicroPython eefd946. 2023-01-11 09:46:45 +00:00
Phil Howard 04888da334 MicroPython: Bump PicoW to eefd946. 2023-01-11 09:46:45 +00:00
Phil Howard a4a5b58d93 CI: Bump MicroPython Pico W to latest upstream commit. 2023-01-11 09:46:45 +00:00
Phil Howard b041b546e6 MicroPython: Bump PicoW to 4903e48. 2023-01-11 09:46:45 +00:00
ZodiusInfuser 05d26aeecb Wakeup: Add shift register support. 2022-12-20 13:46:02 +00:00
ZodiusInfuser 43ef76b945 CI: Add build for Inky Frame. 2022-12-20 13:46:02 +00:00
Charlie Birks 52164a1c34 Update actions for deprecation warnings 2022-12-19 12:54:16 +00:00
Phil Howard 70b7d3065d Galactic Unicorn: Add dedicated firmware build. 2022-10-13 14:53:22 +01:00
Phil Howard 42a29dbe7b Wakeup: Port to Badger 2040. 2022-08-08 12:05:55 +01:00
Phil Howard fb246441bd MicroPython: Add picow_enviro build. 2022-08-08 12:05:18 +01:00
Phil Howard d0dfa890df MicroPython: Bump PicoW. 2022-08-08 09:59:06 +01:00
Phil Howard d7894df308 BadgerOS: Fix with-modules build. 2022-08-04 11:39:30 +01:00
Phil Howard 527b97fb91 Python: Show source of linting errors. 2022-08-03 08:58:04 +01:00