Commit Graph

14891 Commits

Author SHA1 Message Date
Roy Hooper
fdddb54db4 rename call_show to pixelbuf_call_show 2020-01-02 17:56:04 -05:00
Jeff Epler
ec22520992 MP3File: Add rms_level property
This lets a music player show it vu-meter style
2020-01-02 15:23:42 -06:00
Roy Hooper
4e1996856f Fix docstring for byteorder 2020-01-01 19:25:44 -05:00
Roy Hooper
12193913a8 move native fill to a helper to work around being unable to call a subclass show method from the native superclass 2020-01-01 17:30:17 -05:00
Roy Hooper
8129a8503a Revert "try a property with a callable static class"
This reverts commit ca5b2770cf.
2020-01-01 16:10:22 -05:00
Roy Hooper
ca5b2770cf try a property with a callable static class 2020-01-01 16:10:01 -05:00
Dan Halbert
32b82032a1
Merge pull request #2423 from pewpew-game/pewpew-m4-update
Update the PewPew M4 board and circuitpython-stage
2020-01-01 13:59:02 -05:00
Roy Hooper
64556e017d Merge branch 'master' into new-pixelbuf-api 2019-12-31 11:26:20 -05:00
Dan Halbert
1bc9279ba0
Merge pull request #2438 from dglaude/patch-2
Update Shape.c
2019-12-31 00:16:10 -05:00
Dan Halbert
c7d68fc3bc
Merge pull request #2440 from adafruit/tannewt-hwm4-uart-pins
Fix Hallowing M4 Express UART pin mapping
2019-12-30 23:45:14 -05:00
Dan Halbert
775adaec97
Merge pull request #2441 from dhalbert/clue_nrf52840_express
initial CLUE board defn
2019-12-30 18:20:07 -05:00
Dan Halbert
f0d34da556 add display support; rotation 270 2019-12-30 17:39:39 -05:00
Dan Halbert
3f9ebd2fed initial CLUE board defn 2019-12-30 17:10:42 -05:00
Scott Shawcroft
0223589e6c
Fix default UART too 2019-12-30 11:34:51 -08:00
Scott Shawcroft
e1d026f815
Update pins.c 2019-12-30 11:33:04 -08:00
Dan Halbert
264abd4741
Merge pull request #2428 from hathach/samd-improve-usb
improve usb dcd samd51
2019-12-30 13:39:17 -05:00
Dan Halbert
385ed1154f
Merge pull request #2439 from hierophect/stm32-cpython-compat
STM32: Cpython compatibility flag
2019-12-30 13:11:03 -05:00
Hierophect
e9dbc34d80 add cypthon compat setting 2019-12-30 11:35:02 -05:00
David Glaude
01d49eb0a7
Update Shape.c
Make no sense to say this is experimental and will change in 4.0.0 when we are already above 4.0.0.
This should be removed, or updated to say it will not be in x.0.0
2019-12-30 16:54:16 +01:00
Roy Hooper
023d64fe4a Merge branch 'pixelbuf-subscr-change' into new-pixelbuf-api 2019-12-29 13:56:47 -05:00
Roy Hooper
f1a9039632 Merge branch 'master' into pixelbuf-subscr-change 2019-12-29 13:56:31 -05:00
Scott Shawcroft
cfd71d9023
Fix nRF UART reset
disable only turns off ENABLE but doesn't set the init tracking that
nrfx uses. uninit hangs if ENABLE is off and is called because it
waits forever for TX to stop.
2019-12-27 20:18:07 -08:00
hathach
adff14c5bc
more tinyusb update 2019-12-27 09:55:16 +07:00
Radomir Dopieralski
6205b55b19 Bump circuitpython-stage version to 1.0.8 2019-12-26 22:13:52 +01:00
hathach
62c4028cde
sync with https://github.com/hathach/tinyusb/pull/246
should fix slow enumeration
2019-12-26 23:04:16 +07:00
Dan Halbert
7387f60920
Merge pull request #2431 from jerryneedell/jerryn_stm_vbat
define board.VOLTAGE_MONITOR for feather_stm32f405_express
2019-12-26 09:29:58 -05:00
Jerry Needell
d38a0007f1 define board.VOLTAGE_MONITOR for feather_stm32f405_express 2019-12-26 08:46:27 -05:00
hathach
3492ba33d5
improve usb dcd samd51
fix race condition with setup packet + scsi status response
2019-12-26 00:18:04 +07:00
Jeff Epler
97bb46c047 MP3File: tweak buffer handling
After adding the ability to change files in an existing MP3File object,
it became apparent that at the beginning of a track some part of an
existing buffer was playing first.

I noticed that in get_buffer, the just-populated buffer wasn't being
returned, but the other one was.  But still after fixing this, I heard
wrong audio at the beginning of a track, so I took the heavy duty approach
and zeroed the buffers out.  That means there's a remaining bug to chase,
which is merely hidden by the memset()s.
2019-12-24 09:43:15 -06:00
Jeff Epler
5aa3e3eabb samd/peripherals: update 2019-12-24 09:36:19 -06:00
Ha Thach
9ba40de538
Merge pull request #2424 from hierophect/vbus-rename
STM32: rename vbus flag
2019-12-24 10:16:31 +07:00
Hierophect
b49ecc52b9 text fixes 2019-12-23 14:55:26 -05:00
Radomir Dopieralski
b06057395b Update PewPew M4
PewPew M4 now has the pew.py added to its frozen libraries. Some
features needed to be disabled to make room for that.
2019-12-23 18:37:36 +01:00
Jeff Epler
00628a7ddd MP3File: whitespace 2019-12-23 09:36:50 -06:00
Jeff Epler
02154caf24 MP3File: Add a settable ".file" property
This enables jeplayer to allocate just one MP3File at startup, rather
than have to make repeated large allocations while the application is
running.

The buffers have to be allocated their theoretical maximum, but that
doesn't matter much as all the real-life MP3 files I checked needed
that much allocation anyway.
2019-12-23 09:36:46 -06:00
Ha Thach
21cbd5ce96
Merge pull request #2379 from hierophect/update-tusb
Update Tinyusb
2019-12-23 17:58:26 +07:00
Roy Hooper
09d4fe0324 Merge branch 'master' into new-pixelbuf-api 2019-12-20 19:22:27 -05:00
Scott Shawcroft
e6fd513cfa
Merge pull request #2418 from tannewt/remove_re_from_cpx_displayio
Remove `re` from CPX Displayio build to make space.
2019-12-20 12:57:49 -08:00
Scott Shawcroft
f60b6481e0
Turn off gamepad on cpx crickit 2019-12-20 12:14:27 -08:00
Scott Shawcroft
b859e2b710
Remove re from CPX Displayio build to make space. 2019-12-20 11:43:56 -08:00
Scott Shawcroft
5fc20145d1
Merge pull request #2390 from jepler/displayio-set-rotation
displayio: make 'rotation' property settable
2019-12-20 09:34:25 -08:00
Scott Shawcroft
663f61cbf3
Merge pull request #2411 from jepler/update-circuitplayground
frozen: Update Adafruit_CircuitPython_CircuitPlayground submodule
2019-12-20 09:33:09 -08:00
Scott Shawcroft
f08c7d470d
Merge pull request #2410 from jepler/nrf-extended-samplerate
nrf: PWMAudioOut: 62500Hz limitation is not needed
2019-12-20 09:31:02 -08:00
Scott Shawcroft
773e1316d2
Merge pull request #2414 from jepler/speedup-gen-display-resources
gen_display_resources: speed it up
2019-12-19 15:48:22 -08:00
Kattni
f90fa5ea5f
Merge pull request #2413 from albang/fix_Typo-in-doc
Typo in doc
2019-12-19 18:42:13 -05:00
Scott Shawcroft
00538bd181
Merge pull request #2409 from jepler/update-mp3
mp3: update to upstream release 1.1.1
2019-12-19 15:41:57 -08:00
Scott Shawcroft
cca5260612
Merge pull request #2387 from rhooper/add-building-doc
Add BUILDING.md document for #2370
2019-12-19 15:36:03 -08:00
Jeff Epler
a93475707e gen_display_resources: speed it up
It was intended that the `f.load_glyphs` line was fast and did most of
the work.  However, it actually didn't, because it's necessary to pass
in a code point by number, not by string.

Additionally, a little light layer violation is needed to make the check
for missing characters fast.  This used to be less important, as no
fonts had missing characters.  However, it would take an appreciable
length of time on the Korean translation when failing to find hundreds
of different code points.

Testing performed: built
build-circuitplayground_express_displayio/autogen_display_resources.c with ko
translation before and after change.  verified the file content was identical.
Time went from about 7s on my machine to way under 1 second.
2019-12-19 16:26:01 -06:00
albang
00c226738d
Typo in doc 2019-12-19 23:16:51 +01:00
Jeff Epler
8d2a3e94d7 circuitplayground_express_displayio: reduce inlining to make .ko translation fit 2019-12-19 16:12:26 -06:00