Phil Howard
a987853162
CI: Attempt to catch flash overflow.
...
Using a custom patch against MicroPython's CMakeLists.txt this will
optionally use a memmap_mp.ld file from the *board* directory and
allow us to check if the allocated app flash overflows.
Linker scripts need configured on a per board basis.
2024-04-17 13:26:00 +01:00
Phil Howard
a0e0b85976
CI: Print memory usage.
...
Add a patch for CMakeLists.txt which adds -Wl,--print-memory-usage so
we can get at least some useful information about which builds are
running close to the limits.
2024-04-17 13:26:00 +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
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
fd2f285f16
CI: Bump MicroPython to latest commit post Pico SDK 1.5.0 bump.
2023-02-20 10:56:39 +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
Charlie Birks
52164a1c34
Update actions for deprecation warnings
2022-12-19 12:54:16 +00:00
Phil Howard
5403947084
CI: Revert: wget ARM GCC toolchain
...
This change resulted in an incomplete toolchain producing broken, bloated builds with exceptions and introspection enabled.
2022-07-22 14:17:54 +01:00
Phil Howard
122e57aa9a
CI: Build Tufty 2040 + Board fixups.
...
Add board fixups including Pico SDK board .h and MicroPython board dir since these are not yet upstream.
2022-06-17 11:38:19 +01:00
Phil Howard
3cd64747b2
MicroPython: Bump CI to v1.19.
2022-06-16 14:49:06 +01:00
Phil Howard
9a494828bc
CI: Customised MPY modules per-board
2022-05-27 11:32:52 +01:00
Phil Howard
b7061b9dd7
CI: EXPERIMENTAL: wget ARM GCC toolchain
2022-03-11 12:03:27 +00:00