Commit Graph

25943 Commits

Author SHA1 Message Date
Pierre Constantineau 40326ab3f9 fix pre-commit 2021-10-22 18:35:38 -06:00
Pierre Constantineau d6e9e9c3c9 added neopixel to mpconfigboard.h 2021-10-22 18:32:21 -06:00
Max Holliday f7ba711ec6
Merge branch 'adafruit:main' into samd-sleep 2021-10-22 14:56:44 -07:00
microDev e2652f8aac
add packet class 2021-10-22 20:19:56 +05:30
microDev 6c94234b72
allow any character except / in port or board name 2021-10-22 20:08:02 +05:30
Dan Halbert 65ffcf1465
Merge pull request #5495 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-22 07:35:02 -04:00
Hosted Weblate f53cb19958
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-10-22 01:43:30 +02:00
Dan Halbert 9b0b9d2830
Merge pull request #5494 from kattni/update-help-message
Update help() message to have circuitpython.org
2021-10-21 19:43:21 -04:00
Kattni Rembor 2c15f5439b Update help() to have circuitpython.org 2021-10-21 18:07:07 -04:00
Max Holliday 397b2f6bb5 pin alarm configures pins again before deep sleep 2021-10-21 10:03:46 -07:00
Max Holliday e74a8e38fe
Merge branch 'adafruit:main' into samd-sleep 2021-10-21 09:52:55 -07:00
Scott Shawcroft cf4597c6db
Merge pull request #5484 from dhalbert/samd21-pdmin-fix
fix SAMD21 PDMIn DMA event use
2021-10-20 09:47:13 -07:00
Scott Shawcroft a7a6b347c2
Merge pull request #5483 from jepler/samd51-watchdog
samd51: implement, enable watchdog
2021-10-20 09:45:00 -07:00
Dan Halbert ec7e88b369
Merge pull request #5487 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-20 09:39:02 -04:00
Jonny Bergdahl 95e4902468
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-10-20 09:36:08 +02:00
Wellington Terumi Uemura 2f22498263
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-10-20 09:36:08 +02:00
Dan Halbert 28a58c3063
Merge pull request #5486 from dhalbert/keypad-event-hash
fix hash() for Event
2021-10-19 20:31:26 -04:00
Dan Halbert 9091913074 fix hash() for Event 2021-10-19 19:04:10 -04:00
Dan Halbert fc440e7609 move sercom_reset() etc. out of busio/SPI.c to busio/__init__.c 2021-10-19 15:18:32 -04:00
Jeff Epler 39795430a4
Apply suggestions from code review
Eliminates the "pet" function

Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2021-10-19 13:25:28 -05:00
Dan Halbert 79ee78e690 fix SAMD21 PDMIn DMA event use 2021-10-19 13:18:14 -04:00
Scott Shawcroft 9220e482ff
Merge pull request #5482 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-19 09:55:04 -07:00
Jeff Epler d38cf05e59 samd51: Add watchdog timer 2021-10-19 10:52:14 -05:00
Jeff Epler 74457d81f2 str_modulo_format: Make error better match standard python
Before this, "%c" % 3.14 would raise the error `integer required`
even though python3 uses `%c requires int or char`, just like both
already did for "%c" % "ab".

This gets rid of a string to translate, and makes behavior match
python3 better.
2021-10-19 10:52:14 -05:00
Hosted Weblate 0658e31645
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-10-19 00:56:41 +02:00
Hosted Weblate fdb0522c3c
Merge remote-tracking branch 'origin/main' 2021-10-19 00:56:38 +02:00
Jonny Bergdahl a3050d1f1e
Translated using Weblate (Swedish)
Currently translated at 100.0% (1007 of 1007 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-10-19 00:56:38 +02:00
Scott Shawcroft dc4e5cb33b
Merge pull request #5481 from dhalbert/hid-boot-protocol
HID Boot device support; HID feature report support
2021-10-18 15:56:30 -07:00
Scott Shawcroft 2e0be0b5b4
Merge pull request #5478 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-18 15:21:50 -07:00
Dan Halbert 11c8080577 touch up doc 2021-10-18 16:26:12 -04:00
Dan Halbert fa96ea1f72 Merge remote-tracking branch 'adafruit/main' into hid-boot-protocol 2021-10-18 15:30:24 -04:00
Hosted Weblate f44fec8282
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-10-18 14:14:04 +02:00
Dan Halbert 00aeb6b9d0
Merge pull request #5468 from jepler/encoder-divisor
rotaryio: Add the ability to set the divisor
2021-10-18 08:13:56 -04:00
microDev 6a5a88e478
Merge pull request #5474 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-17 22:34:43 +05:30
Jonny Bergdahl a4ff69becf
Translated using Weblate (Swedish)
Currently translated at 100.0% (1006 of 1006 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-10-17 16:36:50 +02:00
Wellington Terumi Uemura 207db45028
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1006 of 1006 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-10-17 16:36:49 +02:00
Jeff Epler 2736b46f81
Merge pull request #5472 from fraziern/fraziern-docs-readme
Update README in docs/
2021-10-16 17:22:06 -05:00
Nick Frazier 645d513d27 Update README in docs/
Update README in docs/ to reflect changes in package requirements
2021-10-16 17:46:28 -04:00
Jeff Epler 4692b5a95b
Merge pull request #5471 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-10-16 15:34:45 -05:00
Jeff Epler 9eebb3dbab rotaryio: Add the ability to set the divisor
At present, Adafruit's rotary encoders all move 1 quadrature cycle per
detent, so we originally hard-coded division-by-4.  However, other
encoders exist, including ones without detents, ones with 2 detents per
cycle, and others with 4 detents per cycle.

The new `divisor` property and constructor argument allows selecting
a divisor of 1, 2, or 4; with the default of 4 giving backward
compatibility.

The property is not supported (yet?) on espressif MCUs; it throws an
error if a value other than 4 is set.
2021-10-16 09:43:45 -05:00
Jeff Epler a0dd2ccec1 rotaryio: shared_module_softencoder_state_update: no need for BAD state
All we do on a BAD state transition is avoid counting up or down,
but the same is accomplished by using the "0" table value instead.
2021-10-16 09:41:38 -05:00
Hosted Weblate ab7f8a7661
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-10-16 05:34:46 +02:00
Dan Halbert 23d2c96476
Merge pull request #5466 from jepler/merge-1.17
Merge 1.17
2021-10-15 23:34:31 -04:00
Jeff Epler 3b8af4cf6f fix an errant 'all_args' 2021-10-15 21:13:47 -05:00
Jeff Epler 414c2f9da6 Always use python3
.. similar to https://github.com/micropython/micropython/pull/4448
2021-10-15 15:11:21 -05:00
Jeff Epler 4e7c1a4bd4 Rename make_new's parameter to `all_args`
.. and fix two straggling modules that weren't updated at all.
Maybe they're not included in any builds?
2021-10-15 13:49:33 -05:00
microDev 23b24278a7
Merge pull request #5465 from melopero/main
Added D17/Battery Pin definition to melopero shake rp2040
2021-10-15 21:47:47 +05:30
Jeff Epler 132107c258 makeversionhdr: Pick out a circuitpython-style tag 2021-10-15 10:40:04 -05:00
Jeff Epler 53c5bde924 core: Enable new performance optimizations
These two optional optimzations take a little codespace but improve
bytecode performance:
 * https://github.com/micropython/micropython/pull/7680
 * https://github.com/micropython/micropython/pull/7688
2021-10-15 10:39:47 -05:00
Leonardo La Rocca 45600b1b99
Update ports/raspberrypi/boards/melopero_shake_rp2040/pins.c
Co-authored-by: microDev <70126934+microDev1@users.noreply.github.com>
2021-10-15 16:52:25 +02:00