Hosted Weblate
75349191a6
Merge remote-tracking branch 'origin/main' into main
2021-04-24 17:45:14 +02:00
Mark
ed374a89fb
Merge pull request #4655 from DavePutz/issue_4602
...
Issue 4602 - Correct timing of PulseOut on SAMD21
2021-04-24 10:45:10 -05:00
Hosted Weblate
929485e7ce
Merge remote-tracking branch 'origin/main' into main
2021-04-24 16:31:32 +02:00
Dan Halbert
2ba2574ebf
Merge pull request #4619 from tyomitch/microbit
...
[build] Allow USB to be set to 0
2021-04-24 10:31:29 -04:00
Hosted Weblate
ccbd1073cc
Merge remote-tracking branch 'origin/main' into main
2021-04-24 16:29:57 +02:00
Jonny Bergdahl
a680b37232
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (974 of 974 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-24 16:29:57 +02:00
Hugo Dahl
7b492773e3
Translated using Weblate (French)
...
Currently translated at 100.0% (974 of 974 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/fr/
2021-04-24 16:29:57 +02:00
Dan Halbert
80f05c76a8
Merge pull request #4654 from dhalbert/6.2.x-merge-1
...
Port #4645 to main
2021-04-24 10:29:52 -04:00
anecdata
4d267ef644
add get_ipv4_address_ap
2021-04-23 21:44:34 -05:00
Dan Halbert
556a126917
wip: getting closer
2021-04-23 21:44:13 -04:00
Hosted Weblate
b21afac006
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-04-23 22:32:05 +02:00
Hosted Weblate
63fd57a5bc
Merge remote-tracking branch 'origin/main' into main
2021-04-23 22:32:02 +02:00
Wellington Terumi Uemura
7e5f00a0e2
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-04-23 22:32:02 +02:00
Jose David M
79fb03c240
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (970 of 970 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2021-04-23 22:32:02 +02:00
Scott Shawcroft
80e8b4ac14
Merge pull request #4635 from jepler/pcc
...
WIP: Implement 'ParallelImageCapture' for samd51
2021-04-23 13:31:53 -07:00
Jeff Epler
8565a9ab90
shared-bindings: Fix type of Colorspace values in docs
2021-04-23 12:39:37 -05:00
Dan Halbert
454e78f41f
merge #4645 from 6.2.x to main
2021-04-23 13:33:58 -04:00
James Carr
c3122f0b8d
Empty commit to trigger github workflows
2021-04-23 18:29:56 +01:00
Scott Shawcroft
e2e414927d
Merge pull request #4648 from weblate/weblate-circuitpython-main
...
Translations update from Weblate
2021-04-23 09:27:43 -07:00
Artyom Skrobov
4e3c1d4a4c
[build] Allow USB to be set to 0
...
Unify USB-related makefile var and C def as CIRCUITPY_USB.
Always define it as 0 or 1, same as all other settings.
USB_AVAILABLE was conditionally defined in supervisor.mk,
but never actually used to #ifdef USB-related code.
Loosely related to #4546
2021-04-23 11:13:34 -04:00
Jeff Epler
05a81a066e
displayio: Improve docs about Colorspaces
2021-04-23 09:57:24 -05:00
Jeff Epler
34c4cc1bd9
samd: Rename dma_{allocate,free} channel
...
These are now used in the (video) parallel capture device as well.
2021-04-23 09:46:33 -05:00
Jeff Epler
f838ff9528
raspberrypi: Remove debug prints
2021-04-23 09:44:01 -05:00
Dan Halbert
9d8545e5e2
Merge pull request #4645 from dhalbert/rp2040-uart-write
...
RP2040 and ESP32S2: Return correct count from UART.write()
2021-04-23 10:18:46 -04:00
Damien George
530c76f6ca
lib/utils: Remove unused PYEXEC_SWITCH_MODE from pyexec.h.
...
It was made obsolete by commit c98c128fe8
.
Signed-off-by: Damien George <damien@micropython.org>
2021-04-24 00:10:59 +10:00
jposada202020
901e6ab5b0
Referencing_documentation_other_libraries
2021-04-23 10:02:24 -04:00
Damien George
a1bc32d8a8
drivers/sdcard: Add sleep_ms(1) delay in SDCard.readinto sync loop.
...
So this driver works on faster MCUs (that run this loop fast) with older,
slower SD cards.
Fixes issue #7129 .
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 23:44:37 +10:00
James Carr
0be610fd2b
Changes as requested for Bitmap docs.
2021-04-23 14:41:47 +01:00
stijn
bb2007b05c
windows/mpconfigport.h: Enable features also present in unix port.
2021-04-23 23:15:10 +10:00
Damien George
df4e9bdf5c
esp32/CMakeLists.txt: Require CMake version 3.12.
...
Because "find_package(Python3 ...)" requires at least this version of
CMake. And other features like GREATER_EQUAL and COMMAND_EXPAND_LISTS need
at least CMake 3.7 and 3.8 respectively.
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 23:03:03 +10:00
Damien George
178198a01d
tools/pyboard.py: Support opening serial port in exclusive mode.
...
This is now the default, but can be overridden with CLI `--no-exclusive`,
or constructing `Pyboard(..., exclusive=False)`.
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 22:41:00 +10:00
Hosted Weblate
47a673b67d
Merge remote-tracking branch 'origin/main' into main
2021-04-23 14:37:06 +02:00
Jonny Bergdahl
81313348bd
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-04-23 14:37:05 +02:00
Dan Halbert
346740e152
Merge pull request #4609 from Neradoc/add_nrf_countio
...
NRF: implement countio
2021-04-23 08:37:00 -04:00
Damien George
3123f6918b
tests: Use .errno instead of .args[0] for OSError exceptions.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 22:03:46 +10:00
Damien George
342d55529d
extmod/uasyncio: Use .errno instead of .args[0] for OSError exceptions.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 22:03:46 +10:00
Damien George
ac1d01d43e
tools/upip.py: Use .errno instead of .args[0] for OSError exceptions.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 22:03:46 +10:00
Damien George
3c4bfd1dec
py/objexcept: Support errno attribute on OSError exceptions.
...
This commit adds the errno attribute to exceptions, so code can retrieve
errno codes from an OSError using exc.errno.
The implementation here simply lets `errno` (and the existing `value`)
attributes work on any exception instance (they both alias args[0]). This
is for efficiency and to keep code size down. The pros and cons of this
are:
Pros:
- more compatible with CPython, less difference to document and learn
- OSError().errno will correctly return None, whereas the current way of
doing it via OSError().args[0] will raise an IndexError
- it reduces code size on most bare-metal ports (because they already have
the errno qstr)
- for Python code that uses exc.errno the generated bytecode is 2 bytes
smaller and more efficient to execute (compared with exc.args[0]); so
bytecode loaded to RAM saves 2 bytes RAM for each use of this attribute,
and bytecode that is frozen saves 2 bytes flash/ROM for each use
- it's easier/shorter to type, and saves 2 bytes of space in .py files that
use it (for each use)
Cons:
- increases code size by 4-8 bytes on minimal ports that don't already have
the `errno` qstr
- all exceptions now have .errno and .value attributes (a cpydiff test is
added to address this)
See also #2407 .
Signed-off-by: Damien George <damien@micropython.org>
2021-04-23 22:03:46 +10:00
James Carr
07059dd373
Minor docs fixes in displayio.Bitmap
2021-04-23 12:56:44 +01:00
anecdata
9da8978d40
more of the same
2021-04-22 23:41:57 -05:00
anecdata
632cebafc6
fix comment (stub fail)
2021-04-22 23:33:33 -05:00
Dan Halbert
2b4c88d633
wip: partial HID, still needs rework
2021-04-23 00:18:05 -04:00
anecdata
3544d4e221
.start_ap() & .mac_address_ap
2021-04-22 22:57:07 -05:00
anecdata
3d60ed1322
loc & common_hal start_ap(), + AP MAC getter
2021-04-22 22:55:32 -05:00
anecdata
7e95dc1261
ap additions to radio object
2021-04-22 22:23:33 -05:00
anecdata
bfc5eb1660
event_handler, init, and reset
2021-04-22 22:21:50 -05:00
David Michieli
5669a60954
stm32/mboot: Allow unpacking dfu without secret key.
...
- unpack-dfu command no longer requies a secret key to be present
- pack-dfu command raises an exception if no secret key is found
2021-04-23 11:04:37 +10:00
Hosted Weblate
0ced0f9713
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-04-22 19:16:49 +02:00
Hosted Weblate
eb93317aef
Merge remote-tracking branch 'origin/main' into main
2021-04-22 19:16:47 +02:00
Jonny Bergdahl
71ec48a6db
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (968 of 968 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2021-04-22 19:16:47 +02:00