Philip Howard
8648196cc2
Merge pull request #774 from pimoroni/breakout_encoder_wheel
...
Support for RGB Encoder Wheel Breakout
2023-05-12 11:58:15 +01:00
ZodiusInfuser
d00185d831
Added C & MP interrupt example
2023-05-10 16:57:38 +01:00
ZodiusInfuser
0120975b3c
Readme improvements
2023-05-10 16:08:51 +01:00
ZodiusInfuser
12e38c1157
Implemented GPIO MP support for Encoder wheel
2023-05-10 14:54:32 +01:00
Phil Howard
05cad0c157
Ulab: Bump to 6.0.12.
2023-05-10 13:03:47 +01:00
ZodiusInfuser
8966cbf348
Added C++ readme
2023-05-04 14:59:01 +01:00
ZodiusInfuser
5619274d3d
Added MP readme
2023-05-04 14:10:39 +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
ZodiusInfuser
e0a405739c
Fix namespace issue
2023-05-03 17:41:18 +01:00
ZodiusInfuser
1cfae8b5f8
More work on encoder wheel C++, adding reset to ioe
2023-05-02 22:55:19 +01:00
ZodiusInfuser
387df3bd12
Progress on encoder wheel C++ and MP
2023-05-02 17:31:11 +01:00
ZodiusInfuser
d4d6cd1936
Progress on encoder wheel C++ and MP
2023-05-02 16:19:22 +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
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
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
7b7352130f
Merge pull request #739 from pimoroni/helgibbons-patch-1
...
PicoGraphics: document `dither=False`
2023-03-29 11:38:07 +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
d69797689a
CI: Reduce repetition in product names.
2023-03-28 21:06:07 +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
6e7ec899eb
PicoGraphics: document `dither=False`
2023-03-28 15:56: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
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
140fe913ae
MicroPython: Don't include wireless pack in W builds.
2023-03-27 15:11:30 +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
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
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
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
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
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
Phil Howard
157841f9db
MicroPython: Add tracked alloc/free class helpers.
2023-03-16 13:25:19 +00:00