Commit Graph

17992 Commits

Author SHA1 Message Date
Jeff Epler
fffe171d5f
Merge pull request #3005 from sommersoft/update_cpboard_py
Update cpboard.py
2020-06-03 21:17:56 -05:00
sommersoft
074697a89f tools/cpboard.py: run black formatter 2020-06-03 18:01:12 -05:00
sommersoft
cf9da59829 tools/cpboard.py: update pyserial usage to match 3.x version 2020-06-03 17:39:31 -05:00
sommersoft
660081ece2 tools/cpboard.py: change 'async' variable usage; 'async' became a keyword in CPython 3.7 2020-06-03 17:28:08 -05:00
Scott Shawcroft
547beb5d47
Merge pull request #2981 from Flameeyes/master
Set up basic integration with pre-commit.
2020-06-03 12:19:20 -07:00
Scott Shawcroft
01e294536c
Merge pull request #3000 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-06-03 11:59:36 -07:00
Lucian Copeland
c93ccd1e91 Disable pin resets on the 1060 2020-06-03 12:07:08 -04:00
Diego Elio Pettenò
79cd86445e Add a pre-commit configuration to enforce basic file hygiene. 2020-06-03 10:56:35 +01:00
Diego Elio Pettenò
dd5d7c86d2 Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Diego Elio Pettenò
60df6170cc Update CODE_OF_CONDUCT.md from source-of-truth repository. 2020-06-03 10:43:36 +01:00
Lucian Copeland
b5b9a56918 Update teensy 4.0/4.1 pin protections 2020-06-02 18:05:59 -04:00
Jonny Bergdahl
cc1e5d29c7
Translated using Weblate (Swedish)
Currently translated at 100.0% (764 of 764 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-06-02 23:42:37 +02:00
Scott Shawcroft
5f1398f272
Merge pull request #2995 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-06-02 14:42:30 -07:00
_fonzlate
fa8890f7ba Translated using Weblate (Dutch)
Currently translated at 100.0% (764 of 764 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/nl/
2020-06-02 21:50:12 +02:00
Jeff Epler
048b30d654 Translated using Weblate (French)
Currently translated at 99.8% (763 of 764 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-02 21:50:11 +02:00
Hosted Weblate
3f26a56fff Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/
2020-06-02 21:50:11 +02:00
_fonzlate
97f6fbc614 Translated using Weblate (Dutch)
Currently translated at 100.0% (757 of 757 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/nl/
2020-06-02 21:50:11 +02:00
Hosted Weblate
96c6fbd10b Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/
2020-06-02 21:50:11 +02:00
Scott Shawcroft
bb3f54a1cd
Merge pull request #2996 from jepler/mixer-bugfixes
audiomixer: Fix garbled playback when voice 0 is stopped, audio pops
2020-06-02 12:50:05 -07:00
Scott Shawcroft
db04fd1725
Merge pull request #2933 from simmel-project/wdt-nrf
Add Watchdog timer and add support for NRF watchdog
2020-06-02 10:33:24 -07:00
Jeff Epler
aae7a459f3
Merge pull request #2997 from xobs/litex-double-init
litex: remove call to `board_init()`
2020-06-02 07:30:38 -05:00
Sean Cross
ed8a52d1db litex: remove call to board_init()
These calls were all moved into `main.c`, however this call was not
removed from litex. As a result, litex was calling `board_init()` twice.

This is currently not a problem, as `fomu` is able to be initialized
twice without issue, however future boards may have issue with this.

This fixes #2991.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-06-02 10:19:40 +08:00
Jeff Epler
0722dafc24 audiomixer: Fix garbled playback when voice 0 is stopped, audio pops
There were two main problems
 - word_buffer was being filled as though with unsigned samples,
   but during mixing all samples are kept in signed mode
 - If the first buffer was stopped, the voices_active flag got set
   anyway, even though the output buffer wasn't initialized yet,
   so the samples were mixed with indeterminate data

We also cover the case where no buffer was playing, and ensure
the output buffer is filled.

This now works much better.  Tested on neotrellis m4 playing back
4 mp3 streams at a time in signed-16, 22050Hz
2020-06-01 19:14:38 -05:00
Scott Shawcroft
7e632c9414
Update translations 2020-06-01 17:11:20 -07:00
Scott Shawcroft
959f7297da
Merge remote-tracking branch 'adafruit/master' into wdt-nrf 2020-06-01 17:01:16 -07:00
Scott Shawcroft
e889287f6c
Merge pull request #2992 from jepler/update-ulab
Update ulab
2020-06-01 16:50:53 -07:00
Scott Shawcroft
4146d6f872
Merge pull request #2890 from jepler/nrf-audio-tick
nrf: put supervisor enable/disable tick in place
2020-06-01 15:51:22 -07:00
Scott Shawcroft
dd2cd6f002
Merge pull request #2979 from hierophect/stm32-remove-crystals
STM32: Set correct crystal settings on Discovery boards
2020-06-01 15:21:39 -07:00
Scott Shawcroft
a170c5e13a
Merge branch 'master' into update-ulab 2020-06-01 15:19:21 -07:00
Scott Shawcroft
323cca8910
Merge remote-tracking branch 'adafruit/master' into wdt-nrf 2020-06-01 15:18:12 -07:00
Scott Shawcroft
bdbb16ec83
Merge pull request #2983 from jepler/fix-storage-docs
shared-bindings: Fix docs of storage.VfsFat
2020-06-01 14:36:58 -07:00
Scott Shawcroft
e7abd8a0ab
Merge pull request #2986 from xiongyihui/master
include uf2 firmware for nrf52840 mdk usb dongle
2020-06-01 14:35:58 -07:00
Scott Shawcroft
f4d3c352ae
Merge pull request #2988 from jepler/change-make-translate
Makefile: "make translate" will only update circuitpython.pot
2020-06-01 14:34:45 -07:00
Jeff Epler
2e29f26e53
Merge pull request #2980 from bd34n/flash-device-gd25s512md
.../devices.h: Add GigaDevices GD25S512MD 64 MiB flash chip support.
2020-06-01 11:40:08 -05:00
Jeff Epler
70e99e78b6
Merge pull request #2990 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-06-01 11:38:57 -05:00
Lucian Copeland
75eb44f234 Note temporary issue with Nucleo boards 2020-06-01 12:26:08 -04:00
Jeff Epler
7f3fd20ea9 ulab: update submodule again 2020-06-01 11:03:38 -05:00
Jeff Epler
8af77cb91f ulab: docs: Fix markup error 2020-06-01 11:02:51 -05:00
Jeff Epler
5061405eb3 fix spelling 2020-06-01 09:16:55 -05:00
Jeff Epler
9f7a874d02 make translate 2020-06-01 09:02:29 -05:00
Jeff Epler
18c659780e ulab: update
.. add new modules and functions to our shared-bindings stubs
2020-06-01 09:02:29 -05:00
Jeff Epler
f211a090e2 py.mk: Assume we want all C source files in ulab 2020-06-01 08:26:23 -05:00
Jeff Epler
1cc281b6a4 py.mk: Assume we want all C files from ulab 2020-06-01 08:20:23 -05:00
Jeff Epler
81452475e4
Translated using Weblate (Swedish)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/sv/
2020-06-01 15:17:08 +02:00
David Glaude
c909b733a8
Translated using Weblate (French)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-01 15:17:07 +02:00
Jeff Epler
9cffe28ae7
Translated using Weblate (French)
Currently translated at 100.0% (748 of 748 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-01 15:17:07 +02:00
Jeff Epler
cd5577c4d9
Merge pull request #2987 from kamtom480/spresense-raw-ticks
spresense: Fix port_get_raw_ticks
2020-06-01 08:16:59 -05:00
Jeff Epler
79e2ede7c1 Makefile: "make translate" will only update circuitpython.pot
We can now rely on weblate to regularly update the individual language
files from the template, so "make translate" only needs to update the
template file circuitpython.pot.

This is advantageous because updating the other files in locale/ was
a frequent source of merge conflicts; resolving the conflict incorrectly
was something that could easily occur (and did).
2020-06-01 07:51:57 -05:00
Kamil Tomaszewski
ce337eaa27 Fix port_get_raw_ticks 2020-06-01 11:35:46 +02:00
Yihui Xiong
e0ca70119c include uf2 firmware for nrf52840 mdk usb dongle which has a uf2 bootloader now 2020-06-01 07:13:45 +00:00