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
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
Scott Shawcroft
60641bcdea
Merge pull request #4912 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-06-24 15:23:21 -07:00
Scott Shawcroft
dc76306cfa
Enable a BLE workflow
...
nRF CircuitPython boards will now provide the file transfer
service defined here: https://github.com/adafruit/Adafruit_CircuitPython_BLE_File_Transfer
USB capable boards will only advertise if previously bonded to a
device or if the reset button is pressed during the fast blue
flashes on start up. When pressed, the board will restart again but
the blue period will not flash.
Boards without USB will always advertise.
When previously bonded, the advertisement is private so that no
other peers can connect. If advertising publicly, the tx power is
lowered to reduce the likelihood of bonding from a distance.
This PR also fixes issues with loading identities of bonded peers
so that our address can now be resolved and we can resolve others'
addresses when scanning.
2021-06-24 12:59:14 -07:00
Jeff Epler
6a4298991b
Actually reduce the README text for the stubs package
2021-06-24 13:41:01 -05:00
microDev
e0eecd2f76
update idf to v4.3
...
- update idf submodule to release/v4.3
- finish todo tasks held due to idf@v4.2
- update SPI & I2C to make them v4.3 compatible
2021-06-24 23:14:08 +05:30
Hosted Weblate
6d18186114
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-24 19:25:32 +02:00
Hosted Weblate
926366264e
Merge remote-tracking branch 'origin/main' into main
2021-06-24 19:25:29 +02:00
Scott Shawcroft
b81573d439
Merge pull request #4891 from dhalbert/keypad-scanning-events
...
keypad: support for vector and matrix key scanning
2021-06-24 10:25:21 -07:00