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
Phil Howard
576a2d9ebf
CI: Add Pico LiPo 4MB
2022-03-11 09:33:51 +00:00
Phil Howard
2fd0330f63
CI: Move modules_py copy to CMake
2022-03-11 09:24:54 +00:00
Phil Howard
97de2e90e1
CI: Key cache on MicroPython version
2022-03-11 01:10:45 +00:00
Phil Howard
6af3e22bc3
CI: Always checkout latest
2022-03-11 01:03:25 +00:00
Phil Howard
8e8ac885e2
CI: Do not regen workspace cache
2022-03-11 01:03:20 +00:00
Phil Howard
fccdbd28af
CI: Use ccache
2022-03-11 00:38:55 +00:00
Phil Howard
8f0f4d0510
CI: Prettier names for .uf2 files
2022-03-11 00:21:07 +00:00
Phil Howard
eac8c68415
CI: Build MicroPython for multiple boards
2022-03-10 23:18:18 +00:00
Phil Howard
64dbdd56e7
Bump MicroPython to v1.18
...
* Bump Blinka to 6.20.1 (from 6.14.1)
* Bump PlatformDetetc to 3.19.3 (from 3.15.3)
2022-01-25 12:14:25 +00:00
Phil Howard
38fc7de762
Bump MicroPython to v1.17
2021-10-11 12:23:40 +01:00
Phil Howard
26537021a5
Bump CiPy MicroPython to 1.16
...
Rename artifact files so we can tell them apart when downloaded.
2021-09-02 10:10:02 +01:00
Phil Howard
6a4df04ac6
Add python module for RGBLED and Button
...
Add a pimoroni.py module which includes Python code equivilents of the RGBLED and Button C++ drivers.
This is simpler than binding these drivers into MicroPython and much easier to maintain/extend.
2021-07-28 12:06:57 +01:00
Phil Howard
09b570ff66
Bump MicroPython to v1.16
...
* Bump MicroPython from v1.15 to v1.16
* Bump Blinka from 6.10.1 to 6.10.2
* Bump PlatformDetect from 3.13.3 to 3.14.1
* Revert backport patch/hotfix for lwip submodule
2021-06-23 12:47:53 +01:00
Phil Howard
9935e0d781
Hotfix lwip submodule to avoid server errors
...
Pulls down the upstream patch from https://github.com/micropython/micropython/pull/7250 and applies it.
Issue discussed here: https://github.com/micropython/micropython/issues/5356
2021-06-05 19:38:42 +01:00
Phil Howard
4f8dfd0ed7
Add PlatformDetect and Blinka as frozen modules
...
This new workflow will build a separate release of MicroPython that includes Blinka and PlatformDetect for compatibility with Adafruit CircuitPython .py libraries.
2021-05-20 14:25:30 +01:00