Commit Graph

28267 Commits

Author SHA1 Message Date
Tod Kurt
5d4e964de0 fix qtpy_esp32s3_nopsram neopixel pins 2022-05-02 13:04:05 -07:00
Limor "Ladyada" Fried
8beb908d90
Merge pull request #6329 from tekktrik/personal/mp3decoder-docs
Add note about memory usage recommendation to MP3Decoder
2022-04-30 21:13:20 -04:00
KurtE
1fad381513 [RP2040] Allow any GPIO pin for RS485 direction pin
As I mentioned in issue #6310 while investigating that the Teensy port
did not support RS485_dir pin on normal GPIO pins, I found that it
was not implemented either as well on some other ports.

So was curious to implement it for RP2040 using same approach as I did
for the MIMXRT in the Pull Request #6328

That is I setup the specified pin as a normal GPIO pin in output mode
and then when you do a write operation it sets the GPIO pin logically
high, and when the write completes I set it logically low.

Note: knowing when I can set it low can be tricky, as you need to make
sure the full output has completed otherwise the data will be corrupted.

I am using:         uart_tx_wait_blocking(self->uart);
Which looks like it is supposed to wait until the busy status is no
longer set, which the Reference manual mentioned, but this is leaving
the line logically set longer than I would like.

however I have tried running it with my hacked up version of the
Python Robotis DynamixelSDK and was able to talk to some AX servos.

I did have to change the library slightly for the RP2040, as the
library was erroring out when you did something like uart.read(5)
and it timed out without receiving anything.  The RP2040 returned
None whereas I think the Teensy returned an empty set, which is what
it looks like the PySerial original code expects.

Not sure if anyone is interested in this, but thought i would
put it out as PR and see.
2022-04-30 14:31:08 -07:00
Alec Delaney
92aeabfe3a Update note in MP3Decoder 2022-04-30 15:18:05 -06:00
Alec Delaney
3d145af587 Add note about memory usage for MP3Decoder 2022-04-30 15:11:00 -06:00
Mark
b598ec0ddb
Merge pull request #6324 from tekktrik/doc/add-watchdog-timeout-docs
Add documentation for watchdog.WatchDogTimeout
2022-04-29 23:35:36 -05:00
Alec Delaney
9a23923b2d Add documentation for watchdog.WatchDogTimeout 2022-04-29 11:41:22 -06:00
Dan Halbert
816a26e8b7
Merge pull request #6321 from dhalbert/samd21-ticks-for-display
Preserve ticks for displays across VMs
2022-04-28 09:37:21 -04:00
Mark
02280b81ef
Merge pull request #6320 from mwisslead/pulseio_pulsin_buffer_overread
Fix PulseIn buffer overread in popleft #6318
2022-04-28 07:42:44 -05:00
Michael Wisslead
e63a327107 Bound PulseIn start indexes to maxlen. 2022-04-28 02:28:34 +00:00
Dan Halbert
90b78fe25f
Merge pull request #6319 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-27 22:27:26 -04:00
Dan Halbert
b25d810af9 Preserve ticks for displays across VMs 2022-04-27 20:06:47 -04:00
KurtE
73f6b48676 [mimxrt (teensy) Allow Any GPIO pin for RS485 pin
The existing code was setup that allowed you to specify an RTS
pin to be used as an RS485 direction pin, however there are no
RTS pins that are exposed on any of the Teensy 4.x boards.

Instead Arduino code base allowed you to specify any GPIO pin to
work instead.  So I added the code in to facilitate this.

In addition the alternative code to wrap your own GPIO pin set high and low
around call(s) to uart.write() will not currently work, unless maybe you
fudge it and add your own delays as the write will return after the last
byte was pushed onto the UART’s hardware FIFO queue and as such if you
then immediately set the IO pin low, it will corrupt your output stream.

The code I added detects that you are setup to use the RS485 pin and
before it returns will wait for the UART’s Transfer complete status flag
to be set.
2022-04-27 11:26:08 -07:00
Wellington Terumi Uemura
dd5288127c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2022-04-27 20:11:12 +02:00
Dan Halbert
862188d2ee
Merge pull request #6316 from dhalbert/spacing-fix
update frozen libraries and remove stray space
2022-04-26 20:14:46 -04:00
Dan Halbert
b7541088f4 shrink circuitplayground_express_crickit 2022-04-26 17:51:47 -04:00
Dan Halbert
7a77aae4be shrink feather_m0_supersized 2022-04-26 16:52:43 -04:00
Dan Halbert
9ffd1db331
Merge pull request #6315 from dhalbert/huffman-is-in-tools
huffman is a submodule and does not need to be in requirements-dev.txt
2022-04-26 14:46:34 -04:00
Dan Halbert
e85ea4f4bb update frozen libraries 2022-04-26 14:43:48 -04:00
Dan Halbert
6b25ccf1a4 remove stray space 2022-04-26 14:26:42 -04:00
Dan Halbert
49c64d5679
Merge pull request #6308 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2022-04-26 13:19:43 -04:00
Hosted Weblate
5c185e13c5
Merge remote-tracking branch 'origin/main' 2022-04-26 19:18:58 +02:00
Dan Halbert
63abd9a9cf
Merge pull request #6312 from dhalbert/adjust-neopixel-timings
test and adjust NeoPixel timings on multiple ports
2022-04-26 13:18:47 -04:00
Hosted Weblate
2adefa1c84
Merge remote-tracking branch 'origin/main' 2022-04-26 17:40:27 +02:00
Jonny Bergdahl
6e6679b039
Translated using Weblate (Swedish)
Currently translated at 100.0% (1056 of 1056 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2022-04-26 17:40:27 +02:00
Dan Halbert
3a8fb4e956
Merge pull request #5852 from jepler/floppy
Add floppyio
2022-04-26 11:40:19 -04:00
Dan Halbert
7c337ca3ac huffman is a submodule and does not need to be in requirements-dev.txt 2022-04-26 10:33:37 -04:00
Hosted Weblate
ab73741b40
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-26 16:09:16 +02:00
Hosted Weblate
59c2ad69a2
Merge remote-tracking branch 'origin/main' 2022-04-26 16:09:13 +02:00
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