Commit Graph

12 Commits

Author SHA1 Message Date
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
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 e2fffbb131 Append version to uP .uf2 2021-03-31 17:26:12 +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