Commit Graph

24558 Commits

Author SHA1 Message Date
Dan Halbert
2451c788f4 valid channels in audio_dma_stop; cleaner supervisor_ticks mgmt in keypad 2021-08-09 09:47:13 -04:00
Dan Halbert
59b89fdc5c Fix various audio DMA issues:
RP2040 and SAMD51:
- Detect when DMA has finished, and stop DMA audio explicitly.
- Do not accidentally reuse `first_buffer` supplied by WaveFile or RawSample. Always realloc `first_buffer` and `second_buffer`

RP2040:
- When audio playing is stopped, write a final zero to the output register. This prevents residual PWM tones.
- Handle buffer size for 8-bit samples properly for 16-bit output.
- Fail on some edge cases (which may not be possible at the moment).
2021-08-09 09:47:13 -04:00
Dan Halbert
2cd80d1074 wip, with debugging printf's 2021-08-09 09:47:13 -04:00
Dan Halbert
fd71d924d2 partial buffer mgmt fix 2021-08-09 09:47:13 -04:00
microDev
f6d7b87bd8
Merge pull request #5112 from NathanY3G/add-board-led-to-gcm4
Add board.LED for Grand Central M4 Express
2021-08-09 11:45:06 +05:30
Nathan Young
579194a543 Colocated board.LED and D13 together (GCM4) 2021-08-09 05:35:38 +02:00
Nathan Young
a15ac65fa0 Add board.LED for Grand Central M4 Express
Fixes #5111
2021-08-08 21:43:12 +02:00
Jeff Epler
9a6b118060
Merge pull request #5108 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-08-08 09:18:13 -05:00
Wellington Terumi Uemura
5ed585d3f4
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-08-08 07:33:11 +02:00
microDev
06325c44d8
Merge pull request #5107 from jepler/compression-tweaks
Compress word offset table
2021-08-08 08:09:08 +05:30
Jeff Epler
c652a8d101 Merge branch 'weblate-circuitpython-main' of https://github.com/weblate/circuitpython into compression-tweaks 2021-08-07 09:24:10 -05:00
Jeff Epler
d59a28db97 Compress word offset table
By storing "count of words by length", the long `wends` table can be
replaced with a short `wlencount` table.  This saves flash storage space.

Extend the range of string lengths that can be in the dictionary.
Originally it was to 2 to 9; at one point it was changed to 3 to 9.
Putting the lower bound back at 2 has a positive impact on the French
translation (a bunch of them, such as "ch", "\r\n", "%q", are used).
Increasing the maximum length gets 'mpossible', ' doit être ',
and 'CircuitPyth' at the long end.  This adds a bit of processing time
to makeqstrdata. The specific 2/11 values are again empirical based on
the French translation on the adafruit_proxlight_trinkey_m0.
2021-08-07 09:23:35 -05:00
Hosted Weblate
4abf9f3cf1
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-07 06:00:29 +02:00
Hosted Weblate
4ff76ae875
Merge remote-tracking branch 'origin/main' into main 2021-08-07 06:00:27 +02:00
Jonny Bergdahl
59bebfdb17
Translated using Weblate (Swedish)
Currently translated at 100.0% (1013 of 1013 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-08-07 06:00:27 +02:00
microDev
063e3946d6
Merge pull request #5094 from jepler/quirc
Add qrio: Decode QR codes with quirc lib
2021-08-07 09:30:20 +05:30
Hosted Weblate
c21c754a50
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2021-08-06 21:10:25 +02:00
Scott Shawcroft
be2342f32f
Merge pull request #5072 from microDev1/traceback
Add traceback module
2021-08-06 12:10:17 -07:00
Scott Shawcroft
93aa4e9e47
Merge pull request #5102 from evildave666/blackpill-add-mfg-name
Add WeAct manufacturer for STM32F411 blackpill boards
2021-08-06 11:59:24 -07:00
Jeff Epler
67551c1ac0 qrio: Split QRInfo & PixelPolicy to their own .c/.h files 2021-08-06 09:53:17 -05:00
evildave666
4d14bcf2a2 Add WeAct manufacturer for black pill boards 2021-08-06 16:06:16 +09:00
Jeff Epler
8e201d519e better document constructor arguments 2021-08-05 15:04:28 -05:00
Scott Shawcroft
00b617c9c4
Merge pull request #5097 from anecdata/cucumber
Add Gravitech Cucumber M, MS, R, and RS boards
2021-08-05 11:49:51 -07:00
Jeff Epler
f0e489f51f
Merge pull request #5098 from bd34n/bdmicro_vina_d51_flash_chip
board bdmicro_vina_d51: Add support for MX25L12833F flash chip.
2021-08-05 13:48:29 -05:00
Scott Shawcroft
e3fa6e2c35
Merge pull request #5089 from tannewt/disable_ble_workflow
Add ability to disable BLE workflow
2021-08-05 11:21:17 -07:00
Jeff Epler
2e8eb43dcc Use new quirc define for small stacks
.. and revert stack enlargement of esp32-s2
2021-08-05 12:52:43 -05:00
Jeff Epler
0fbe56c915 Better Document PixelPolicy and the pixel_policy argument 2021-08-05 12:27:49 -05:00
Jeff Epler
e5a57d2399 Fix function name in prototype 2021-08-05 12:24:12 -05:00
Jeff Epler
46ac717538 Rename qrinfo -> QRInfo 2021-08-05 12:24:12 -05:00
Jeff Epler
14f1d95d2d qrio: Fix handling of 1-arg decode() 2021-08-05 12:24:12 -05:00
Jeff Epler
f9393c9e51 enable qrio in unix coverage build, and add a test 2021-08-05 12:24:07 -05:00
microDev
870f26bfc4
traceback module refinements 2021-08-05 20:11:15 +05:30
Brian Dean
821f3d5532 board bdmicro_vina_d51: Add support for MX25L12833F flash chip. Add QSPI activity indicator LED. Add D15-D19 as aliases for the I2S peripheral pins. 2021-08-05 09:14:51 -04:00
anecdata
c2d093b6f4 fix board family in build.yml 2021-08-04 20:54:08 -05:00
anecdata
dba0427808 fix whitespace 2021-08-04 19:50:40 -05:00
anecdata
f8fd3c24d0 add boards to build.yml 2021-08-04 19:42:04 -05:00
anecdata
10f74618cf Cucumber M, MS, R, and RS boards 2021-08-04 19:09:43 -05:00
Jeff Epler
131dbf1e87 Remove hard-coded disable of USB_HID for kaluga devkits 2021-08-04 18:17:20 -05:00
Scott Shawcroft
4bcf0d419f
Merge pull request #5095 from dhalbert/raytac_mdbt50q-rx
Add raytac_mdbt50q-rx
2021-08-04 15:47:11 -07:00
Dan Halbert
3ec3e7081e
Merge pull request #5096 from jepler/unpin-autoapi
Unpin sphinx-autoapi as the bug is resolved
2021-08-04 16:35:58 -04:00
Dan Halbert
81833035fc raytac_mdbt50q-rx 2021-08-04 15:47:19 -04:00
Jeff Epler
937ef7ea7a Unpin sphinx-autoapi as the bug is resolved 2021-08-04 14:30:03 -05:00
Scott Shawcroft
b5fa6b5920
Merge pull request #5093 from microDev1/update-ci
CI: Add `Print failure info`
2021-08-04 10:20:10 -07:00
Jeff Epler
bd903f2f03 Add qrio: Decode QR codes with quirc lib 2021-08-04 09:16:00 -05:00
microDev
fb0f2583db
update traceback module 2021-08-04 12:22:21 +05:30
microDev
193a8d2e67
add traceback object 2021-08-04 12:10:57 +05:30
microDev
d35af506a5
ci: add print failure info 2021-08-04 08:16:26 +05:30
Scott Shawcroft
713c8e7b3f
Fix builds without the ble workflow 2021-08-03 14:36:41 -07:00
Jeff Epler
38f392f318 esp32s2: Increase C stack size
The QR decoder has a single item that is 8908 bytes big and placed
on the stack.  (struct datastream)

Without enlarging the stack, this will reliably crash.
2021-08-03 13:40:27 -05:00
Jeff Epler
dfc992b7be Make it easier to disable wifi 2021-08-03 13:40:27 -05:00