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
Phil Howard
0148e5f5e7
MicroPython: Move boot.py to modules_py.cmake.
...
The cppmem module *must* be switched into MicroPython heap mode or C++ code will inevitably run out of RAM.
Thus boot.py needs to be included in every build.
2023-03-27 10:41:16 +01:00
Phil Howard
f5859ad371
Badger: Drop deprecated cmake files.
2023-03-27 10:31:12 +01:00
Phil Howard
393879581a
Badger 2040: Add deprecation warnings and firmware links.
2023-03-27 10:30:19 +01:00
Philip Howard
c6b4a30c09
Merge pull request #725 from pimoroni/patch-frame-convert-heap
...
MicroPython: Magic C++ Memory Management.
2023-03-27 10:28:16 +01:00
Hel Gibbons
fbcd7836de
Merge pull request #729 from tjp/patch-1
...
Add reference to 7.3 inkyframe
2023-03-27 09:54:59 +01:00
Janos P Toth
be1b827cfc
Update README.md
2023-03-25 10:14:58 -07:00
Phil Howard
2c0310ca9a
MicroPython: Switch C++ allocation mode in boot.py.
2023-03-24 20:37:26 +00:00
Phil Howard
667faf70d1
MicroPython: Magic C++ allocator module.
...
This module redirects all pre-init object memory allocations into a static, fixed-sized, linear, non-freeing memory pool.
It then auto-switches into "MICROPYTHON" mode, whereupon all C++ `new` and `delete` calls are remapped to `m_malloc` and `m_free` respectively.
2023-03-24 15:11:07 +00:00
Hel Gibbons
1da4472926
Merge pull request #727 from pimoroni/helgibbons-patch-1
...
Docs: Fix link
2023-03-24 11:05:06 +00:00
Hel Gibbons
139569c2f3
Fix link
2023-03-24 10:17:27 +00:00
Philip Howard
aa70394495
Merge pull request #723 from pimoroni/helgibbons-patch-1
...
Scroll Pack: Fix demo.py
2023-03-21 15:28:19 +00:00
Hel Gibbons
0666dc885a
Scroll Pack: Fix demo.py
2023-03-21 14:24:03 +00:00
Hel Gibbons
5392c5aa03
Merge pull request #713 from pimoroni/examples/inky_frame
...
Inky Frame: add new examples and update sample images
2023-03-20 14:18:43 +00:00
Philip Howard
cb5db1d594
Merge pull request #711 from pimoroni/patch-jpegdec-filename
...
MicroPython: Avoid heap allocations in all C++ modules.
2023-03-17 14:08:27 +00: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
f9b46ba3a7
Pico Scroll: PicoGraphics scrolling text example.
2023-03-16 17:34:52 +00:00
helgibbons
ec4c6c83f4
Inky Frame: correct typo
2023-03-16 17:13:23 +00:00
helgibbons
6f06ab246c
Inky Frame: update image_gallery.py
2023-03-16 17:10:16 +00:00
Phil Howard
1b0b783a2f
Pico Scroll: Add support for PicoGraphics.
2023-03-16 16:59:31 +00:00
helgibbons
9aa0465d8b
hub75: function correction
2023-03-16 16:52:17 +00:00
Phil Howard
b83bdbf198
MicroPython: Pico W parity with Pico build.
2023-03-16 15:02:32 +00:00
Phil Howard
f2751ba6e9
Pico Unicorn: Add support for PicoGraphics.
2023-03-16 15:02:28 +00:00
Phil Howard
3eb42336e6
Pico Unicorn: Refactor into class.
...
Borrow heavily from Galactic/Cosmic Unicorn for the PIO/chained-DMA setup.
2023-03-16 13:25:19 +00:00
Phil Howard
044313551b
Pico Scroll: Refactor to class.
2023-03-16 13:25:19 +00:00
Phil Howard
bd3651d97d
Pico RGB Keypad: Refactor to class.
...
Because `mp_tracked_calloc` does not survive a soft reset but the memory region will, resulting in half-initialised frankenclasses that behave unpredictably.
Using the class pattern fixes this since it's always guaranteed to be initialised when a user instantiates it, and __del__ can handle cleanup.
2023-03-16 13:25:19 +00:00
Phil Howard
9964ed716b
Servo/Motor: Use m_new instead of new.
2023-03-16 13:25:19 +00:00
Phil Howard
af2b74d65d
Servo/Motor/PWM: Avoid runtime memory alloc.
2023-03-16 13:25:19 +00:00
Phil Howard
a45eeb1623
Pico Wireless: Use tracked alloc.
2023-03-16 13:25:19 +00:00
Phil Howard
aa91450f59
Pico Unicorn: Use tracked alloc.
2023-03-16 13:25:19 +00:00
Phil Howard
dd7ea6fdc3
Pico Scroll: Use tracked alloc.
2023-03-16 13:25:19 +00:00
Phil Howard
e4cb7ce95f
Pico RGB Keypad: Use tracked alloc.
2023-03-16 13:25:19 +00:00