Commit Graph

27661 Commits

Author SHA1 Message Date
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
Jeff Epler
ebc426d9e6
Remove debug prints, improve docs 2022-04-19 16:39:04 -05:00
Jeff Epler
b128f180ca
switch to single single dma channel, fix some bugs 2022-04-19 16:33:51 -05:00
Hosted Weblate
3e4731ca97
Merge remote-tracking branch 'origin/main' 2022-04-19 23:20:38 +02:00
Dan Halbert
50457e9f33
Merge pull request #6294 from tekktrik/doc/update-readinto
Update documentation for end param in SPI.readinto()
2022-04-19 17:20:33 -04:00
Hosted Weblate
bbd4fe8b98
Merge remote-tracking branch 'origin/main' 2022-04-19 23:19:48 +02:00
Dan Halbert
84afc623a1
Merge pull request #6298 from Neradoc/nera-remove-frozen-busdevice
Remove frozen bus device modules
2022-04-19 17:19:43 -04:00
Hosted Weblate
d1518103e8
Merge remote-tracking branch 'origin/main' 2022-04-19 23:14:03 +02:00
Dan Halbert
4c240d733d
Merge pull request #6296 from tekktrik/doc/add-log-documentation
Add documentation for math.log()
2022-04-19 17:13:59 -04:00
Hosted Weblate
81df8207c8
Merge remote-tracking branch 'origin/main' 2022-04-19 23:12:58 +02:00
Dan Halbert
da21807d73
Merge pull request #6293 from FoamyGuy/updating_requests
update frozen requests
2022-04-19 17:12:53 -04:00
KurtE
49769cfea4 Convert to use debug rx/tx pins to trigger adding this code
As per review request
2022-04-19 14:02:16 -07:00
Jeff Epler
33d6d55675
the basics work
the sequence has to be a minimum length, 8 entries, but this problem
is not detected. I don't THINK this is an insurmountable problem.
2022-04-19 15:14:50 -05:00
Alec Delaney
3a5973084f
Add return type for 3-argument random.randrange() 2022-04-19 16:14:01 -04:00
Alec Delaney
9274e6a681 Fix signature of random.randrange() to show multiple signatures in stub 2022-04-19 14:13:38 -04:00
Alec Delaney
211d42f58d Change value of base in math.log to e 2022-04-19 13:27:46 -04:00
Dan Halbert
36e7b49ddd update all frozen libraries 2022-04-19 13:26:10 -04:00
Siyabend Ürün
59ccbc6316
Translated using Weblate (Turkish)
Currently translated at 12.6% (133 of 1052 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2022-04-19 19:07:44 +02:00