Commit Graph

20076 Commits

Author SHA1 Message Date
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
Jeff Epler
dc9daba906 update ulab to 2.1.5 2021-04-02 13:09:23 -05:00
Scott Shawcroft
51c09e877d
Merge pull request #4539 from Neradoc/add-alias-boards-to-support-matrix
add alias boards and modules to the support matrix
2021-04-02 10:15:48 -07:00
Jeff Epler
3451c25a75
Merge pull request #4530 from jepler/mimxrt1011-pwmio
mimxrt1011: pwmio: Enable basic PWMOut functionality
2021-04-02 09:29:41 -05:00
Jeff Epler
ecf38fdfd4
Merge pull request #4538 from hathach/fix-midi-buffer-issue
update tinyusb to fix midi buffer overflow issue
2021-04-02 09:05:58 -05:00
Neradoc
12b0ee0a3e add alias boards and bus_device to the support matrix
add list with manual brand names for aliases
the new info in the support_matrix is used in build_board_info.py
2021-04-02 13:36:06 +02:00
hathach
7c3975ecf2 update tinyusb to fix midi buffer overflow issue 2021-04-02 17:57:56 +07:00
Dan Halbert
da16e4dce1
Merge pull request #4534 from UnexpectedCircuitPython/main
Changed some pins for TinyS2
2021-04-01 21:05:46 -04:00
Dan Halbert
5b7f90bc3d
Merge pull request #4535 from tannewt/packetbuffer_fixup
Two small PacketBuffer fixes
2021-04-01 20:08:10 -04:00
Scott Shawcroft
58835e5a5b
Two small PacketBuffer fixes
1. Allow for ctrl-c during a write.
2. Handle disconnects when acting as a client.
2021-04-01 14:16:35 -07:00
Seon Rozenblum
a9b4e04643 Changed some pins for TinyS2 2021-04-02 08:08:02 +11:00
Jeff Epler
3f3cb79b7d Add pinmux info for 1021 and 1062 family MCUs 2021-04-01 15:59:57 -05:00
Jeff Epler
89fc0298ce mimxrt1011: pwmout: Add prescaler, fix duty_cycle=65535 2021-04-01 13:04:06 -05:00
Scott Shawcroft
0135c5cc79
Merge pull request #4526 from t-ikegami/wio_pin_assign_fix
Fix SD_DET pin assignment of seeduino_wio_terminal.
2021-04-01 10:39:20 -07:00
Scott Shawcroft
5425242195
Merge pull request #4527 from t-ikegami/Terminal_add_esc_seqs
Add two escape sequences to terminalio.Termial
2021-04-01 10:38:51 -07:00
Scott Shawcroft
4909160135
Merge pull request #4523 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-04-01 10:30:27 -07:00
Jeff Epler
489163b74e mimxrt1011: pwmio: Enable basic PWMOut functionality
After this change, the following program works for me on the MIMXRT1010-EVK:
```python
import pwmio
import board

p = pwmio.PWMOut(board.D13, frequency=1_000_000, variable_frequency=True)
p.duty_cycle = 32868

while True:
    pass
```

Querying and varying the duty_cycle and frequency work as well.

The lowest frequency obtainable is about 2kHz; there is an additional
divider which would allow lower PWM frequencies (I think 1kHz is important
for servos?)

Something odd happens with very low duty cycles, such as
```python
>>> p.frequency = 2000
>>> p.duty_cycle = 2
```
instead of a symmetrical waveform, it's asymmetrical.  With `duty_cycle=4`,
the effect disappears.  The reason for this is probably hidden in the
datasheet, but could affect servos or other things that count pulse
widths.
2021-04-01 10:06:59 -05:00
Hosted Weblate
57011c8611 Merge remote-tracking branch 'origin/main' into main 2021-04-01 16:50:34 +02:00
Jonny Bergdahl
41eb9cb255
Translated using Weblate (Swedish)
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-01 16:50:34 +02:00
Wellington Terumi Uemura
fbc1b467aa
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-04-01 16:50:33 +02:00
Hugo Dahl
6b22e8fbc0
Translated using Weblate (French)
Currently translated at 100.0% (969 of 969 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-04-01 16:50:33 +02:00
Dan Halbert
7ad6058837
Merge pull request #4528 from adafruit/re-arrange-ci-task
Re-Arrange CI Task
2021-04-01 10:50:26 -04:00
microDev
77889fe70c
clone repo before installing deps
closes #4524
2021-04-01 18:00:56 +05:30
Tsutomu IKEGAMI
171820e53f Fix format 2021-04-01 20:45:15 +09:00
Tsutomu IKEGAMI
5f77d07760 Fix format 2021-04-01 20:26:10 +09:00
Tsutomu IKEGAMI
3c4d763fef Fix format. 2021-04-01 18:04:33 +09:00
Tsutomu IKEGAMI
7810cb275c Add two escape sequences to terminalio.Termial:
- ESC[yy;xxH : move cursor to (xx, yy)
- ESC[2J     : clear screen
2021-04-01 17:33:57 +09:00