Commit Graph

15046 Commits

Author SHA1 Message Date
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
Jeff Epler
cc3ef2d5e6 frozen: Update all submodules to latest tagged release 2019-12-19 16:12:26 -06:00
Jeff Epler
5f0af77880 mp3: update to upstream release 1.1.1 2019-12-19 16:12:26 -06:00
Jeff Epler
d31a387ace circuitplayground_express_displayio: reduce inlining to make .ko translation fit 2019-12-19 16:11:29 -06:00
Jeff Epler
516d930e6c frozen: Update all submodules to latest tagged release 2019-12-19 16:06:17 -06:00
Jeff Epler
4700f7cf23 frozen: Update Adafruit_CircuitPython_CircuitPlayground submodule 2019-12-19 10:35:57 -06:00
Jeff Epler
51af8aadb7 nrf: PWMAudioOut: 62500Hz limitation is not needed
.. and it gets in the way of some example programs, due to the way
circuitplayground library generates different frequency sine waves
2019-12-19 10:34:56 -06:00
ndgarage
16688180c6 add-ndbit6 2019-12-19 07:17:43 -07:00
Jeff Epler
5c42ae1e13 mp3: update to upstream release 1.1.1 2019-12-19 08:13:00 -06:00
Hierophect
902e242237 Revert "enable internal SPI intercepts. can brick USB"
This reverts commit 5b70fa0a64.
2019-12-18 17:17:06 -05:00
Hierophect
5b70fa0a64 enable internal SPI intercepts. can brick USB 2019-12-18 15:40:08 -05:00
Hierophect
3a5de7effd Remove merge overflow 2019-12-18 14:46:12 -05:00
hierophect
8e38ca1911
Merge pull request #2 from hathach/hierophect-update-tusb
merge with current master of circuitpython
2019-12-18 14:16:37 -05:00
Dan Halbert
a3559f14e7
Merge pull request #2403 from adafruit/tannewt-patch-1
Switch to fetching GCC from AWS
2019-12-18 13:20:08 -05:00
Roy Hooper
b90c39456b Merge branch 'master' into new-pixelbuf-api 2019-12-18 08:43:03 -05:00
hathach
d1f045880d Merge branch 'master' into hierophect-update-tusb 2019-12-18 16:52:04 +07:00
Ha Thach
25df6e613a
Merge pull request #2395 from hathach/nrfx-v2
upgrade nrfx API to v2
2019-12-18 16:14:25 +07:00
hathach
dad2663337 update nrfx submodule to v2 2019-12-18 15:39:11 +07:00
Dan Halbert
f2b1aeeed1
Merge pull request #2406 from tannewt/improve_usb_eject
Improve USB eject by resetting on replug
2019-12-17 23:30:30 -05:00
Scott Shawcroft
561fdfb279
Improve USB eject by resetting on replug 2019-12-17 19:01:03 -08:00
Roy Hooper
7571f9790b remove --recursive 2019-12-17 19:17:46 -05:00