Sean Cross
61f777c9c6
litex: enable binascii and ujson modules
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16 10:02:08 +08:00
Sean Cross
bb527ac9ea
litex: disable minimal build
...
Manually specify available modules and disable any modules
that are currently unsupported on the litex target.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16 09:26:08 +08:00
Sean Cross
db3933429a
litex: add os module
...
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16 09:26:08 +08:00
Sean Cross
6885ffc9af
litex: mphalport: add fake mp_hal_delay_us
...
Add a mp_hal_delay_us, which is required by some of the modules,
that simply calls mp_hal_delay_ms / 1000.
Signed-off-by: Sean Cross <sean@xobs.io>
2020-04-16 09:26:08 +08:00
Radomir Dopieralski
f39ca6052e
Fix RGB/BGR colors in Stage
...
This makes the colors used by the stage library compatible with those
used by the displayio library.
2020-04-15 23:41:38 +02:00
Lucian Copeland
00b2e6a1db
Fix korea translation error, minor submodule change
2020-04-15 13:11:14 -04:00
Lucian Copeland
a1451aae51
Correct submodule desync
2020-04-15 11:32:50 -04:00
Lucian Copeland
54abfc2e8b
translations-merge
2020-04-15 10:29:05 -04:00
Lucian Copeland
0f87a75f4f
translations
2020-04-15 10:24:51 -04:00
Lucian Copeland
6427994b14
Implement requested changes
2020-04-15 10:22:51 -04:00
Dan Halbert
ae549fc9da
Merge pull request #2772 from adafruit/tannewt-patch-1
...
Update to the Adafruit Community Code of Conduct
2020-04-14 22:08:49 -04:00
Scott Shawcroft
b580b34cbf
Merge remote-tracking branch 'adafruit/master' into lower_power
2020-04-14 17:14:44 -07:00
Scott Shawcroft
7dfcae6067
Tweaks from jepler
2020-04-14 17:09:48 -07:00
Dan Halbert
11d6e177c0
Fix my discord username
2020-04-14 19:56:36 -04:00
Jeff Epler
7ed1483b89
Merge pull request #2706 from jepler/protomatter
...
Protomatter: Integrate with CircuitPython
2020-04-14 18:55:40 -05:00
Scott Shawcroft
ebd98bfc7b
Update to the Adafruit Community Code of Conduct
...
It better reflects our standards and also addresses chats. History of how it evolved from the Contributor Covenant is here: https://github.com/adafruit/Adafruit_Community_Code_of_Conduct/commits/master
2020-04-14 16:50:08 -07:00
Jeff Epler
3c018bf7fd
make translate
2020-04-14 18:26:16 -05:00
Jeff Epler
d8362ef654
displayio: swap colors in palettes too
...
.. change the in-rom palette to be in RGB565 order
2020-04-14 18:25:00 -05:00
Jeff Epler
0ce9c008c5
Protomatter: Make all arguments kw-only, add rgb count and optional height checking
...
They're not readily distinguishable by type.
I also added the requested height optional parameter; this is checked
against the computed one. It's not feasible to use this parameter to
artificailly reduce the number of used rows, because changes in the
underlying C protomatter library would be required.
Finally, I added a better error message when the number of RGB pins was
not what was expected.
2020-04-14 18:24:59 -05:00
Jeff Epler
880fff80e9
protomatter: Respond to review comments
...
- rename oe_pin -> output_enable_pin
- improve and reorganize docstrings
- rename swapbuffers->refresh
- rename "paused" -> "brightness", change semantics slightly
- common_hal several functions
- clarify why the common_hal routines can't be used directly in the
protocol's function pointers
- whitespace cleanups
- remove prototypes for nonexistent functions
2020-04-14 18:24:59 -05:00
Jeff Epler
5d328c3b44
protomatter: clarify by comment why these functions exist
2020-04-14 18:24:58 -05:00
Jeff Epler
ba20bc8b43
framebufferio: move backlight down to the underlying framebuffer
2020-04-14 18:24:58 -05:00
Jeff Epler
129c6369cf
protomatter: code style
2020-04-14 18:24:58 -05:00
Jeff Epler
4a05e938ed
protomatter: validate pins to give better error message
...
The numbered error from the underlying library is not helpful for
beginning users
2020-04-14 18:24:58 -05:00
Jeff Epler
e4c6b241a9
protomatter: Use low end of supervisor heap
...
Per @tannewt, this area "sees more churn", so it's probably the right
choice here
2020-04-14 18:24:58 -05:00
Jeff Epler
9019710a1e
protomatter: improve an error message
2020-04-14 18:24:58 -05:00
Jeff Epler
b1fab1cdac
Make stripping circuitpython optional, not the default
2020-04-14 18:24:58 -05:00
Jeff Epler
5dae23c0e7
protomatter: release the protomatter object during release_displays()
2020-04-14 18:24:58 -05:00
Jeff Epler
0ca270172f
protomatter: allocator: Never supervisor-alloc while gc available
...
This may have been contributing to fragmentation of the supervisor
heap
2020-04-14 18:24:58 -05:00
Jeff Epler
23bced26da
samd: actually disable protomatter timer
...
Just setting the timer handler to NO_INTERRUPT doesn't stop the
interrupt from occurring.
2020-04-14 18:24:58 -05:00
Jeff Epler
baf04b7738
FramebufferDisplay: remove probably not needed constructor arguments
2020-04-14 18:24:58 -05:00
Jeff Epler
50219862e1
protomatter: make docstring match implementation
2020-04-14 18:24:58 -05:00
Jeff Epler
a663a7dd30
_protomatter: move get/set paused into shared-module
2020-04-14 18:24:58 -05:00
Jeff Epler
caea4e010f
deinit: Work harder to ensure storage is released at deinit
2020-04-14 18:24:58 -05:00
Jeff Epler
5fcba97a51
Make function name more descriptive
2020-04-14 18:24:58 -05:00
Jeff Epler
89eb45a13c
use floor division in docstring
...
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-04-14 18:24:58 -05:00
Jeff Epler
759fdffda5
Update ports/atmel-samd/boards/pyportal_titano/board.c
...
Co-Authored-By: Scott Shawcroft <scott@tannewt.org>
2020-04-14 18:24:58 -05:00
Jeff Epler
1f3821220e
fix build for non-displayio & non-protomatter targets
2020-04-14 18:24:58 -05:00
Jeff Epler
3a94412cd3
protomatter: more memory allocation fixes
...
- bump supervisor alloc count by 4 (we actually use 5)
- move reconstruct to after gc heap is reset
- destroy protomatter object entirely if not used by a FramebufferDisplay
- ensure previous supervisor allocations are released
- zero out pointers so GC can collect them
2020-04-14 18:24:58 -05:00
Jeff Epler
1d8a073c05
nrf: protomatter port
2020-04-14 18:24:58 -05:00
Jeff Epler
09dc46a984
Add Protomatter and FramebufferDisplay
2020-04-14 18:24:54 -05:00
Jeff Epler
a51d4f7a45
pycubed: add trailing newline to file
...
POSIX specifies that text files end in a trailing newline
2020-04-14 18:24:54 -05:00
Jeff Epler
094fe05bdd
allow retrieving info about a supervisor allocation
2020-04-14 18:24:54 -05:00
Jeff Epler
8cba145c90
displayio: implement, use allocate_new_display_bus_or_raise
2020-04-14 18:24:54 -05:00
Jeff Epler
6378d600c4
displayio: implement, use allocate_display_or_raise
2020-04-14 18:24:54 -05:00
Scott Shawcroft
ada102dd98
Merge pull request #2767 from jepler/update-ulab
...
ulab: Get updates from upstream
2020-04-14 15:59:33 -07:00
Jeff Epler
135fb5b887
py.mk: update warning flags needed for ulab
2020-04-14 15:37:36 -05:00
Scott Shawcroft
e063b066f0
Merge pull request #2756 from caternuson/bitmap_fill
...
Add fill method to displayio.Bitmap
2020-04-14 12:54:44 -07:00
Jeff Epler
cc21bed0e4
ulab: Get updates from upstream
2020-04-14 10:09:00 -05:00
Jeff Epler
693928d201
doc updates
2020-04-13 20:10:02 -05:00