Commit Graph

2206 Commits

Author SHA1 Message Date
Phil Howard 45a2e0f5b1 MicroPython: Set hostname for Enviro and Inky. 2023-05-02 16:35:37 +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
ZodiusInfuser d4d6cd1936 Progress on encoder wheel C++ and MP 2023-05-02 16:19:22 +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
ZodiusInfuser 928c28b677 Switch to rom_map 2023-05-02 13:28:49 +01:00
ZodiusInfuser 2d45ed6ace Updated mp function list 2023-05-02 12:51:05 +01:00
ZodiusInfuser 178afd1469 remove description prints 2023-05-02 10:22:14 +01:00
ZodiusInfuser 6464f44437 Fix micropython config 2023-05-02 10:22:14 +01:00
ZodiusInfuser cd83a51e8a Fix micropython config 2023-05-02 10:22:14 +01:00
ZodiusInfuser f353525090 First porting of python examples 2023-05-02 10:22:14 +01:00
ZodiusInfuser 7c11593f7c Fix for IOExpander address not getting changed 2023-05-02 10:22:14 +01:00
ZodiusInfuser e3c3692e31 Test python for encoder 2023-05-02 10:22:14 +01:00
ZodiusInfuser 15978e5ddc Temporary fix for compiler issues 2023-05-02 10:22:14 +01:00
ZodiusInfuser 59d57a193b Initial support for Encoder wheel breakout 2023-05-02 10:22:14 +01:00
Philip Howard 56dba370c6
Merge pull request #762 from pimoroni/ci/single-job
CI: Single-job builds to avoid #761.
2023-04-28 16:39:23 +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
Philip Howard f0975778f6
Merge pull request #759 from pimoroni/ci/version-info
CI: Set MICROPY_GIT_TAG for #752.
2023-04-27 15:40: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
Hel Gibbons b512bdcea1
Merge pull request #760 from andrewmk/main
Fix relative link to PicoGraphics documentation
2023-04-26 12:24:15 +01:00
andrewmk 49e0b25557
Fix relative link to PicoGraphics documentation 2023-04-26 11:27:44 +01:00
Phil Howard c25de67247 CI: Set MICROPY_GIT_TAG and MICROPY_GIT_HASH for #752. 2023-04-26 10:36:39 +01:00
Philip Howard 334283a8f6
Merge pull request #757 from pimoroni/ci/board-manifests
MicroPython: Set board manifest for Inky, Enviro.
2023-04-24 15:21:12 +01:00
Phil Howard af99d6d5f8 MicroPython: Set board manifest for Inky, Enviro. 2023-04-24 15:05:21 +01:00
Philip Howard 5bfc0eba4c
Merge pull request #756 from pimoroni/ci/fix-caching
CI: Fix various build errors due to a caching race condition.
2023-04-24 12:25:41 +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
Hel Gibbons cb5dcb965e
Merge pull request #750 from pimoroni/helgibbons-patch-1
Galactic: add link
2023-04-19 11:02:55 +01:00
Hel Gibbons f48c17ae1f
Merge pull request #751 from phennessey7/patch-1
Update noise.py
2023-04-19 11:01:51 +01:00
phennessey7 d78fffcd54
Update noise.py
Replaced extra blank line after edit on line 112 that was mistakenly deleted!
2023-04-14 10:04:07 -07:00
phennessey7 7b7959ef20
Update noise.py
Updated the song notes to play a more accurate version of the "Sailor's Hornpipe" tune!
2023-04-13 12:15:55 -07:00
Hel Gibbons 39eae8d42c
Galactic: add link 2023-04-13 13:31:01 +01:00
Quitsoon f6206876b7
Update pico_rtc.py
Just a little correction of the word "timer" instead of "alarm" for the last test.
2023-04-11 21:17:35 +02:00
mutatrum 7bdd85d677 Fix web server only serving file once and wifi country configuration 2023-04-08 16:57:01 +02:00
Philip Howard 7b7352130f
Merge pull request #739 from pimoroni/helgibbons-patch-1
PicoGraphics: document `dither=False`
2023-03-29 11:38:07 +01:00
Philip Howard 40d4774cf6
Merge pull request #737 from pimoroni/patch-cleanup-workflows
CI: Tidyup and combine MicroPython builds.
2023-03-29 11:36:49 +01:00
Phil Howard 3a35013667 CI: Apply patch from MicroPython root dir. 2023-03-28 22:24:11 +01:00
Phil Howard 3bdb27458f CI: Don't monkey with manifest.py paths. 2023-03-28 22:12:00 +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
Hel Gibbons 5fa99c0690 PicoGraphics: add link 2023-03-28 16:44:30 +01:00
Hel Gibbons 75602b3fbb Galactic: add link 2023-03-28 16:17:45 +01:00
Hel Gibbons 6e7ec899eb
PicoGraphics: document `dither=False` 2023-03-28 15:56:15 +01:00
Phil Howard acf0e568bd CI: Tidyup and combine MicroPython builds. 2023-03-28 14:16:40 +01:00
Philip Howard c9bee93372
Merge pull request #733 from pimoroni/patch-cpp-init-heap
Refactor out remaining C++ heap usage during init.
2023-03-27 15:28:15 +01:00
Phil Howard 540bc2f75f Pico Unicorn/Scroll: Add buttons/dimensions to both module and class. 2023-03-27 15:11:30 +01:00