Commit Graph

16461 Commits

Author SHA1 Message Date
Lucian Copeland
c88a8e66c6 Minor comment fix 2020-06-10 13:22:21 -04:00
Scott Shawcroft
ca3e55bfab
Merge pull request #3024 from tannewt/main
Update precommit check branch
2020-06-10 09:56:21 -07:00
Lucian Copeland
7cc8b784c3 Add missing openmv definitions 2020-06-10 10:31:24 -04:00
Lucian Copeland
b414f82669 Add DTCM and ITCM support to F7 series 2020-06-09 18:01:52 -04:00
Scott Shawcroft
eeb3825646
Update precommit check branch 2020-06-09 13:04:42 -07:00
Scott Shawcroft
9b8d648986
Merge pull request #3020 from DavePutz/issue2958
Issue #2958 Correct calculation of subticks being returned from port_get_raw_ticks() for esp32s2
2020-06-09 12:41:18 -07:00
DavePutz
ec7a3feeba
Redid formula for calculating subticks
changed subticks calculation to give a range from 0 to 32767.
2020-06-09 10:08:49 -05:00
Scott Shawcroft
0ba541d498
Merge pull request #3017 from Nicell/nice_nano
Add nice!nano board support
2020-06-08 14:47:22 -07:00
Jeff Epler
2de20e06d0
Merge pull request #3002 from weblate/weblate-circuitpython-master
Translations update from Weblate
2020-06-08 13:20:02 -05:00
DavePutz
d8bb2d7c6d
Correct ticks being returned from port_get_raw_ticks()
Issue #2958 . Correct calculation of usec back to ticks in port_get_raw_ticks().
2020-06-08 10:52:27 -05:00
DavePutz
ef87cc3ed3
Merge pull request #6 from adafruit/master
updating from adafruit
2020-06-08 10:42:45 -05:00
aberwag
6502ec5dff Translated using Weblate (French)
Currently translated at 100.0% (764 of 764 strings)

Translation: CircuitPython/master
Translate-URL: https://hosted.weblate.org/projects/circuitpython/master/fr/
2020-06-08 07:38:03 +02:00
Hosted Weblate
53a1b68649 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-08 07:38:03 +02:00
Jonny Bergdahl
07fa458767 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-08 07:38:03 +02:00
Scott Shawcroft
004d644184
Merge pull request #3009 from hierophect/stm32-LSE-startup-fix
STM32: Rework LSE clock init, allow clock overrides
2020-06-07 22:37:53 -07:00
sommersoft
6ff7e25397
Merge pull request #3006 from sommersoft/update_cpboard_py
Fix Backwards Logic of 'wait_for_response' In #3005
2020-06-06 10:52:44 -05:00
Nick
33496e9c68 Add nice!nano board support 2020-06-05 19:58:54 -05:00
arturo182
3cf96a554d
Merge pull request #3015 from hierophect/mimxrt-1060-reset
mimxrt10xx: fix issues with resets on the 1060 boards
2020-06-06 00:41:36 +02:00
Lucian Copeland
93cffaa87e Fix pin macros typo, add extra flash protection 2020-06-05 16:43:08 -04:00
Lucian Copeland
ad0971fb25 Override HAL_Delay and HAL_GetTick 2020-06-05 13:56:32 -04:00
Scott Shawcroft
6400113bb9
Merge pull request #3001 from hierophect/mimxrt-teensy-boot
mimxrt10xx: Disable pin_reset on 1060 boards
2020-06-05 10:28:53 -07:00
Lucian Copeland
a0977cac7b Merge remote-tracking branch 'upstream/master' into stm32-LSE-startup-fix 2020-06-04 16:15:38 -04:00
Lucian Copeland
74effeeefd Add temporary fix warning 2020-06-04 13:30:07 -04:00
Lucian Copeland
d14e34449b Rework LSE clock init, allow clock overrides 2020-06-04 13:21:29 -04:00
sommersoft
1e7ff52bb7 tools/cpboard.py: fix backwards logic of 'wait_for_response' in #3005 2020-06-03 21:51:33 -05:00
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