Radomir Dopieralski
2a3cd5b294
Use uint16 for temporary variables in displayio.TileGrid
...
Should fix #4284
2021-02-28 00:29:49 +01:00
gamblor21
d7bc8a46a5
Added counters per slice
2021-02-27 15:17:27 -06:00
Radomir Dopieralski
24473b7983
Separate out mp_obj_list_insert for use in display.Group
...
Note that for some reason this makes the binary 500 bytes larger!
2021-02-27 21:13:55 +01:00
Radomir Dopieralski
38fb7b511b
Remove max_size from displayio.Group
...
Still accept it as an argument. Add deprecation note.
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
9c41753e44
Remove unused typedef for group children
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
e9953754ea
Add displayio.Group.sort() method
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
e505c59ed8
Separate mp_obj_list_pop so it can be used outside of objlist.c
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
121c6bcc9b
Replace displaio.Group.children with a python list
...
This is a first go at it, done by naive replacing of all array
operations with corresponding operations on the list. Note that
there is a lot of unnecessary type conversions, here. Also, list_pop
has been copied, because it's decalerd STATIC in py/objlist.h
2021-02-27 20:52:38 +01:00
Radomir Dopieralski
6e0ce23f3e
displaio: don't store group children native object
...
Since we want to expose the list of group's children to the user,
we should only have the original objects in it, without any other
additional data, and compute the native object as needed.
2021-02-27 20:52:38 +01:00
Hosted Weblate
19178a1767
Merge remote-tracking branch 'origin/main' into main
2021-02-27 16:20:00 +01:00
Jonny Bergdahl
6c3fcead62
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (970 of 970 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-02-27 16:19:59 +01:00
Wellington Terumi Uemura
6520d169e4
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (970 of 970 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-02-27 16:19:59 +01:00
Dan Halbert
f4886a6f46
Merge pull request #4283 from pewpew-game/usb-msc-disable
...
Fix for CIRCUITPY_USB_MSC=0
2021-02-27 10:19:52 -05:00
Radomir Dopieralski
8c8d60fb80
Fix for CIRCUITPY_USB_MSC=0
...
Avoid undefined functions when MSC is disabled.
2021-02-27 15:05:00 +01:00
root
29c89a2487
Removed more includes
2021-02-26 22:35:38 -06:00
root
f3515502b7
Removed unecessary includes
2021-02-26 22:33:50 -06:00
root
6374408c06
Changed reset_rp2pio_statemachine to clean up any PIO interrupts.
2021-02-26 22:28:50 -06:00
Scott Shawcroft
94edff9063
translation update
2021-02-26 15:42:53 -08:00
Kevin Matocha
3afc269b18
fix two off by one errors
2021-02-26 17:22:11 -06:00
Scott Shawcroft
24fdda038e
translation update
2021-02-26 15:18:50 -08:00
Jonny Bergdahl
f7eac46c78
Update StateMachine.c
...
Changed woring to use max instead
2021-02-27 00:07:30 +01:00
Scott Shawcroft
776301c932
Typo fix: direcion -> direction
2021-02-26 15:03:56 -08:00
Hosted Weblate
8aacd3f40a
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-02-26 23:57:34 +01:00
Scott Shawcroft
888a0c5f08
Merge pull request #4224 from microDev1/busio-uart-rp
...
RP2040: Support for UART
2021-02-26 14:57:23 -08:00
Dan Halbert
d9234ffa82
need to gpio_set_dir() at some point
2021-02-26 15:27:35 -05:00
root
7942932176
Requested changes
2021-02-26 14:14:55 -06:00
Scott Shawcroft
7562b0cbb8
Turn off GC opt on catwan_usbstick
2021-02-26 12:00:01 -08:00
Scott Shawcroft
2e6e91dc5c
Merge pull request #4253 from tannewt/rp2040_fix_pwm_reuse
...
Fix second shared PWM
2021-02-26 11:53:54 -08:00
Scott Shawcroft
3ea89b86c1
Merge pull request #4274 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-02-26 11:49:58 -08:00
Scott Shawcroft
7c8d7d77dd
Merge remote-tracking branch 'adafruit/main' into busio-uart-rp
2021-02-26 09:04:42 -08:00
Hosted Weblate
60d600d2ce
Merge remote-tracking branch 'origin/main' into main
2021-02-26 17:11:49 +01:00
Limor "Ladyada" Fried
caedc3bba6
Merge pull request #4270 from tannewt/rp2040_feather_pinout
...
Update RP2040 Feather pinout for production rev
2021-02-26 11:11:44 -05:00
Jeff Epler
1d1ff5f308
Merge remote-tracking branch 'origin/main' into update-protomatter-rp2
2021-02-26 09:56:35 -06:00
Hosted Weblate
db2bea8e48
Merge remote-tracking branch 'origin/main' into main
2021-02-26 16:47:30 +01:00
Jeff Epler
5158aec8c1
Merge pull request #4269 from jepler/fix-out-stride-2-4
...
rp2pio: Fix writing where the stride was 2 or 4
2021-02-26 09:47:19 -06:00
Jonny Bergdahl
ac880152a1
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-02-26 14:50:28 +01:00
Wellington Terumi Uemura
fb4af7e77e
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-02-26 14:50:27 +01:00
Jose David M
0259e1a89a
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (971 of 971 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-02-26 14:50:27 +01:00
Scott Shawcroft
3f08cb47b8
Merge remote-tracking branch 'adafruit/main' into busio-uart-rp
2021-02-25 16:59:15 -08:00
Scott Shawcroft
52bc935fa7
A few minor fixes for corner cases
...
* Always clear the peripheral interrupt so we don't hang when full
* Store the ringbuf in the object so it gets collected when we're alive
* Make UART objects have a finaliser so they are deinit when their
memory is freed
* Copy bytes into the ringbuf from the FIFO after we read to ensure
the interrupt is enabled ASAP
* Copy bytes into the ringbuf from the FIFO before measuring our
rx available because the interrupt is based on a threshold (not
> 0). For example, a single byte won't trigger an interrupt.
2021-02-25 16:50:57 -08:00
Scott Shawcroft
f0432b9d6f
Remove neopixel power
2021-02-25 16:37:34 -08:00
Kevin Matocha
ec4cd68edc
More mpconfigboard.mk corrections for small builds
2021-02-25 17:48:50 -06:00
Dan Halbert
d0f1cfb039
address review; use gpio_set() carefully
2021-02-25 18:41:22 -05:00
Scott Shawcroft
2b163ccd6a
Fix incorrect deinit mask
2021-02-25 14:57:46 -08:00
Scott Shawcroft
1b00d94b23
Fix second shared PWM
...
Fixes #4210
2021-02-25 14:49:09 -08:00
Scott Shawcroft
80f7972f72
Update RP2040 Feather pinout for production rev
2021-02-25 14:46:08 -08:00
Scott Shawcroft
b69cb0144c
Merge pull request #4268 from kmatch98/blit_self
...
Update for clean blitting into itself
2021-02-25 14:15:25 -08:00
Jeff Epler
22276710e6
rp2pio: Fix writing where the stride was 2 or 4
...
The wrong stride value was being checked.
2021-02-25 15:50:49 -06:00
Kevin Matocha
a7a4f93ff8
Updated build configs to turn off BITMAPTOOLS for smaller builds
2021-02-25 15:44:32 -06:00
Kevin Matocha
4097c949a3
Update for clean blitting into itself
2021-02-25 14:16:40 -06:00