Commit Graph

27728 Commits

Author SHA1 Message Date
Dan Halbert
c8e8171cec
Merge pull request #6300 from jepler/pio-continuous
rp2040: add a background write with looping to StateMachines
2022-04-26 10:09:02 -04:00
Hosted Weblate
5b3fd8e142
Merge remote-tracking branch 'origin/main' 2022-04-26 15:00:42 +02:00
Jonny Bergdahl
339a3608a5
Translated using Weblate (Swedish)
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 15:00:42 +02:00
Wellington Terumi Uemura
c28c028f90
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1055 of 1055 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-26 15:00:42 +02:00
Dan Halbert
bf2fd536d6
Merge pull request #6314 from ZodiusInfuser/motor
Added definition for an upcoming Pimoroni motor driver board
2022-04-26 09:00:35 -04:00
ZodiusInfuser
910662e833 Finalised motor 2040 pins 2022-04-26 12:56:31 +01:00
ZodiusInfuser
1ccf767112
Merge branch 'adafruit:main' into motor 2022-04-26 10:23:14 +01:00
Dan Halbert
4eeaf41edc test and adjust NeoPixel timings on multiple products 2022-04-25 23:12:24 -04:00
Hosted Weblate
2955112b5c
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/
2022-04-25 15:09:37 +02:00
Hosted Weblate
12f823286d
Merge remote-tracking branch 'origin/main' 2022-04-25 15:09:34 +02:00
Dan Halbert
0642917cf7
Merge pull request #6270 from FoamyGuy/tilegrid_bitmap_property
adding bitmap property to TileGrid
2022-04-25 09:09:28 -04:00
Hosted Weblate
9a2f7e9693
Merge remote-tracking branch 'origin/main' 2022-04-25 15:09:13 +02:00
Dan Halbert
fdf8207e05
Merge pull request #6281 from ViktorWiz/w5100s-evb-pico
Added WIZnet board W5100s-evb-pico
2022-04-25 09:09:08 -04:00
Hosted Weblate
8f4ba256ee
Merge remote-tracking branch 'origin/main' 2022-04-25 15:07:29 +02:00
Dan Halbert
6f6f98a2e2
Merge pull request #6301 from tekktrik/doc/remove-edit-link
Add docs/templates to templates in conf.py
2022-04-25 09:07:24 -04:00
Hosted Weblate
c6bcbfc3cb
Merge remote-tracking branch 'origin/main' 2022-04-25 15:02:49 +02:00
Dan Halbert
5b7e0754dd
Merge pull request #6287 from KurtE/mimxrt_pwm
Fix PWM Support for the MIMXRT boards
2022-04-25 09:02:40 -04:00
Hosted Weblate
be1c8d16b7
Merge remote-tracking branch 'origin/main' 2022-04-24 14:33:57 +02:00
Jeff Epler
66749accc4
Merge pull request #6305 from jepler/fix-audacity-mp3
Fix audacity mp3 (erroneous EOF detected)
2022-04-24 07:33:43 -05:00
hexthat
5d1fe5f2ad
Translated using Weblate (Chinese (Pinyin))
Currently translated at 99.2% (1046 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2022-04-23 23:13:20 +02:00
Wellington Terumi Uemura
02a0cbb155
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1054 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-23 23:13:20 +02:00
Jeff Epler
1a89a2d366
fix doc build 2022-04-23 13:25:59 -05:00
Jeff Epler
989fb828d4
Revamp background writing
Now a 'once' and a 'loop' buffer can be specified.

'once' is useful for things like writing a neopixel strip in the background,
if you can guarantee the buffer contents are stable until the write is complete.

'loop' is useful for periodic things, like pwm & servos.

both together are useful for some special cases of pwm/servo, where a
transitional waveform needs to be played for one repetition and then
a new waveform needs to be played after that.

The API is renamed to reflect that it's a more generic 'background'
operation.
2022-04-23 13:09:36 -05:00
Jeff Epler
df5f7bc765
MP3Decoder: better handle indicating end of mp3 audio data to caller
The old formulation
 * wouldn't work if there were ID3 tags at the end
 * would choose whether to background-refill the inbuf
   based on a check before skipping to the next sync word, which
   could be incorrect.

I think it was aspect "B" that ended up triggering the erroneous EOF
problem fixed in the prior commit. This would depend on specific data
sizes and offsets occuring in the file such that a read would be
scheduled but then the buffer would be filled and left 100% full by
find_sync_word(). It's just lucky(?) that a particular person produced
such a file, and/or many files produced by Audacity have those
characteristics.
2022-04-22 14:11:02 -05:00
Jeff Epler
1841af90e2
Don't erroneously set EOF flag if there was room to read 0 bytes 2022-04-22 14:11:01 -05:00
KurtE
8d9dc1fb93
Update ports/mimxrt10xx/supervisor/port.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 11:47:40 -07:00
KurtE
3c343cf1b8
Update ports/mimxrt10xx/supervisor/port.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 11:47:30 -07:00
Dan Halbert
3885bc9018
Merge pull request #6303 from DavePutz/issue_4452
Fix for issue #4452 - time.sleep on STM
2022-04-22 13:34:31 -04:00
KurtE
1312e5c759
Update ports/mimxrt10xx/supervisor/port.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:16:27 -07:00
KurtE
f102c15bb4
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:40 -07:00
KurtE
79dd2a6cd5
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
Fix Comment spelling

Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:29 -07:00
KurtE
53b7caf13c
Update ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
Co-authored-by: Dan Halbert <halbert@halwitz.org>
2022-04-22 09:15:01 -07:00
ViktorWiz
e8541e866c fix end of file issue 2022-04-22 15:02:50 +09:00
ViktorWiz
28296f98f8 update pid 2022-04-22 14:59:28 +09:00
ViktorWiz
f91be019f6
Merge branch 'adafruit:main' into w5100s-evb-pico 2022-04-22 14:52:04 +09:00
root
289aaae954 Fix for issue #4452 - time.sleep on STM 2022-04-21 17:05:44 -05:00
Dan Halbert
69605b5325
Merge pull request #6302 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-21 14:52:19 -04:00
Dan Halbert
76d54ca8ad shrink sparkfun_redboard_turbo 2022-04-21 12:58:46 -04:00
Jonny Bergdahl
e007e9a003
Translated using Weblate (Swedish)
Currently translated at 100.0% (1054 of 1054 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-21 15:12:30 +02:00
Jeff Epler
457aba79f4
fix doc build 2022-04-20 08:09:38 -05:00
Hosted Weblate
e4944fc98d
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/
2022-04-20 14:31:52 +02:00
Dan Halbert
4aea8049c5
Merge pull request #6279 from mjs513/main
Added Settable Clock for MIMXRT BOARDS
2022-04-20 08:31:41 -04:00
mjs513
2e9e29bf1b Delete Left Over Comments 2022-04-20 04:10:16 -04:00
Dan Halbert
1fcc73bc24
Merge pull request #6261 from KurtE/PortSerialHooksIssue
disable on mimxrt10xx (Teensy40 41) Serial port Hooks
2022-04-19 23:04:07 -04:00
Alec Delaney
aeff1cddaa Add docs/templates to templates in conf.py 2022-04-19 22:32:08 -04:00
Dan Halbert
4f31f1d43d
Merge pull request #6299 from tekktrik/doc/fix-randrange
Fix signature of random.randrange() to show multiple signatures in stub
2022-04-19 21:40:12 -04:00
Dan Halbert
a4ccdd1ef0
Merge pull request #6297 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-19 21:25:22 -04:00
Alec Delaney
cad87504aa Merge branch 'doc/fix-randrange' of https://github.com/tekktrik/circuitpython into doc/fix-randrange 2022-04-19 17:50:28 -04:00
Alec Delaney
666579abbb Retrigger CI 2022-04-19 17:42:54 -04:00
Jeff Epler
144eb5dfd4
fix lost DMA IRQ 2022-04-19 16:42:27 -05:00