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
Jeff Epler
db01f88cc3
enable MICROPY_PY_REVERSE_SPECIAL_METHODS where ulab is enabled
2020-04-13 19:58:52 -05:00
Jeff Epler
d19700e975
make translate
2020-04-13 19:23:06 -05:00
Jeff Epler
d1a2a1a333
test requires yield, can't run native
2020-04-13 19:00:16 -05:00
Jeff Epler
ca97964701
ulab: Get updates from upstream
2020-04-13 19:00:16 -05:00
caternuson
a9fb34eb93
make packed word and copy it in
2020-04-13 16:48:27 -07:00
Lucian Copeland
83a55f65a4
Implement cache-based reads
2020-04-13 15:14:38 -04:00
Lucian Copeland
426d2afe28
Fix pin mapping for the H7 Nucleo
2020-04-13 14:36:49 -04:00
Dan Halbert
1f17bdb4ff
Merge pull request #2765 from jepler/checkout-v2-subomdules
...
switch to checkout@v2 with submodules and fetch-depth 0
2020-04-13 14:01:13 -04:00
Lucian Copeland
6227e63cc5
Merge remote-tracking branch 'upstream/master' into stm32x7-setup
2020-04-13 12:03:56 -04:00
Lucian Copeland
5ac38c95cc
Various requested fixes
2020-04-13 12:03:05 -04:00
Jeff Epler
f817bfe3c6
switch to checkout@v2 with submodules and fetch-depth 0
...
In order to get tags, including in submodules, we use our own fetching
procedure on top of checkout@v2.
A problem occuring in about 1% of jobs was that some submodules inexplicably
did not have an "origin" remote configured. "git submodule sync"
configures the "origin" remote in those cases. No cause for the problem
was determined.
Besides keeping up to date on actions/checkout, @v2 is supposed to fix a bug
where "re-run" of a pull request would fail checking out the code.
2020-04-11 17:29:07 -05:00
Dan Halbert
76f3aa4766
Merge pull request #2764 from larsks/bug/max-keycode
...
Fix maximum keycode in keyboard HID descriptor
2020-04-11 10:49:39 -04:00
Dan Halbert
a4c86e1e12
Merge pull request #2763 from larsks/bug/bad-submodule-path
...
Fix bad submodule path
2020-04-11 10:04:24 -04:00
Lars Kellogg-Stedman
8797e3347f
Fix maximum keycode in keyboard HID descriptor
...
The HID descriptor reported by circuitpython erroneously limited the
maximum keycode to 101, which prevented circuitpython from sending a
number of otherwise valid keycodes.
Closes #274
2020-04-11 10:02:18 -04:00
Lars Kellogg-Stedman
abf79de785
Fix bad submodule path
...
The repository URL for extmod/ulab had a trailing slash, causing
errors when trying to clone it.
Closes #2762
2020-04-11 09:02:52 -04:00
Scott Shawcroft
44cf7988c0
Merge pull request #2758 from ElectronicCats/nfc_copy
...
NFC Copy Cat
2020-04-10 11:36:35 -07:00
Scott Shawcroft
2e29cbf598
Merge pull request #2757 from sommersoft/sphinx3_fix
...
RFC: Use Sphinx 3 To Build Docs
2020-04-10 11:33:30 -07:00
sabas1080
0e06a88fdd
update YML
2020-04-09 17:19:06 -05:00
Sabas
cac4fb0318
Merge branch 'master' into nfc_copy
2020-04-09 17:05:11 -05:00
sabas1080
2a47623283
update build.yml
2020-04-09 17:00:42 -05:00
Scott Shawcroft
a6fb0beaa9
Update translations
2020-04-09 13:16:32 -07:00
sommersoft
1d64c51b7e
build.yml: pin Sphinx to '<4'
2020-04-09 15:14:26 -05:00
sabas1080
49771b4d7f
Update to v1.3
2020-04-09 14:27:51 -05:00
Lucian Copeland
92a0621e59
Add busio support, cleanup
2020-04-09 13:43:19 -04:00
caternuson
dc75746842
add docstring, clean up
2020-04-09 08:59:26 -07:00
caternuson
49fff2d9b4
initial working fill
2020-04-09 08:43:50 -07:00
sommersoft
4ac88e4df8
build.yml: unpin Sphinx install;
2020-04-09 09:13:02 -05:00
sommersoft
b5d98da6fc
Merge branch 'master' of https://github.com/adafruit/circuitpython into sphinx3_fix
2020-04-09 09:10:55 -05:00
sommersoft
ae07ced795
conf.py: drop '.h' docs rendering (nothing to build); fix deprecated 'source_parsers' usage
2020-04-09 08:49:32 -05:00
sommersoft
cb818ca832
conf.py: update deprecated stylesheet API; 'add_stylesheet()' renamed to 'add_css_file()'
2020-04-09 08:47:33 -05:00
sommersoft
61bab8e62e
ulab/__init__.rst: fix attribute name; uint8 -> uint16
2020-04-09 08:45:26 -05:00
sommersoft
1c45a261c4
network.rst: remove duplicate method directive
2020-04-09 08:44:35 -05:00
siddacious
b3b8b5ca71
Merge pull request #2753 from tannewt/fix_clue_display
...
Save backlight_on_high correctly.
2020-04-08 15:43:44 -07:00
Scott Shawcroft
01941c027b
Fix up STM
...
Enable the Alarm IRQ earlier and correct bit clearing.
2020-04-08 14:41:57 -07:00
Scott Shawcroft
9e34da44c3
Use newer Ubuntu for CI.
...
Maybe it's update server will be more reliable.
2020-04-08 10:53:42 -07:00
Scott Shawcroft
d0a25ca9ac
Tweaks based on dhalberts feedback
2020-04-08 10:49:46 -07:00
Scott Shawcroft
4ee6754ccd
Save backlight_on_high correctly.
...
Fixes #2750
2020-04-08 10:32:54 -07:00
Scott Shawcroft
6544bf52fb
Enable SNVS interrupt
...
The iMX RT has a separate wake up controller, the GPC, that replaces
the NVIC when asleep. It adds the ability to only wake up on certain
interrupts. It seems that it requires at least one enabled interrupt
in the NVIC to turn on it's wake up circuitry. It doesn't need to
be the same interrupt as the wake up signal. For example, the RTC
in the SNVS can wake us up if a USB interrupt is enabled. Before
then it won't work. So, we enable the SNVS interrupt on start up
so it can wake us up.
2020-04-07 17:15:18 -07:00