Commit Graph

30644 Commits

Author SHA1 Message Date
Dogus Cendek 320dc915e7
Merge branch 'adafruit:main' into main 2023-03-24 10:04:53 +03:00
Ozgur BOSTAN c5a6fd97b0
Update sdkconfig
Add missing new line
2023-03-24 09:43:49 +03:00
Jeff Epler b1d9331367
move comment next to its associated #if 2023-03-23 21:11:05 -05:00
Jeff Epler 0c0e06c940
remove comment that was copypasted 2023-03-23 21:10:04 -05:00
Jeff Epler e1c8a3062a
remove debugging print 2023-03-23 21:06:53 -05:00
Dan Halbert 3c64b5212f
Merge pull request #7690 from jepler/mimxrt10xx-rotaryio
Add IncrementalEncoder for mimxrt1011
2023-03-23 16:44:46 -04:00
Jeff Epler e2565e2305
mimxrt10xx: Add PWMAudioOut
.. via a peripheral known as the "MQS" (medium quality sound). It uses an
~192kHz PWM signal to generate audio. It sounds OK on a small speaker with
no amplifier. There's a small pop when starting/stopping audio, as is
typical.
2023-03-23 14:08:44 -05:00
Jeff Epler df916e0484
Merge remote-tracking branch 'origin/main' into mimxrt10xx-rotaryio 2023-03-23 13:02:12 -05:00
Dan Halbert 5ae3be1342
Merge pull request #7784 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-03-23 13:48:03 -04:00
Hosted Weblate ff242e6198
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/
2023-03-23 18:26:38 +01:00
Hosted Weblate b58167186b
Merge remote-tracking branch 'origin/main' 2023-03-23 18:26:34 +01:00
Jonny Bergdahl 24aea01475
Translated using Weblate (Swedish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-03-23 18:26:34 +01:00
Wellington Terumi Uemura da0df8a692
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-03-23 18:26:33 +01:00
Jose David M 1525672146
Translated using Weblate (Spanish)
Currently translated at 100.0% (1004 of 1004 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-03-23 18:26:33 +01:00
Dan Halbert 0639c0850f
Merge pull request #7751 from hathach/add-codespell
Add codespell to pre-commit to scan and fix typo
2023-03-23 13:26:24 -04:00
Scott Shawcroft 5c72828997
Merge pull request #7760 from Neradoc/01space-042-oled-c3
Adding 01space OLED 0.42 C3
2023-03-23 10:14:48 -07:00
Scott Shawcroft cd69e1cec3
Merge pull request #7764 from jepler/mimxrt10xx-i2sout-v2
mimxrt10xx: implement i2sout
2023-03-23 10:07:51 -07:00
Jeff Epler b235b50647
mimxrt: no longer need to collect the pin chainge interrupt ptrs
.. the objects on the gc heap are guaranteed to be alive, as their
finali(s/z)er will disable the interrupt.
2023-03-23 09:58:40 -05:00
Jeff Epler 50ba218afb
PulseIn, Counter: give finali(s/z)ers to these types too
for similar reasons, an interrupt handler might point at these
objects, and we can worry less about it if the object deinits when it
is GC'd.
2023-03-23 09:57:32 -05:00
Jeff Epler c45db1c1eb
incrementalencoder: give it a finaliser 2023-03-23 09:56:14 -05:00
Jeff Epler de74b63472
move pin change interrupt stuff to peripherals 2023-03-23 09:28:14 -05:00
Jeff Epler d247e5c6c9
Add the ability for a port to gc things, collect pin change objects that way 2023-03-23 09:16:00 -05:00
Jeff Epler 47e1abdbc7
Add IncrementalEncoder for mimxrt1011
.. and write a general 'pin change interrupt' facility to power it

This uses the same quadrature state machine as atmel-samd, nrf, and
rp2040. The 1011 doesn't have a dedicated encoder peripheral, so we
go the pin-change + software route.
2023-03-23 09:14:58 -05:00
Jeff Epler b50c80e3d9
remove unused macro 2023-03-23 09:12:46 -05:00
Dan Halbert b947605ab7
Touch up 2023-03-23 09:24:11 -04:00
Dan Halbert db76fbd55f
Merge pull request #7712 from gamblor21/ondiskgif_freemem_fix
Add deinit to OnDiskGif
2023-03-23 09:03:07 -04:00
ozgurbostan b38c0a4dc1 Add new boards (deneyapkart/1a/g) 2023-03-23 14:32:01 +03:00
ozgurbostan 81e71c706f Update pre-commit 2023-03-23 13:13:56 +03:00
hathach 66129311f4
fix pre-commit format 2023-03-23 14:19:36 +07:00
hathach 8c1095b268
Merge branch 'main' into add-codespell 2023-03-23 14:09:57 +07:00
hathach bce1e7e280
Revert changes in lib/ 2023-03-23 14:01:20 +07:00
hathach a8abe8e705
remove lib from exludes, fix all remaining typos 2023-03-23 13:59:08 +07:00
gamblor21 52631bb1c5 Restore OnDiskGif deinit 2023-03-22 22:30:38 -05:00
gamblor21 00d78f7cfe Merge branch 'ondiskgif_freemem_fix' of https://github.com/gamblor21/circuitpython into ondiskgif_freemem_fix 2023-03-22 22:24:39 -05:00
Dan Halbert 45599258c9 fix missing close brace 2023-03-22 22:00:59 -04:00
gamblor21 e993d0f3c3 Missing brace 2023-03-22 20:19:09 -05:00
gamblor21 98ebc676ce Added documentation about freeing a GIF 2023-03-22 19:20:20 -05:00
Dan Halbert 2365f9b3be shrink SAMD21 builds; rework shrink logic in Makefile 2023-03-22 19:20:20 -05:00
gamblor21 3020893ba2 Tweak to try to reduce low space builds 2023-03-22 19:20:20 -05:00
gamblor21 2c1e2061db Change free function 2023-03-22 19:20:20 -05:00
gamblor21 aa423cc1c6 Free memory allocated by bitmap obj 2023-03-22 19:20:20 -05:00
gamblor21 07e83674c9 Add deinit to displayio.Bitmap 2023-03-22 19:20:20 -05:00
gamblor21 8b9f5e7f53 Remove del obj and add deinited 2023-03-22 19:20:20 -05:00
Dan Halbert 2492fb0b0a
Merge pull request #7780 from jepler/fix-struct-pack
use `values` in this error message ...
2023-03-22 20:19:08 -04:00
Dan Halbert 05e783cbbd
Merge pull request #7775 from tannewt/fix_pyportal
Add more checks for read-only Bitmaps
2023-03-22 20:16:43 -04:00
Dan Halbert 3ef2b7f81f
Merge pull request #7777 from tannewt/fix_epd_grayscale
Fix tricolor epd and add EPD feather
2023-03-22 20:13:23 -04:00
Dan Halbert 2282d8ea2d
Merge pull request #7779 from jepler/revert-socket-error
Revert "Correctly raise OS error in socketpool_socket_recv_into()"
2023-03-22 20:10:03 -04:00
Dan Halbert d45cde1d6f
Merge pull request #7776 from dhalbert/metro-m7-esp-tx-rx-swap
Swap ESP32 RX and TX pins on Metro M7 1011
2023-03-22 20:09:38 -04:00
Jeff Epler 127a7092bf
use `values` in this error message ...
matching the documentation of struct.pack, which has `def pack(fmt: str,
*values: Any)` as the signature.
2023-03-22 16:11:22 -05:00
Dan Halbert 75413040b6
Merge pull request #7774 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-03-22 15:50:17 -04:00