Commit Graph

14177 Commits

Author SHA1 Message Date
Scott Shawcroft
16a8a34688
Merge pull request #2117 from pewpew-game/stage-fix-transaction
Fix transactions in _stage after displayio changes
2019-09-04 10:23:19 -07:00
Radomir Dopieralski
5f6228b6f0 Fix transactions in _stage after displayio changes
Also, move the rendering setup code to shared-module from
shared-bindings.

In CP 5.0, displayio_display_core_set_region_to_update now starts
its own transaction, so it has to be moved outside of the transaction
started by the render call.
2019-09-04 16:41:58 +02:00
Dan Halbert
95a5a57f94 Merge remote-tracking branch 'adafruit/master' into choose-usb-devices-xac 2019-09-04 00:12:09 -04:00
sommersoft
da912e8c74 doc cleanup 2019-09-03 22:44:43 -05:00
sommersoft
edfcee29ff remove leftover debug print 2019-09-03 22:25:27 -05:00
Dan Halbert
d3cb1030c8 trivial change; try to force check run 2019-09-03 23:15:50 -04:00
Dan Halbert
e921314f43 remove testing settings left in by accident 2019-09-03 21:28:41 -04:00
Dan Halbert
94ba027544 simpler generation of HID device tables 2019-09-03 21:16:14 -04:00
Scott Shawcroft
949f8761b8
Add .hidden to TileGrid and Group
This allows for one to preserve ordering within a Group while
hiding something temporarily.

Fixes #1688
2019-09-03 16:15:27 -07:00
Dan Halbert
321835cb47
Merge pull request #2112 from tannewt/use_blinka_token
Swap to Blinka access token to hopefully not hit rate limit
2019-09-03 18:53:24 -04:00
Dan Halbert
e92b5f7e3e
Merge pull request #2111 from tannewt/fix_ssd1306_hang
Fix I2CDisplay bus_free to not grab lock
2019-09-03 18:24:26 -04:00
Scott Shawcroft
4651f91f94
Swap to Blinka access token to hopefully not hit rate limit 2019-09-03 14:50:33 -07:00
Scott Shawcroft
b53f169824
Fix I2CDisplay bus_free to not grab lock
Fixes #2098
2019-09-03 14:46:47 -07:00
Scott Shawcroft
b3549980aa
Merge pull request #2109 from hexthat/patch-3
Update zh_Latn_pinyin.po
2019-09-03 13:47:51 -07:00
Scott Shawcroft
e4b5257d4c
Merge pull request #2108 from dastels/master
Capture rotation
2019-09-03 12:49:50 -07:00
Dan Halbert
42f5edbd33 WIP 2019-09-03 14:44:46 -04:00
hexthat
6c2dff1efd
Update zh_Latn_pinyin.po
added translations
2019-09-03 10:30:27 -07:00
Dave Astels
b318896b85 Capture rotation 2019-09-03 12:35:41 -04:00
Dan Halbert
de7a603c06
Merge pull request #2105 from arturo182/GD25Q32C
Add GD25Q32C flash device definition
2019-09-03 09:33:14 -04:00
Dan Halbert
35c7646ee4
Make trivial change to redo GitHub Actions build.
The GitHub Actions build for this PR is failing for reasons that make no sense. Make a tiny commit change to see if it will refresh things and work again.
2019-09-03 08:52:21 -04:00
Scott Shawcroft
a480b70488
Merge pull request #2106 from sommersoft/rtd_custom_css
Docs: Wrap Text In Tables
2019-09-02 21:24:48 -07:00
sommersoft
4e19158e0e docs: make sphinx include 'docs/static/customstyle.css' 2019-09-02 18:46:48 -05:00
arturo182
12c97b42a4 Add GD25Q32C flash device definition 2019-09-02 23:22:52 +02:00
Dan Halbert
febfc7e4e9
Merge pull request #2103 from dhalbert/master-dotstar-fix
Merge in 4.x status dotstar fix
2019-09-02 11:13:41 -04:00
Dan Halbert
4b97ec9d23 Merge in 4.x status dotstar fix 2019-09-02 10:25:38 -04:00
sommersoft
b1c3d47413 Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice 2019-09-01 21:16:12 -05:00
sommersoft
c4d6f4f536 disable 'audiomixer' for all M0 boards 2019-09-01 17:39:20 -05:00
sommersoft
362c1664ae use more accurate ARMv7 prepocessor flags; TODOs for asm instructions 2019-09-01 17:36:29 -05:00
Matthew Newberg
d87bfaf480 Add random dithering to ColorConverter 2019-08-31 22:07:09 -04:00
sommersoft
3c7c3c98d7 include CMSIS instrinsic addition functions for M4; cleanup C math funcs 2019-08-31 17:36:54 -05:00
sommersoft
398e7ff6d3 doc update 2019-08-31 16:06:41 -05:00
sommersoft
f82c61732a enable Mixer backwards compatibility (when audiomixer is available) 2019-08-31 16:06:16 -05:00
Scott Shawcroft
b954b2f5df
Merge pull request #2092 from dhalbert/bleio-api-revamp
Bleio attribute api revamp
2019-08-29 21:48:31 -07:00
sommersoft
e3ccd97563 update translations 2019-08-29 22:17:28 -05:00
sommersoft
8120f5cdad Merge branch 'master' of https://github.com/adafruit/circuitpython into mixer_voice 2019-08-29 22:14:53 -05:00
sommersoft
6a68d0b4d0 bring back 'mixer.play()' & 'mixer.stop_voice()' 2019-08-29 22:12:12 -05:00
sommersoft
e618441e18 eval the expression vs [un]defined 2019-08-29 22:09:45 -05:00
Dan Halbert
318d704887 make translate 2019-08-29 18:48:52 -04:00
Dan Halbert
7a64af9280 rename bleio module to _bleio 2019-08-29 18:44:27 -04:00
Scott Shawcroft
2b5ce666be
Merge pull request #2096 from tannewt/hallowing_m4_5.x
Hallowing m4 5.x
2019-08-29 15:22:59 -07:00
Dan Halbert
b11b7916fd address minor issues: typos, make translate, and sphinx 2019-08-29 17:58:21 -04:00
Scott Shawcroft
9730d4aa1c
Merge remote-tracking branch 'adafruit/4.1.x' into hallowing_m4_5.x 2019-08-29 14:38:16 -07:00
Scott Shawcroft
8d14266bc3
Merge pull request #2094 from tannewt/hallowing_m4
Add Hallowing M4 support
2019-08-29 14:31:29 -07:00
Scott Shawcroft
0aa5507c4c
add additional pin aliases 2019-08-29 13:41:28 -07:00
Dan Halbert
b114bbee06 Merge remote-tracking branch 'adafruit/master' into bleio-api-revamp 2019-08-29 14:15:53 -04:00
Scott Shawcroft
193df55bec
Merge pull request #2088 from tannewt/master
Swap the CI to GitHub Actions from Travis
2019-08-29 10:44:25 -07:00
Scott Shawcroft
84839de56f
Hallowing M4 2019-08-29 10:34:46 -07:00
Scott Shawcroft
2c17d235b2
Build on all branch pushes 2019-08-28 21:02:03 -07:00
Dan Halbert
f17059b10b another API rework: less abstraction leakage 2019-08-28 23:15:22 -04:00
jepler
30a9346373 samd: audio_dma: Track channel allocation
Previously, we depended on allocated channels to always be
"dma_channel_enabled".  However, (A) sometimes, many operations
would take place between find_free_audio_dma_channel and
audio_dma_enable_channel, and (B) some debugging I did led me to believe
that "dma_channel_enabled" would become false when the hardware ended
a scheduled DMA transaction, but while a CP object would still think it
owned the DMA channel.

((B) is not documented in the datasheet and I am not 100% convinced that
my debugging session was not simply missing where we were disabling the
channel, but in either case, it shows a need to directly track allocated
separately from enabled)

Therefore,
 * Add audio_dma_{allocate,free}_channel.
   * audio_dma_free_channel implies audio_dma_disable_channel
   * track via a new array audio_dma_allocated[]
 * clear all allocated flags on soft-reboot
 * Convert find_free_audio_dma_channel to audio_dma_allocate_channel
   * use audio_dma_allocated[] instead of dma_channel_enabled() to check
     availability
 * remove find_free_audio_dma_channel
 * For each one, find a matching audio_dma_disable_channel to convert
   to audio_dma_free_channel

Closes: #2058
2019-08-28 17:00:22 -05:00