Commit Graph

20106 Commits

Author SHA1 Message Date
Lucian Copeland bf58afdb2a
Merge pull request #4399 from tyomitch/patch-2
[stm] implementation of audiopwmio
2021-04-05 18:35:39 -04:00
Scott Shawcroft e962b24da1
Merge pull request #4549 from jepler/writable-bitmaps
displayio.Bitmap: Allow modification though the buffer protocol
2021-04-05 14:23:16 -07:00
Brian Dean 3e558a89ac boards/bdmicro_vina_d51: A few updates for flexibility and expansion.
ESP-01 header renamed to AUX, and expanded to 12 pins from 8
pins. Pins 1-8 still accommodate the ESP-01, with expansion to full
SERCOM 4-pad support to allow for SPI and I2C on that expansion port
with additional GPIO control.

Update pins.c with additional signals provided AUX_1-8, along with
UART, SPI, I2C name usage as aliases to appropriate AUX_1-8
signals. Additionally, add several alternate names specific to several
expansion modules - the ESP-01, and the ATW-01 using the WINC_1500
(SPI) w/interrupt and control needed for the WINC - with assignments
to module pin positions.

Re-work SERCOM assignments to accommodate the above from other parts
of the board, which required moving a SERCOM or two around in order to
accommodate the 4-pad sercom pin mapping on the AUX port.

Built and tested using latest from 'main':

Adafruit CircuitPython 6.2.0-rc.0-70-ga1562430f-dirty on 2021-04-05;
BDMICRO VINA-D51 with samd51n20
2021-04-05 10:44:52 -04:00
Dan Halbert a1562430f6
Merge pull request #4560 from dhalbert/fix-hid-order
Put mouse before gamepad due to MacOS being finicky
2021-04-04 23:11:14 -04:00
Dan Halbert 0357af1726 Put mouse before gamepad due to MacOS being finicky 2021-04-04 21:48:54 -04:00
Jeff Epler fc86475de5 IncrementalEncoder: support swapped pins
Closes: #4422
2021-04-04 13:49:50 -05:00
Jeff Epler 93d6ceedd9 IncrementalEncoder: Disconnect interrupt handler during deinit.
Closes: #4557
2021-04-04 13:49:41 -05:00
Jeff Epler bcd90dd927 IncrementalEncoder: There are no out pins.
Closes #4556
2021-04-04 13:49:21 -05:00
Dan Halbert ae80378c4e
Merge pull request #4545 from ElectronicCats/huntercat_nfc
HunterCat NFC
2021-04-04 14:21:49 -04:00
Dan Halbert 57e70adc69
Merge pull request #4553 from jepler/decompress-length-fix
decompress: Fix decompression when length takes 7 bits
2021-04-04 14:21:09 -04:00
Jeff Epler 234fa2a226 decompress: Fix decompression when length takes 7 bits
This manifested as incorrect error messages from mpy-cross, like
```
$ mpy-cross doesnotexist.py
OSError: [Errno 2] cno such file/director
```

The remaining bits in `b` must be shifted to the correct position before
entering the loop.

For most (all?) actual builds, compress_max_length_bits was 8 and the
problem went unnoticed.
2021-04-04 11:15:33 -05:00
sabas1080 8b6ffba392 Update comment 2021-04-04 11:10:32 -05:00
Jeff Epler 27d8832868
Merge pull request #4512 from m-byte/main
Add Artisense RD00 board files
2021-04-03 18:40:59 -05:00
Jeff Epler d04eab530e
Merge pull request #4550 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-04-03 18:36:25 -05:00
Hosted Weblate cc44554165 Merge remote-tracking branch 'origin/main' into main 2021-04-03 23:57:56 +02:00
Jeff Epler a9b42a0e27
Merge pull request #4548 from tyomitch/patch-1
[repl] Autocomplete builtin modules
2021-04-03 16:57:53 -05:00
Hosted Weblate ca1467187e
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-04-03 23:57:49 +02:00
Hosted Weblate 61414ea1f8 Merge remote-tracking branch 'origin/main' into main 2021-04-03 23:57:47 +02:00
Jonny Bergdahl cf51640157
Translated using Weblate (Swedish)
Currently translated at 100.0% (967 of 967 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-03 23:57:47 +02:00
Hugo Dahl 3969ce2990
Translated using Weblate (French)
Currently translated at 100.0% (967 of 967 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-04-03 23:57:47 +02:00
Jose David M 22e8863a00
Translated using Weblate (Spanish)
Currently translated at 100.0% (967 of 967 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-04-03 23:57:46 +02:00
Jeff Epler e1e4d21db4
Merge pull request #4547 from jepler/upgrade-ulab-2.6.0
Upgrade ulab 2.6.0
2021-04-03 16:57:41 -05:00
Artyom Skrobov 59fa9b01ad [repl] Autocomplete builtin modules 2021-04-03 16:56:02 -04:00
Artyom Skrobov 1d55dee15b [repl] Refactor autocomplete, extracting reusable parts 2021-04-03 16:54:34 -04:00
Artyom Skrobov 6e17db3286 [repl] Refactor autocomplete to reduce nesting 2021-04-03 15:54:36 -04:00
Jeff Epler 97fd77b3bb make translate 2021-04-03 13:22:28 -05:00
Artyom Skrobov 4ee781227f [meowbit] change board.BUZZ type to PWMAudioOut,
as advised in #4257
2021-04-03 13:35:19 -04:00
Jeff Epler 30e612fd55 ulab: upgrade to 2.6.0 + CP building changes
Changes in ulab: https://github.com/v923z/micropython-ulab/pull/360
2021-04-03 12:23:48 -05:00
Jeff Epler 78089107bc displayio.Bitmap: Allow modification though the buffer protocol
It is required to call .dirty() with appropriate arguments after modifications through the buffer protocol, or the display might not be updated correctly.
2021-04-03 10:41:20 -05:00
Matthias Breithaupt 43ba81ffa1 Add Artisense RD00 board files 2021-04-03 17:20:59 +02:00
Jeff Epler a78d00a73d
Merge pull request #4544 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-04-03 08:43:14 -05:00
Hosted Weblate bb19264880
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-04-03 03:09:50 +02:00
Hosted Weblate 54a6bf4f54 Merge remote-tracking branch 'origin/main' into main 2021-04-03 03:09:48 +02:00
Dan Halbert 3af02b692b
Merge pull request #4543 from bergdahl/main
Changed confusing error messages.
2021-04-02 21:09:44 -04:00
sabas1080 d4a45d401d add hunter cat nfc buld.yml 2021-04-02 18:38:37 -06:00
sabas1080 53f3282e9c change flash device 2021-04-02 14:42:38 -06:00
sabas1080 f8da94b8ba removed o¡modules not availables 2021-04-02 14:40:27 -06:00
Jonny Bergdahl 7c164f0786 Ran make translate 2021-04-02 21:34:16 +02:00
sabas1080 c1987b7311 init port hunter cat nfc! 2021-04-02 13:19:59 -06:00
Hosted Weblate 7c36e53b5b
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-04-02 21:08:50 +02:00
Hosted Weblate 2adb4b5e49 Merge remote-tracking branch 'origin/main' into main 2021-04-02 21:08:47 +02:00
Jose David M 72d970ad98
Translated using Weblate (Spanish)
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-04-02 21:08:47 +02:00
Dan Halbert c4a90d8857
Merge pull request #4533 from jepler/upgrade-ulab
update ulab to 2.1.5 (+ a doc building fix in ulab)
2021-04-02 15:08:41 -04:00
Jonny Bergdahl 1afd204828 Changed error message to display the generic term 'system firmware' instead of the Nordic specific term 'soft device' 2021-04-02 20:34:37 +02:00
Jeff Epler fb7b968b10 py.mk: locate ulab sources with shell-find. 2021-04-02 13:09:23 -05:00
Jeff Epler 3f158450f9 can't xref this right now 2021-04-02 13:09:23 -05:00
Jeff Epler 5a56df989f can't xref this right now 2021-04-02 13:09:23 -05:00
Jeff Epler 758dc81fcb displayio: ulab.frombuffer -> ulab.numpy.frombuffer 2021-04-02 13:09:23 -05:00
Jeff Epler b1dfd64fdc stubs: ulab.array -> ulab.ndarray 2021-04-02 13:09:23 -05:00
Jeff Epler 4c0245bac6 make translate 2021-04-02 13:09:23 -05:00