Commit Graph

2003 Commits

Author SHA1 Message Date
thirdr 95bdd42177 added new function test 2023-05-10 09:00:18 +01:00
Hel Gibbons 302d6ae0eb
Merge pull request #768 from pimoroni/helgibbons-patch-1
Cosmic: add links
2023-05-05 12:19:27 +01:00
Hel Gibbons 1be888f397
Cosmic: add links 2023-05-05 12:11:50 +01:00
Philip Howard 7491ced13b
Merge pull request #767 from pimoroni/1.14_lcd_improved
Display initialisation fixes for the Pico Display Pack 1.14" LCD
2023-05-04 15:42:37 +01:00
Niko Kotilainen 1dcad21ed2 Pico Display Pack: Display init fixes. 2023-05-04 15:07:27 +01:00
Pete Favelle a59aa35df5
Improved inky's sleep_for, now handles up to 28 days (#754) 2023-05-04 14:54:23 +01:00
Philip Howard b6499e71fc
Merge pull request #764 from pimoroni/ci/smolmodules
Reduce size & workload of MicroPython build cache
2023-05-04 14:48: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 b30d9ca554 CI: Switch py modules from cmake hacks to manifest.py.
A long overdue fix. Uses board-specific manifest.py files to freeze Python modules, instead of polluting ports/rp2/modules.
2023-05-03 18:04:55 +01:00
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