Commit Graph

24585 Commits

Author SHA1 Message Date
Scott Shawcroft
826e25989c
Merge pull request #4949 from pewpew-game/macropad-oled
MacroPad RP2040: Add initialization for the OLED display
2021-06-29 11:08:14 -07:00
Limor "Ladyada" Fried
176c5c5cd5
Merge pull request #4942 from pewpew-game/main
PewPew M4: use keypad instead of gamepad
2021-06-29 11:54:01 -04:00
Radomir Dopieralski
b8c4f7d685 MacroPad RP2040: Add initialization for the OLED display 2021-06-29 17:38:14 +02:00
microDev
e0c626af16
fix bytes() and bytearray() input validation 2021-06-29 19:59:44 +05:30
dmcomm
ae8ea915d7
Fix pulseio.PulseIn __len__() documentation 2021-06-29 13:38:12 +01:00
Radomir Dopieralski
1a076d34c9 PewPew M4: use keypad instead of gamepad
Since the new keypad module is taking over gamepad functionality,
I'm switching to it. If this works well, I will make the change
for the remaining boards.
2021-06-29 10:36:52 +02:00
microDev
fd681ca70a
minor fix for struct_time docs 2021-06-29 08:11:16 +05:30
Jeff Epler
e5d2b25b10 remove 'double-wide' characters not in the font
I noticed the build printed things like
```
Font missing 3 characters
```

.. this is why.

We can't make it an error, because Japanese has hundreds of characters
not in the font.
2021-06-28 19:49:59 -05:00
Jeff Epler
3dcd603e39 time: Fix and better document time.struct_time constructor
INCOMPATIBLE CHANGE: struct_time(1,2,3,4,5,6,7,8,9) is now _rejected_
just as on standad Python.

This incorrect constructor was added by me in #2327; I assumed
without even checking that the `struct_time` constructor was also
compatible with the `namedtuple` constructor, but it is not and has
always been rejected by standard Python (checked 2.7 and 3.9)

This commit restores the specific error message that we used for this
purpose, which was removed in the previous commit either out of laziness
or out of trying to reduce unneeded error strings. In this case, the
alternate string is too misleading (it refers to arguments, not to
sequence elements) so let's put the better message back.
2021-06-28 19:28:00 -05:00
Scott Shawcroft
8a5a7457ab
Merge pull request #4928 from 2bndy5/fix-bus-device-docs
update busio & adafruit_bus_device docs
2021-06-28 15:38:24 -07:00
Kattni
b265a924d1
Merge pull request #4941 from kattni/macropad-pins
Adding pins to match silk and other RP2040 boards.
2021-06-28 18:09:11 -04:00
Scott Shawcroft
72f1489c5d
Merge pull request #4924 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-28 14:34:37 -07:00
Kattni Rembor
2c2d541e7c Adding pins to match silk and other RP2040 boards. 2021-06-28 17:10:15 -04:00
Hosted Weblate
a6dfef64b3
Merge remote-tracking branch 'origin/main' into main 2021-06-28 16:35:24 +02:00
Dan Halbert
ae5080955e
Merge pull request #4938 from dhalbert/displayio.Display-doc-fixes
Fix displayio.Display __init__() signature documentation
2021-06-28 10:35:17 -04:00
Dan Halbert
259d5b9e7d Fix displayio.Display __init__() signature documentation 2021-06-28 09:32:50 -04:00
Jeff Epler
78b20441c1 supervisor: Add a function to get "wrapping" milliseconds
As discussed in #3410, this is a micropython-compatible (though
differently named) function that allows creation of useful time
and deadline functions in pure python.
2021-06-27 20:41:39 -05:00
Jonny Bergdahl
39c862f1f6
Translated using Weblate (Swedish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-06-27 14:33:28 +02:00
Alvaro Figueroa
74be2d994e
Translated using Weblate (Spanish)
Currently translated at 100.0% (1008 of 1008 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-27 14:33:27 +02:00
Jeff Epler
cac71a33fc time: Allow constructing a struct_time from another struct_time
Closes: #4917
2021-06-26 20:25:24 -05:00
Jeff Epler
33482e0831 mp_obj_get_array: Work with namedtuple, attrtuple.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:25:24 -05:00
Jeff Epler
f380a91e7c objtuple: Move mp_obj_is_tuple_compatible to obj.h.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:25:23 -05:00
Jeff Epler
9449a35405 time: Allow constructing a struct_time from another struct_time 2021-06-26 20:01:19 -05:00
Jeff Epler
05aa8ea404 mp_obj_get_array: Work with namedtuple, attrtuple.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:01:02 -05:00
Jeff Epler
89f7652fca objtuple: Move mp_obj_is_tuple_compatible to obj.h.
Signed-off-by: Jeff Epler <jepler@gmail.com>
2021-06-26 20:00:38 -05:00
Brendan
9ff9259d1c fix interlinking in busio docs 2021-06-26 01:50:28 -07:00
Brendan
02c70336ff
fix I2CDevice docs 2021-06-25 23:38:08 -07:00
Brendan
dc02f97640
fix SPIDevice docs 2021-06-25 23:35:30 -07:00
Brendan
3387edc424
rm intersphinx_mapping to bus_device pkg 2021-06-25 23:32:24 -07:00
Scott Shawcroft
b36858daa0
Fix advertisement 2021-06-25 16:40:23 -07:00
Scott Shawcroft
3177973843
Add BLE serial service 2021-06-25 15:00:10 -07:00
Lucian Copeland
696c035b67 Add STM32 sleep memory 2021-06-25 17:43:18 -04:00
Hosted Weblate
11325bd338
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-06-25 20:15:49 +02:00
Hosted Weblate
9730abdc53
Merge remote-tracking branch 'origin/main' into main 2021-06-25 20:15:47 +02:00
hexthat
1987bead31
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (1007 of 1007 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2021-06-25 20:15:46 +02:00
Scott Shawcroft
5a4a80336f
Merge pull request #4195 from askpatrickw/update-idf
Update esp-idf to v4.3
2021-06-25 11:15:40 -07:00
Hosted Weblate
4e9bbee02f
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-06-25 20:01:02 +02:00
Hosted Weblate
d1319a951b
Merge remote-tracking branch 'origin/main' into main 2021-06-25 20:00:59 +02:00
Wellington Terumi Uemura
322f1269e0
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1006 of 1006 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-25 20:00:59 +02:00
Scott Shawcroft
d67fb852a1
Merge pull request #3454 from cwalther/setnextcode
Add supervisor.set_next_code_file()
2021-06-25 11:00:53 -07:00
Scott Shawcroft
6900513e3f
Merge pull request #4922 from dhalbert/usb-cdc-buffers
Failed to advance buffer ptrs in usb_cdc.Serial properly
2021-06-25 10:58:32 -07:00
Scott Shawcroft
1d9eff1c97
Merge pull request #4919 from weblate/weblate-circuitpython-main
Translations update from Weblate
2021-06-25 10:55:26 -07:00
Dan Halbert
62aca944f4 Failed to advance buffer ptrs in usb_cdc.Serial properly 2021-06-25 09:50:31 -04:00
Hosted Weblate
768a683ea9
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-06-25 01:11:40 +02:00
Hosted Weblate
f4d0f62f5b
Merge remote-tracking branch 'origin/main' into main 2021-06-25 01:11:38 +02:00
Wellington Terumi Uemura
682a789b0c
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2021-06-25 01:11:38 +02:00
Alvaro Figueroa
1c2b49cfba
Translated using Weblate (Spanish)
Currently translated at 100.0% (1005 of 1005 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-06-25 01:11:37 +02:00
Dan Halbert
769805c9bd
Merge pull request #4918 from tannewt/ble_workflow2
Enable a BLE workflow
2021-06-24 19:11:31 -04:00
Scott Shawcroft
061d3a16ff
Merge pull request #4911 from DavePutz/issue_4908
Fix for issue #4908 - pulseout leaving line high
2021-06-24 15:32:48 -07:00
Scott Shawcroft
57f898b774
Merge pull request #4915 from Neradoc/fix-4193
Fix 4193 - set hidden_by_parent when adding to displayio group
2021-06-24 15:23:33 -07:00