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
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
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
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
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
Dan Halbert
94d7bfb1c9
Merge pull request #4264 from UnexpectedCircuitPython/main
...
Expanded pin names for TinyS2 + FeatherS2 pin additions for DAC1 & DAC2
2021-02-25 15:13:18 -05:00
Dan Halbert
199a8ce8b0
change DigitalInOut direction only when necessary; strong drive strength
2021-02-25 14:10:19 -05:00
Scott Shawcroft
d4bf0d5e2d
Merge pull request #4258 from jepler/pixelbuf-brightness-performance
...
_pixelbuf: Increase performance of brightness-scaling
2021-02-25 10:51:32 -08:00
microDev
8170e26a86
more uart improvements
...
- address suggested changes
- refine uart instance availibility checks
- improve pin validation and rx buffer handling
2021-02-25 23:46:00 +05:30
Dan Halbert
bbe0602738
Merge pull request #4245 from kamtom480/spresense_usb_speed
...
spresense: Pass the correct USB bus speed after restart
2021-02-25 11:02:33 -05:00
Dan Halbert
a7120bfad9
Merge pull request #4263 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-02-25 10:39:42 -05:00
Kamil Tomaszewski
fb32e0a7fd
qtpy_m0_haxpress: Change config to make it fit.
2021-02-25 09:44:33 +01:00
Seon Rozenblum
69b10d7925
Added DAC1 & DAC2 pin names for FeatherS2
...
Expanded pin names for TinyS2 and added some new ones for functionality I forgot to add pin names for
Cleaned up mpconfigboard
2021-02-25 17:32:34 +11:00
Hosted Weblate
d9a2c8308f
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-25 01:24:53 +01:00
Hosted Weblate
a52132c170
Merge remote-tracking branch 'origin/main' into main
2021-02-25 01:24:51 +01:00