Wykres commitów

150 Commity (patch-exception-handling)

Autor SHA1 Wiadomość Data
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
Philip Howard 86609b9047
Merge pull request #473 from pimoroni/patch-badger2040-no-modules
Badger2040: Produce build without baked-in modules.
2022-07-27 12:29:23 +01:00
Phil Howard 11f0f2f0f9 Badger2040: Produce build without baked-in BadgerOS. 2022-07-27 11:56:44 +01:00
Phil Howard 3e88cd867b MicroPython: Grab micropython-lib for PicoW urequests.
Fix #472
2022-07-27 10:42:12 +01:00
Phil Howard 23dcde0da2 MicroPython: Bump for macOS USB race cond fix, again. 2022-07-27 09:29:31 +01:00
Phil Howard 336237ba1a MicroPython: Bump for macOS USB race cond fix. 2022-07-25 17:20:05 +01:00
Phil Howard 185468dbc8 PicoW: Bump MPY to 5dbb822ca4a809ac5cb4513afb0411b4eb8dc3cf. 2022-07-22 15:34:21 +01:00
Philip Howard 5f19bbdeb0
Merge pull request #457 from pimoroni/patch-picow-memory-issues
Pico Scroll/Unicorn: Fix static memory alloc for Pico W.
2022-07-22 14:55:28 +01: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 de3ceac4a5 Pico Scroll/Unicorn: Fix static memory alloc for Pico W.
Pico Scroll and Pico Unicorn were allocating static buffers for gamma and font data respectively.

Make Pico Scroll's `__bitmap` static.

Move Pico Unicorn's three GAMMA tables to one 14-bit table in "pimoroni_common.hpp". Rename "GAMMA" to "GAMMA_8BIT".
2022-07-22 14:15:53 +01:00
Phil Howard cb2cefcd3d PicoW: Bump MicroPython to latest commit. 2022-07-13 12:00:17 +01:00
Phil Howard 74083d083c CI: Add PicoW MicroPython build.
Wireless raises memory usage significantly requiring Pico Unicorn and Pico Scroll (which both need slight refactoring) to be excluded from the build.

The Flash/Filesystem split has changed from a regular Pico build and may change again. Flashing this to a regular Pico *WILL TRASH YOUR FILESYSTEM*.
2022-07-01 07:08:12 +01:00
Phil Howard 9b032cb3a2 Badger2040: Move to more generic fixups hack. 2022-06-23 16:34:21 +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 805e3a81d5 CI: Drop Blinka build 2022-05-27 11:41:17 +01:00
Phil Howard 9a494828bc CI: Customised MPY modules per-board 2022-05-27 11:32:52 +01:00
Phil Howard 323d805585 Blinka: Add generic_micropython 2022-05-07 21:14:18 +01:00
Phil Howard f66663aa0e Bump Blinka and PlatformDetect
Blinka -> v7.3.0 for RP2040 i2c pin permutations fix
PlatformDetect -> 3.22.1 for MicroPython fixes
2022-05-06 12:11:30 +01:00
Phil Howard dece2aac85 CI: More complete Python linting 2022-03-11 12:25:18 +00:00
Phil Howard b7061b9dd7 CI: EXPERIMENTAL: wget ARM GCC toolchain 2022-03-11 12:03:27 +00:00
Phil Howard df090ac8e8 CI: Cache CMake build 2022-03-11 10:24:39 +00:00
Phil Howard ac12fa236b CI: Update Badger 2040 workflow 2022-03-11 10:00: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 d6f444ebb1 Badger2040: Install PIL for tooling 2022-03-04 11:21:53 +00:00
Phil Howard ef72098949 Badger2040: Build assets from source + CMake builtin copy 2022-03-04 11:06:42 +00:00
Phil Howard 6e7d8a1682 Badger2040: Allow builtin demos to be replaced 2022-03-01 15:18:40 +00:00
Phil Howard d99c7bc3cb Badger2040: Help and Info stubs, cleanup launcher icons 2022-02-25 15:46:04 +00:00
Phil Howard 25b4e84151 Badger2040: Add SHA to CI build artifact. 2022-02-25 11:08:32 +00:00
Phil Howard fa775ee196 Badger2040: Monkey-patch MicroPython flash size 2022-02-25 11:08:32 +00:00
Phil Howard 079e2397bf Badger2040: Build badgerOS 2022-02-25 11:08:32 +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 ba032325d9 Bump Blinka to 6.14.1
Includes a fix for an SPI-related MSB error using Blinka on Pico/MicroPython
2021-10-07 11:38:51 +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 f505be910a Bump Blinka and PlatformDetect
* Blinka 6.13
* PlatformDetect 3.15.3
2021-08-27 12:46:07 +01:00
Phil Howard 22d39faf5f Bringup BME688 and BME680 sensors
This changeset brings the BOSCH BME68X Sensor API library in as a submodule and makes it buildable with CMake.

A thin wrapper- the BME68X driver- provides simple init, configure, read_forced and read_parallel functions.

Two BME688 examples are available for forced-mode and parallel-mode operation.
2021-08-02 14:11:56 +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 bffca106f6 Bump blinka to 6.10.1 and platformdetect to 3.13.3
Should include fixes and improvements to RP2040 made in versions 6.9.2 and 6.10.1.
2021-06-05 19:20:57 +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
Phil Howard 063beb79f1 Ensure MicroPython CI breaks with invalid paths
Deliberately renames the pimoroni-pico directory so that paths which reference it will break with a compilation error.

This ensures a micropython build works robustly if a user renames/moves the pimoroni-pico directory relative to micropython.
2021-05-12 11:41:46 +01:00
Phil Howard ac6c379657 Use correct build output dir for generic PICO 2021-04-19 15:23:16 +01:00
Phil Howard d2fb995e0d Pin to uP v1.15 2021-04-19 15:23:09 +01:00
Phil Howard 47be7e5f31 Add Python linting 2021-04-15 09:36:38 +01:00
Philip Howard 9292e3f0e6
Merge pull request #113 from pimoroni/pico-audio-example
Add Pico Audio Pack example for #36
2021-03-31 18:08:32 +01:00
Phil Howard e2fffbb131 Append version to uP .uf2 2021-03-31 17:26:12 +01:00
Phil Howard b5ba4ba913 Add pico-extras to CI 2021-03-31 14:02:50 +01:00
Phil Howard 3b28650331 Switch MicroPython to build against upstream
USER_C_MODULE support has been merged upstream. Hooray!
2021-03-30 14:43:28 +01:00
Phil Howard 2c5b708685 Update MicroPython CI to use micropython.cmake 2021-03-23 12:44:31 +00:00
Phil Howard d9a12f8509 Add ulab to included modules
This change submodules in our fork of ulab with an added usermod.cmake and adds it to the top-level usermod.cmake for our shipped modules.

It should - in theory - result in ulab being included in release builds.
2021-03-08 21:23:19 +00:00
Philip Howard daac2c64d5
Github Actions Workflow (#17)
* C++ libs/examples workflow
* MicroPython workflow
* Workaround broken MicroPython submodules (http does not support shallow clones)
* Upload .uf2 to releases
* Switch to CI fork of uP for custom config - https://github.com/pimoroni/micropython/tree/continuous-integration
2021-01-24 14:52:59 +00:00