Commit Graph

1994 Commits

Author SHA1 Message Date
Phil Howard 8648597134 CI: Clean ports/rp2/modules before each build. 2023-05-03 17:21:18 +01:00
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
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
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
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
Phil Howard 761e8b5c3c MicroPython: Don't include Hershey font map. 2023-03-27 15:11:30 +01:00
Phil Howard 07bc005958 LTR559: Refactor std::vector lookup to template. 2023-03-27 15:11:30 +01:00
Phil Howard bad6a9e8d6 CPPMEM: Reduce fixed C++ heap to 1k.
Removing the use of std::map from LTP305's "dotfont" dramatically reduced init heap usage. Reduce the fixed buffer to account for this.
2023-03-27 15:11:30 +01:00
Phil Howard 049a121974 Dot Matrix: Allow set char from string. 2023-03-27 15:11:30 +01:00
Phil Howard cc5a2bdb6f Dot Matrix: Replace std::map to avoid excessive init heap usage. 2023-03-27 15:11:30 +01:00
Phil Howard 140fe913ae MicroPython: Don't include wireless pack in W builds. 2023-03-27 15:11:30 +01:00
Philip Howard 64941584d1
Merge pull request #732 from pimoroni/patch-bump-micropython
CI: Bump MicroPython to 38e7b84.
2023-03-27 15:06:12 +01:00
Phil Howard 569bcadcae CI: Bump MicroPython to 38e7b84.
Diff 05bb26010e...38e7b842c6
2023-03-27 11:24:01 +01:00
Philip Howard 9f71c04ea8
Merge pull request #731 from pimoroni/patch-wifi-examples
MicroPython: Various networking fixes to code & examples.
2023-03-27 11:16:44 +01:00
Phil Howard 0d0dc6a781 MicroPython: Various networking fixes to code & examples.
Replaces https://github.com/pimoroni/pimoroni-pico/pull/712, https://github.com/pimoroni/pimoroni-pico/pull/632 and https://github.com/pimoroni/pimoroni-pico/pull/630

Co-authored-by: ben4github <ben4github@users.noreply.github.com>
Co-authored-by: Alexander Gee <bostwickenator@gmail.com>
2023-03-27 11:06:36 +01:00
Philip Howard 2303702c15
Merge pull request #730 from pimoroni/patch-boot-py
Move boot.py to modules_py.cmake
2023-03-27 10:59:25 +01:00
Philip Howard d9d71c663f
Merge pull request #722 from pimoroni/docs/badger2040
Badger 2040: Add deprecation warnings and firmware links.
2023-03-27 10:50:39 +01:00