2020-07-17 21:00:58 -04:00
|
|
|
# SOME DESCRIPTIVE TITLE.
|
|
|
|
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
|
|
|
# This file is distributed under the same license as the PACKAGE package.
|
|
|
|
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
2018-07-31 19:53:54 -04:00
|
|
|
#
|
2020-07-17 21:00:58 -04:00
|
|
|
#, fuzzy
|
2018-07-31 19:53:54 -04:00
|
|
|
msgid ""
|
|
|
|
msgstr ""
|
|
|
|
"Project-Id-Version: PACKAGE VERSION\n"
|
|
|
|
"Report-Msgid-Bugs-To: \n"
|
|
|
|
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
|
|
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
|
|
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
"Language: \n"
|
|
|
|
"MIME-Version: 1.0\n"
|
|
|
|
"Content-Type: text/plain; charset=CHARSET\n"
|
|
|
|
"Content-Transfer-Encoding: 8bit\n"
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: main.c
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
2020-12-23 18:00:53 -05:00
|
|
|
"Code done running.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: main.c
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
2022-03-14 19:49:30 -04:00
|
|
|
"Code stopped by auto-reload. Reloading soon.\n"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 14:51:50 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid ""
|
|
|
|
"\n"
|
|
|
|
"Please file an issue with the contents of your CIRCUITPY drive at \n"
|
|
|
|
"https://github.com/adafruit/circuitpython/issues\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
|
|
|
msgid " File \"%q\""
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
msgid " File \"%q\", line %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-30 18:47:35 -05:00
|
|
|
#: py/builtinhelp.c
|
|
|
|
msgid " is of type %q\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-10-29 11:39:06 -04:00
|
|
|
#: main.c
|
|
|
|
msgid " not found.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: main.c
|
|
|
|
msgid " output:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
#, c-format
|
|
|
|
msgid "%%c requires int or char"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#, c-format
|
2021-01-26 12:04:18 -05:00
|
|
|
msgid ""
|
|
|
|
"%d address pins, %d rgb pins and %d tiles indicate a height of %d, not %d"
|
2020-04-14 19:25:21 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/cxd56/common-hal/analogio/AnalogOut.c ports/cxd56/common-hal/rtc/RTC.c
|
|
|
|
#: ports/espressif/common-hal/rtc/RTC.c
|
|
|
|
#: ports/mimxrt10xx/common-hal/analogio/AnalogOut.c
|
|
|
|
#: ports/mimxrt10xx/common-hal/rtc/RTC.c
|
|
|
|
#: ports/nrf/common-hal/analogio/AnalogOut.c ports/nrf/common-hal/rtc/RTC.c
|
|
|
|
#: ports/raspberrypi/common-hal/analogio/AnalogOut.c
|
2022-06-29 15:31:18 -04:00
|
|
|
#: ports/raspberrypi/common-hal/rtc/RTC.c ports/stm/common-hal/rtc/RTC.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "%q"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-09-07 18:53:35 -04:00
|
|
|
#: shared-bindings/analogbufio/BufferedIn.c
|
|
|
|
msgid "%q ``must`` be a bytearray or array of type 'h', 'H', 'b' or 'B'"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-08-17 18:55:26 -04:00
|
|
|
#: shared-bindings/microcontroller/Pin.c
|
2021-08-19 21:03:49 -04:00
|
|
|
msgid "%q and %q contain duplicate pins"
|
2021-08-17 18:55:26 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
|
|
|
msgid "%q and %q must be different"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-08-17 18:55:26 -04:00
|
|
|
#: shared-bindings/microcontroller/Pin.c
|
|
|
|
msgid "%q contains duplicate pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-06-26 11:58:54 -04:00
|
|
|
#: ports/atmel-samd/common-hal/sdioio/SDCard.c
|
|
|
|
msgid "%q failure: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/microcontroller/Pin.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "%q in use"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/obj.c py/objstr.c py/objstrunicode.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "%q index out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "%q indices must be integers, not %s"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: shared-module/bitbangio/SPI.c
|
|
|
|
msgid "%q init failed"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q length must be %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-21 12:13:39 -04:00
|
|
|
#: py/argcheck.c
|
2021-08-26 09:34:02 -04:00
|
|
|
msgid "%q length must be %d-%d"
|
2021-06-17 12:02:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q length must be <= %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q length must be >= %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/busio/I2C.c
|
2021-08-13 21:51:52 -04:00
|
|
|
msgid "%q length must be >= 1"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q must be %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-21 12:13:39 -04:00
|
|
|
#: py/argcheck.c
|
Implement gifio.GifWriter
This involves:
* Adding a new "L8" colorspace for colorconverters
* factoring out displayio_colorconverter_convert_pixel
* Making a minimal "colorspace only" version of displayio for the
unix port (testing purposes)
* fixing an error message
I only tested writing B&W animated images, with the following script:
```python
import displayio
import gifio
with gifio.GifWriter("foo.gif", 64, 64, displayio.Colorspace.L8) as g:
for i in range(0, 256, 14):
data = bytes([i, 255-i] * 32 + [255-i, i] * 32) * 32
print("add_frame")
g.add_frame(data)
# expected to raise an error, buffer is not big enough
with gifio.GifWriter("/dev/null", 64, 64, displayio.Colorspace.L8) as g:
g.add_frame(bytes([3,3,3]))
```
2021-10-21 12:45:11 -04:00
|
|
|
msgid "%q must be %d-%d"
|
2021-06-21 12:13:39 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 12:54:46 -04:00
|
|
|
#: shared-bindings/displayio/Display.c
|
|
|
|
msgid "%q must be 1 when %q is True"
|
|
|
|
msgstr ""
|
|
|
|
|
Implement gifio.GifWriter
This involves:
* Adding a new "L8" colorspace for colorconverters
* factoring out displayio_colorconverter_convert_pixel
* Making a minimal "colorspace only" version of displayio for the
unix port (testing purposes)
* fixing an error message
I only tested writing B&W animated images, with the following script:
```python
import displayio
import gifio
with gifio.GifWriter("foo.gif", 64, 64, displayio.Colorspace.L8) as g:
for i in range(0, 256, 14):
data = bytes([i, 255-i] * 32 + [255-i, i] * 32) * 32
print("add_frame")
g.add_frame(data)
# expected to raise an error, buffer is not big enough
with gifio.GifWriter("/dev/null", 64, 64, displayio.Colorspace.L8) as g:
g.add_frame(bytes([3,3,3]))
```
2021-10-21 12:45:11 -04:00
|
|
|
#: py/argcheck.c shared-bindings/gifio/GifWriter.c
|
|
|
|
msgid "%q must be <= %d"
|
2021-06-21 12:13:39 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q must be >= %d"
|
2021-06-14 16:00:15 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/argcheck.c
|
2020-07-17 21:00:58 -04:00
|
|
|
msgid "%q must be >= 0"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/vectorio/Circle.c shared-bindings/vectorio/Rectangle.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "%q must be >= 1"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-06-21 12:13:39 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q must be a string"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q must be an int"
|
2021-06-01 21:15:43 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-10-10 02:46:14 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "%q must be of type %q"
|
2021-07-20 20:08:22 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-12-30 21:49:52 -05:00
|
|
|
#: shared-bindings/digitalio/Pull.c
|
|
|
|
msgid "%q must be of type %q or None"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-10 02:46:14 -04:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c
|
|
|
|
msgid "%q must be power of 2"
|
2021-06-21 12:13:39 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-11-02 01:30:11 -04:00
|
|
|
#: shared-bindings/wifi/Monitor.c
|
|
|
|
msgid "%q out of bounds"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
|
|
|
#: ports/cxd56/common-hal/pulseio/PulseIn.c
|
|
|
|
#: ports/nrf/common-hal/pulseio/PulseIn.c
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/pulseio/PulseIn.c py/argcheck.c
|
|
|
|
#: shared-bindings/canio/Match.c
|
2020-09-21 17:45:51 -04:00
|
|
|
msgid "%q out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
|
2020-06-26 11:58:54 -04:00
|
|
|
msgid "%q pin invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-09 17:03:42 -04:00
|
|
|
#: shared-bindings/usb_hid/Device.c
|
|
|
|
msgid "%q with a report ID of 0 must be of length 1"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/bc.c py/objnamedtuple.c
|
|
|
|
msgid "%q() takes %d positional arguments but %d were given"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-28 10:31:47 -04:00
|
|
|
#: shared-bindings/usb_hid/Device.c
|
|
|
|
msgid "%q, %q, and %q must all be the same length"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-06 10:22:45 -04:00
|
|
|
#: py/objint.c
|
|
|
|
msgid "%q=%q"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
#, c-format
|
|
|
|
msgid "%s error 0x%x"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "'%q' argument required"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-04 14:58:43 -04:00
|
|
|
#: py/proto.c
|
|
|
|
msgid "'%q' object does not support '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "'%q' object is not an iterator"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-29 23:06:24 -04:00
|
|
|
#: py/objtype.c py/runtime.c shared-module/atexit/__init__.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "'%q' object is not callable"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "'%q' object is not iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitinlinethumb.c py/emitinlinextensa.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects a label"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c py/emitinlinextensa.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects a register"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects a special register"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects an FPU register"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects an address of the form [a, b]"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c py/emitinlinextensa.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects an integer"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects at most r%d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' expects {r0, r1, ...}"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinextensa.c
|
|
|
|
#, c-format
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "'%s' integer %d isn't within range %d..%d"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "'%s' integer 0x%x doesn't fit in mask 0x%x"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' object doesn't support item assignment"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' object doesn't support item deletion"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "'%s' object has no attribute '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
#, c-format
|
|
|
|
msgid "'%s' object isn't subscriptable"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "'=' alignment not allowed in string format specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/struct/__init__.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "'S' and 'O' are not supported format types"
|
2018-08-09 17:15:18 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "'align' requires 1 argument"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-02 10:13:06 -05:00
|
|
|
#: py/compile.c
|
2020-07-24 22:58:20 -04:00
|
|
|
msgid "'await' outside function"
|
2020-03-02 10:13:06 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
2020-07-24 22:58:20 -04:00
|
|
|
msgid "'await', 'async for' or 'async with' outside async function"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "'break' outside loop"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "'continue' outside loop"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-21 21:43:48 -04:00
|
|
|
#: py/objgenerator.c
|
|
|
|
msgid "'coroutine' object is not an iterator"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "'data' requires at least 2 arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "'data' requires integer arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "'label' requires 1 argument"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "'return' outside function"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-10-11 02:50:12 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "'yield from' inside async function"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "'yield' outside function"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "*x must be assignment target"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
msgid ", in %q\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objcomplex.c
|
|
|
|
msgid "0.0 to a complex power"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "3-arg pow() not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-07 18:16:16 -05:00
|
|
|
#: shared-module/msgpack/__init__.c
|
|
|
|
msgid "64 bit types"
|
|
|
|
msgstr ""
|
|
|
|
|
ParallelImageCapture: Add continuous capture on espressif
By having a pair of buffers, the capture hardware can fill one buffer while
Python code (including displayio, etc) operates on the other buffer. This
increases the responsiveness of camera-using code.
On the Kaluga it makes the following improvements:
* 320x240 viewfinder at 30fps instead of 15fps using directio
* 240x240 animated gif capture at 10fps instead of 7.5fps
As discussed at length on Discord, the "usual end user" code will look like
this:
camera = ...
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
# Do something with frame
However, rather than presenting a context manager, the core code consists of
three new functions to start & stop continuous capture, and to get the next
frame. The reason is twofold. First, it's simply easier to implement the
context manager object in pure Python. Second, for more advanced usage, the
context manager may be too limiting, and it's easier to iterate on the right
design in Python code. In particular, I noticed that adapting the
JPEG-capturing programs to use continuous capture mode needed a change in
program structure.
The camera app was structured as
```python
while True:
if shutter button was just pressed:
capture a jpeg frame
else:
update the viewfinder
```
However, "capture a jpeg frame" needs to (A) switch the camera settings and (B)
capture into a different, larger buffer then (C) return to the earlier
settings. This can't be done during continuous capture mode. So just
restructuring it as follows isn't going to work:
```python
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
if shutter button was just pressed:
capture a jpeg frame, without disturbing continuous capture mode
else:
update the viewfinder
```
The continuous mode is only implemented in the espressif port; others
will throw an exception if the associated methods are invoked. It's not
impossible to implement there, just not a priority, since these micros don't
have enough RAM for two framebuffer copies at any resonable sizes.
The capture code, including single-shot capture, now take mp_obj_t in the
common-hal layer, instead of a buffer & length. This was done for the
continuous capture mode because it has to identify & return to the user the
proper Python object representing the original buffer. In the Espressif port,
it was convenient to implement single capture in terms of a multi-capture,
which is why I changed the singleshot routine's signature too.
2021-10-27 17:10:20 -04:00
|
|
|
#: ports/atmel-samd/common-hal/alarm/pin/PinAlarm.c
|
2020-05-05 01:23:38 -04:00
|
|
|
#: ports/atmel-samd/common-hal/countio/Counter.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
|
|
|
|
msgid "A hardware interrupt channel is already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/analogio/AnalogIn.c
|
2020-10-06 13:29:12 -04:00
|
|
|
msgid "ADC2 is being used by WiFi"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/_bleio/Address.c shared-bindings/ipaddress/IPv4Address.c
|
2019-02-22 15:04:54 -05:00
|
|
|
#, c-format
|
2019-06-19 10:42:36 -04:00
|
|
|
msgid "Address must be %d bytes long"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-10-21 12:30:33 -04:00
|
|
|
msgid "All CAN peripherals are in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-18 16:23:17 -04:00
|
|
|
#: ports/espressif/common-hal/busio/I2C.c
|
2022-08-09 13:06:18 -04:00
|
|
|
#: ports/espressif/common-hal/i2ctarget/I2CTarget.c
|
2022-08-18 16:23:17 -04:00
|
|
|
#: ports/nrf/common-hal/busio/I2C.c
|
|
|
|
msgid "All I2C peripherals are in use"
|
2022-08-09 13:06:18 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/countio/Counter.c
|
|
|
|
#: ports/espressif/common-hal/frequencyio/FrequencyIn.c
|
|
|
|
#: ports/espressif/common-hal/rotaryio/IncrementalEncoder.c
|
2020-11-04 10:50:24 -05:00
|
|
|
msgid "All PCNT units in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-21 17:45:51 -04:00
|
|
|
#: ports/atmel-samd/common-hal/canio/Listener.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/Listener.c
|
2020-10-11 18:29:16 -04:00
|
|
|
#: ports/stm/common-hal/canio/Listener.c
|
2020-09-21 17:45:51 -04:00
|
|
|
msgid "All RX FIFOs in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/SPI.c ports/nrf/common-hal/busio/SPI.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "All SPI peripherals are in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
|
2021-02-19 08:06:00 -05:00
|
|
|
#: ports/raspberrypi/common-hal/busio/UART.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "All UART peripherals are in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-06 06:58:00 -04:00
|
|
|
#: ports/nrf/common-hal/countio/Counter.c
|
|
|
|
#: ports/nrf/common-hal/pulseio/PulseIn.c
|
|
|
|
#: ports/nrf/common-hal/rotaryio/IncrementalEncoder.c
|
2021-03-18 23:42:24 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
|
|
|
msgid "All channels in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
|
|
|
msgid "All event channels in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "All state machines in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: ports/atmel-samd/audio_dma.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "All sync event channels in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "All timers for this pin are in use"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-06-23 15:15:45 -04:00
|
|
|
#: ports/atmel-samd/common-hal/_pew/PewPew.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
|
|
|
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
2020-04-09 16:16:32 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/cxd56/common-hal/pulseio/PulseOut.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/frequencyio/FrequencyIn.c
|
|
|
|
#: ports/espressif/common-hal/neopixel_write/__init__.c
|
|
|
|
#: ports/espressif/common-hal/pulseio/PulseIn.c
|
|
|
|
#: ports/espressif/common-hal/pulseio/PulseOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
|
2020-04-14 20:14:44 -04:00
|
|
|
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
2020-08-25 19:40:45 -04:00
|
|
|
#: ports/stm/peripherals/timers.c shared-bindings/pwmio/PWMOut.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "All timers in use"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2019-10-21 22:50:17 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "Already advertising."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-21 17:45:51 -04:00
|
|
|
#: ports/atmel-samd/common-hal/canio/Listener.c
|
|
|
|
msgid "Already have all-matches listener"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-17 21:00:58 -04:00
|
|
|
#: shared-module/memorymonitor/AllocationAlarm.c
|
|
|
|
#: shared-module/memorymonitor/AllocationSize.c
|
|
|
|
msgid "Already running"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/Radio.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Already scanning for wifi networks"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-06 02:20:16 -05:00
|
|
|
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "Another PWMAudioOut is already active"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/cxd56/common-hal/pulseio/PulseOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Another send is already active"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/pulseio/PulseOut.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Array must contain halfwords (type 'H')"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-12-14 11:49:01 -05:00
|
|
|
#: shared-bindings/alarm/SleepMemory.c shared-bindings/nvm/ByteArray.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Array values should be single bytes."
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-05-27 10:09:39 -04:00
|
|
|
#: shared-bindings/microcontroller/Pin.c
|
2020-04-14 19:25:21 -04:00
|
|
|
msgid "At most %d %q may be specified (not %d)"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-17 21:00:58 -04:00
|
|
|
#: shared-module/memorymonitor/AllocationAlarm.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Attempt to allocate %d blocks"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 18:29:14 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
2021-04-10 19:36:53 -04:00
|
|
|
msgid "Attempted heap allocation when VM not running."
|
2019-03-08 18:29:14 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-07-29 13:26:10 -04:00
|
|
|
#: ports/raspberrypi/audio_dma.c
|
|
|
|
msgid "Audio conversion not implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-30 07:54:36 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
|
|
|
msgid "AuthMode.OPEN is not used with password"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-06-29 15:31:18 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c supervisor/shared/web_workflow/web_workflow.c
|
2020-08-25 19:40:45 -04:00
|
|
|
msgid "Authentication failure"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: main.c
|
|
|
|
msgid "Auto-reload is off.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: main.c
|
|
|
|
msgid ""
|
|
|
|
"Auto-reload is on. Simply save files over USB to run them or enter REPL to "
|
|
|
|
"disable.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-10-21 12:30:33 -04:00
|
|
|
msgid "Baudrate not supported by peripheral"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-module/displayio/Display.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-module/framebufferio/FramebufferDisplay.c
|
2019-08-22 15:59:17 -04:00
|
|
|
msgid "Below minimum frame rate"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
|
|
|
|
msgid "Bit clock and word select must be sequential pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
msgid "Bit clock and word select must share a clock unit"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "Bit depth must be multiple of 8."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-03 09:35:50 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "Bitmap size and bits per value must match"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-13 12:30:01 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Boot device must be first device (interface #0)."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-20 13:28:17 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c
|
|
|
|
msgid "Both RX and TX required for flow control"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
|
|
|
|
msgid "Both pins must support hardware interrupts"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-07-19 19:05:13 -04:00
|
|
|
#: shared-bindings/displayio/Display.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2022-02-08 22:25:23 -05:00
|
|
|
#: shared-bindings/is31fl3741/FrameBuffer.c
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2019-07-19 19:05:13 -04:00
|
|
|
msgid "Brightness must be 0-1.0"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/displayio/Display.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Brightness not adjustable"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-10-21 22:50:17 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Buffer + offset too small %d %d %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
|
|
|
msgid "Buffer elements must be 4 bytes long or less"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-08-21 14:19:42 -04:00
|
|
|
msgid "Buffer is not a bytearray."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-11 07:31:34 -04:00
|
|
|
#: ports/cxd56/common-hal/camera/Camera.c shared-bindings/displayio/Display.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-08-21 14:19:42 -04:00
|
|
|
msgid "Buffer is too small"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-06 02:20:16 -05:00
|
|
|
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Buffer length %d too big. It must be less than %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-02 09:26:05 -04:00
|
|
|
#: ports/atmel-samd/common-hal/sdioio/SDCard.c
|
2020-08-21 22:40:46 -04:00
|
|
|
#: ports/cxd56/common-hal/sdioio/SDCard.c shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "Buffer length must be a multiple of 512"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-03 15:28:42 -04:00
|
|
|
#: ports/stm/common-hal/sdioio/SDCard.c shared-bindings/floppyio/__init__.c
|
2020-07-30 08:19:19 -04:00
|
|
|
msgid "Buffer must be a multiple of 512 bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-30 20:04:33 -04:00
|
|
|
#: shared-bindings/_bleio/PacketBuffer.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Buffer too short by %d bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
ParallelImageCapture: Add continuous capture on espressif
By having a pair of buffers, the capture hardware can fill one buffer while
Python code (including displayio, etc) operates on the other buffer. This
increases the responsiveness of camera-using code.
On the Kaluga it makes the following improvements:
* 320x240 viewfinder at 30fps instead of 15fps using directio
* 240x240 animated gif capture at 10fps instead of 7.5fps
As discussed at length on Discord, the "usual end user" code will look like
this:
camera = ...
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
# Do something with frame
However, rather than presenting a context manager, the core code consists of
three new functions to start & stop continuous capture, and to get the next
frame. The reason is twofold. First, it's simply easier to implement the
context manager object in pure Python. Second, for more advanced usage, the
context manager may be too limiting, and it's easier to iterate on the right
design in Python code. In particular, I noticed that adapting the
JPEG-capturing programs to use continuous capture mode needed a change in
program structure.
The camera app was structured as
```python
while True:
if shutter button was just pressed:
capture a jpeg frame
else:
update the viewfinder
```
However, "capture a jpeg frame" needs to (A) switch the camera settings and (B)
capture into a different, larger buffer then (C) return to the earlier
settings. This can't be done during continuous capture mode. So just
restructuring it as follows isn't going to work:
```python
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
if shutter button was just pressed:
capture a jpeg frame, without disturbing continuous capture mode
else:
update the viewfinder
```
The continuous mode is only implemented in the espressif port; others
will throw an exception if the associated methods are invoked. It's not
impossible to implement there, just not a priority, since these micros don't
have enough RAM for two framebuffer copies at any resonable sizes.
The capture code, including single-shot capture, now take mp_obj_t in the
common-hal layer, instead of a buffer & length. This was done for the
continuous capture mode because it has to identify & return to the user the
proper Python object representing the original buffer. In the Espressif port,
it was convenient to implement single capture in terms of a multi-capture,
which is why I changed the singleshot routine's signature too.
2021-10-27 17:10:20 -04:00
|
|
|
#: ports/espressif/common-hal/imagecapture/ParallelImageCapture.c
|
|
|
|
msgid "Buffers must be same size"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-06 06:58:00 -04:00
|
|
|
#: ports/atmel-samd/common-hal/paralleldisplay/ParallelBus.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/paralleldisplay/ParallelBus.c
|
2021-09-06 06:58:00 -04:00
|
|
|
#: ports/nrf/common-hal/paralleldisplay/ParallelBus.c
|
|
|
|
#: ports/raspberrypi/common-hal/paralleldisplay/ParallelBus.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Bus pin %d is already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Byte buffer must be 16 bytes."
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "CBC blocks must be multiples of 16 bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-12-27 18:58:24 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "CIRCUITPY drive could not be found or created."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "CRC or checksum was invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c
|
|
|
|
msgid "Call super().__init__() before accessing native object."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/cxd56/common-hal/camera/Camera.c
|
|
|
|
msgid "Camera init"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Can only alarm on RTC IO from deep sleep."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Can only alarm on one low pin while others alarm high from deep sleep."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Can only alarm on two low pins from deep sleep."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-14 19:49:30 -04:00
|
|
|
#: ports/espressif/common-hal/_bleio/Characteristic.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Characteristic.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Can't set CCCD on local Characteristic"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-05 12:35:12 -04:00
|
|
|
#: shared-bindings/storage/__init__.c shared-bindings/usb_cdc/__init__.c
|
|
|
|
#: shared-bindings/usb_hid/__init__.c shared-bindings/usb_midi/__init__.c
|
2021-04-13 23:33:44 -04:00
|
|
|
msgid "Cannot change USB devices now"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-30 14:35:02 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "Cannot create a new Adapter; use _bleio.adapter;"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-17 21:00:58 -04:00
|
|
|
#: shared-bindings/displayio/Bitmap.c
|
|
|
|
#: shared-bindings/memorymonitor/AllocationSize.c
|
|
|
|
#: shared-bindings/pulseio/PulseIn.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Cannot delete values"
|
2019-01-18 14:44:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/digitalio/DigitalInOut.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/digitalio/DigitalInOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/nrf/common-hal/digitalio/DigitalInOut.c
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/digitalio/DigitalInOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Cannot get pull while in output mode"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/nrf/common-hal/microcontroller/Processor.c
|
|
|
|
msgid "Cannot get temperature"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 18:33:46 -05:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "Cannot have scan responses for extended, connectable advertisements."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Cannot pull on input-only pin."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "Cannot record to a file"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/storage/__init__.c
|
2021-04-29 22:26:38 -04:00
|
|
|
msgid "Cannot remount '/' when visible via USB."
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/microcontroller/__init__.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/cxd56/common-hal/microcontroller/__init__.c
|
|
|
|
#: ports/mimxrt10xx/common-hal/microcontroller/__init__.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Cannot reset into bootloader because no bootloader is present"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/socketpool/Socket.c
|
2021-01-15 12:01:15 -05:00
|
|
|
msgid "Cannot set socket options"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/digitalio/DigitalInOut.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Cannot set value when direction is input."
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c
|
2020-02-19 03:45:07 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c
|
|
|
|
msgid "Cannot specify RTS or CTS in RS485 mode"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-05 09:47:15 -04:00
|
|
|
#: py/objslice.c
|
|
|
|
msgid "Cannot subclass slice"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/bitbangio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Cannot transfer without MOSI and MISO pins"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-03-18 23:42:24 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Cannot vary frequency on a timer that is already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-21 01:37:51 -05:00
|
|
|
#: ports/nrf/common-hal/alarm/pin/PinAlarm.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Cannot wake on pin edge, only level"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Cannot wake on pin edge. Only level."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "CharacteristicBuffer writing not provided"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 14:51:50 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "CircuitPython core code crashed hard. Whoops!\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: supervisor/shared/safe_mode.c
|
2021-05-12 15:53:52 -04:00
|
|
|
msgid "CircuitPython was unable to allocate the heap."
|
2020-09-09 17:34:57 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/bitbangio/I2C.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Clock stretch too long"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
msgid "Clock unit in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-10-21 22:50:17 -04:00
|
|
|
#: shared-bindings/_bleio/Connection.c
|
|
|
|
msgid ""
|
|
|
|
"Connection has been disconnected and can no longer be used. Create a new "
|
|
|
|
"connection."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/persistentcode.c
|
|
|
|
msgid "Corrupt .mpy file"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/neopixel_write/__init__.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Could not retrieve clock"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-14 09:37:09 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "Could not set address"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-18 23:42:24 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Could not start PWM"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/busio/UART.c
|
|
|
|
msgid "Could not start interrupt, RX busy"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-13 18:29:34 -05:00
|
|
|
#: shared-module/audiomp3/MP3Decoder.c
|
2019-11-26 10:29:55 -05:00
|
|
|
msgid "Couldn't allocate decoder"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
2019-12-12 14:51:50 -05:00
|
|
|
msgid "Crash into the HardFault_Handler."
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/analogio/AnalogOut.c
|
|
|
|
msgid "DAC Channel Init Error"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/analogio/AnalogOut.c
|
|
|
|
msgid "DAC Device Init Error"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
|
|
|
msgid "DAC already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-06 06:58:00 -04:00
|
|
|
#: ports/atmel-samd/common-hal/paralleldisplay/ParallelBus.c
|
|
|
|
#: ports/nrf/common-hal/paralleldisplay/ParallelBus.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Data 0 pin must be byte aligned"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-07-25 22:13:50 -04:00
|
|
|
#: shared-module/audiocore/WaveFile.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Data chunk must follow fmt chunk"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2021-05-19 19:22:07 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "Data not supported with directed advertising"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2019-10-21 22:50:17 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Data too large for advertisement packet"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
|
|
|
msgid "Deep sleep pins must use a rising edge with pulldown"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "Destination capacity is smaller than destination_length."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-09-08 18:31:01 -04:00
|
|
|
#: ports/nrf/common-hal/audiobusio/I2SOut.c
|
|
|
|
msgid "Device in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-21 14:19:42 -04:00
|
|
|
#: shared-bindings/displayio/Display.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-08-21 14:19:42 -04:00
|
|
|
msgid "Display must have a 16 bit colorspace."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/displayio/Display.c
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-bindings/displayio/EPaperDisplay.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Display rotation must be in 90 degree increments"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-08-03 15:13:27 -04:00
|
|
|
#: main.c
|
|
|
|
msgid "Done"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/digitalio/DigitalInOut.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Drive mode not used when direction is input."
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "ECB only operates on 16 bytes at a time"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/SPI.c
|
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "ESP-IDF memory allocation failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
|
|
|
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
|
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/cxd56/common-hal/pulseio/PulseIn.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "EXTINT channel already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-19 18:22:00 -04:00
|
|
|
#: shared-module/synthio/MidiTrack.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Error in MIDI stream at position %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/modure.c
|
|
|
|
msgid "Error in regex"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-01-15 12:01:15 -05:00
|
|
|
#: shared-bindings/socketpool/Socket.c shared-bindings/ssl/SSLSocket.c
|
2020-12-21 14:14:31 -05:00
|
|
|
msgid "Error: Failure to bind"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c py/enum.c
|
|
|
|
#: shared-bindings/_bleio/__init__.c shared-bindings/aesio/aes.c
|
2020-08-30 14:35:02 -04:00
|
|
|
#: shared-bindings/busio/SPI.c shared-bindings/microcontroller/Pin.c
|
2020-08-17 10:10:49 -04:00
|
|
|
#: shared-bindings/neopixel_write/__init__.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "Expected a %q"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-11-25 15:07:57 -05:00
|
|
|
#: shared-bindings/alarm/__init__.c
|
|
|
|
msgid "Expected an alarm"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2020-02-05 18:54:31 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "Extended advertisements with scan response not supported."
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/fft/fft_tools.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "FFT is defined for ndarrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/fft/fft_tools.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "FFT is implemented for linear arrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/ssl/SSLSocket.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Failed SSL handshake"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-05-15 22:29:34 -04:00
|
|
|
#: shared-bindings/ps2io/Ps2.c
|
|
|
|
msgid "Failed sending command."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/nrf/sd_mutex.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Failed to acquire mutex, err 0x%04x"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-18 11:37:13 -04:00
|
|
|
#: shared-module/rgbmatrix/RGBMatrix.c
|
|
|
|
msgid "Failed to allocate %q buffer"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/__init__.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Failed to allocate Wifi memory"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/ScannedNetworks.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Failed to allocate wifi scan memory"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-06 02:20:16 -05:00
|
|
|
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "Failed to buffer the sample"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
2019-10-21 22:50:17 -04:00
|
|
|
msgid "Failed to connect: internal error"
|
2018-08-16 16:34:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Failed to connect: timeout"
|
2018-09-25 15:10:44 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-01-13 18:29:34 -05:00
|
|
|
#: shared-module/audiomp3/MP3Decoder.c
|
2019-11-26 10:29:55 -05:00
|
|
|
msgid "Failed to parse MP3 file"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/nrf/sd_mutex.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Failed to release mutex, err 0x%04x"
|
2018-09-25 15:10:44 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 14:51:50 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Failed to write internal flash."
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-10 19:36:53 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Fatal error."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 14:51:50 -05:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "File exists"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-09-21 17:45:51 -04:00
|
|
|
#: ports/atmel-samd/common-hal/canio/Listener.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/Listener.c
|
2020-10-11 18:29:16 -04:00
|
|
|
#: ports/stm/common-hal/canio/Listener.c
|
2020-09-21 17:45:51 -04:00
|
|
|
msgid "Filters too complex"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/dualbank/__init__.c
|
2020-12-23 22:52:27 -05:00
|
|
|
msgid "Firmware image is invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-03 09:35:50 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "For L8 colorspace, input bitmap must have 8 bits per pixel"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "For RGB colorspaces, input bitmap must have 16 bits per pixel"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-11 07:31:34 -04:00
|
|
|
#: ports/cxd56/common-hal/camera/Camera.c
|
|
|
|
msgid "Format not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-14 06:45:16 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/microcontroller/Processor.c
|
2022-04-17 15:04:16 -04:00
|
|
|
msgid ""
|
|
|
|
"Frequency must be 24, 150, 396, 450, 528, 600, 720, 816, 912, 960 or 1008 Mhz"
|
2022-04-14 06:45:16 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-03-18 23:42:24 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Frequency must match existing PWMOut using this timer"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
|
|
|
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
|
|
|
msgid "Function requires lock"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/cxd56/common-hal/gnss/GNSS.c
|
|
|
|
msgid "GNSS init"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Generic Failure"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/displayio/Display.c
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-bindings/displayio/EPaperDisplay.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-bindings/framebufferio/FramebufferDisplay.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Group already used"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-08 22:25:23 -05:00
|
|
|
#: ports/atmel-samd/common-hal/busio/SPI.c ports/cxd56/common-hal/busio/SPI.c
|
|
|
|
#: ports/espressif/common-hal/busio/SPI.c
|
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/nrf/common-hal/busio/SPI.c
|
|
|
|
#: ports/raspberrypi/common-hal/busio/SPI.c
|
|
|
|
msgid "Half duplex SPI is not implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-12 00:41:28 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/stm/common-hal/busio/I2C.c
|
2020-10-11 18:29:16 -04:00
|
|
|
#: ports/stm/common-hal/busio/SPI.c ports/stm/common-hal/canio/CAN.c
|
|
|
|
#: ports/stm/common-hal/sdioio/SDCard.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Hardware busy, try alternative pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-21 11:18:22 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Hardware in use, try alternative pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/vfs_posix_file.c py/objstringio.c
|
|
|
|
msgid "I/O operation on closed file"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/busio/I2C.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "I2C init error"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/busio/I2C.c
|
2022-08-18 16:23:17 -04:00
|
|
|
#: ports/raspberrypi/common-hal/i2ctarget/I2CTarget.c
|
2021-02-23 20:26:11 -05:00
|
|
|
msgid "I2C peripheral in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-28 14:15:33 -04:00
|
|
|
#: shared-bindings/audiobusio/I2SOut.c
|
|
|
|
msgid "I2SOut not available"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
#, c-format
|
|
|
|
msgid "IV must be %d bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
2021-03-02 12:04:32 -05:00
|
|
|
msgid "In-buffer elements must be <= 4 bytes long"
|
2021-02-23 19:32:16 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/persistentcode.c
|
|
|
|
msgid ""
|
|
|
|
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
|
|
|
|
"mpy-update for more info."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/_pew/PewPew.c
|
|
|
|
msgid "Incorrect buffer size"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
|
|
|
msgid "Init program size invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
2021-02-26 18:18:50 -05:00
|
|
|
msgid "Initial set pin direction conflicts with initial out pin direction"
|
2021-02-23 19:32:16 -05:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Initial set pin state conflicts with initial out pin state"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
|
2020-11-10 06:02:46 -05:00
|
|
|
msgid "Initialization failed due to lack of memory"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-18 16:41:23 -05:00
|
|
|
#: shared-bindings/bitops/__init__.c
|
2021-02-18 12:33:13 -05:00
|
|
|
#, c-format
|
|
|
|
msgid "Input buffer length (%d) must be a multiple of the strand count (%d)"
|
2021-02-16 19:37:11 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-08-01 14:45:31 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
|
|
|
msgid "Input taking too long"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/neopixel_write/__init__.c py/moduerrno.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Input/output error"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Instruction %d shifts in more bits than pin count"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Instruction %d shifts out more bits than pin count"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Instruction %d uses extra pin"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Instruction %d waits on input outside of count"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-11-20 16:53:50 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
msgid "Insufficient authentication"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-11-21 19:50:34 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
msgid "Insufficient encryption"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-08-04 19:27:54 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/Radio.c
|
|
|
|
msgid "Interface must be started"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-08-25 12:37:37 -04:00
|
|
|
#: ports/atmel-samd/audio_dma.c ports/raspberrypi/audio_dma.c
|
2021-07-29 13:26:10 -04:00
|
|
|
msgid "Internal audio buffer too small"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/busio/UART.c
|
|
|
|
msgid "Internal define error"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-08 17:38:02 -04:00
|
|
|
#: ports/espressif/common-hal/paralleldisplay/ParallelBus.c
|
|
|
|
msgid "Internal error"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-module/rgbmatrix/RGBMatrix.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Internal error #%d"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-06-29 15:31:18 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Internal watchdog timer expired."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/argcheck.c
|
2020-06-26 11:10:39 -04:00
|
|
|
msgid "Invalid %q"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: shared-bindings/microcontroller/Pin.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Invalid %q pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/analogio/AnalogIn.c
|
|
|
|
msgid "Invalid ADC Unit value"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
2021-05-19 17:09:11 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
msgid "Invalid BLE parameter"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-16 20:08:11 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
|
|
|
msgid "Invalid BSSID"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-15 10:18:00 -05:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
|
|
|
msgid "Invalid MAC address"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2022-05-13 15:33:43 -04:00
|
|
|
#: py/moduerrno.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Invalid argument"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-module/displayio/Bitmap.c
|
|
|
|
msgid "Invalid bits per value"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-09 13:15:31 -04:00
|
|
|
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Invalid data_pins[%d]"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-module/audiocore/WaveFile.c
|
|
|
|
msgid "Invalid format chunk size"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-18 14:57:57 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Invalid memory access."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-15 10:18:00 -05:00
|
|
|
#: ports/espressif/common-hal/wifi/Radio.c
|
|
|
|
msgid "Invalid multicast MAC address"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: shared-bindings/busio/UART.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Invalid pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Invalid size"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/ssl/SSLContext.c
|
2020-12-21 14:14:31 -05:00
|
|
|
msgid "Invalid socket for TLS"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Invalid state"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "Key must be 16, 24, or 32 bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-08 22:25:23 -05:00
|
|
|
#: shared-module/is31fl3741/FrameBuffer.c
|
2021-11-20 14:41:18 -05:00
|
|
|
msgid "LED mappings must match display size"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "LHS of keyword arg must be an id"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-module/displayio/Group.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Layer already in a group"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-module/displayio/Group.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Layer must be a Group or TileGrid subclass"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "MAC address was invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-08 22:25:23 -05:00
|
|
|
#: shared-bindings/is31fl3741/IS31FL3741.c
|
2021-12-04 13:16:35 -05:00
|
|
|
msgid "Mapping must be a tuple"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-module/displayio/Shape.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Maximum x value when mirrored is %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "Microphone startup delay must be in range 0.0 to 1.0"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-23 14:09:36 -04:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Mismatched data size"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-06 16:18:59 -04:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Mismatched swap flag"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Missing MISO or MOSI Pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/stm/common-hal/busio/SPI.c
|
|
|
|
msgid "Missing MISO or MOSI pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_in_pin. Instruction %d reads pin(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_in_pin. Instruction %d shifts in from pin(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_in_pin. Instruction %d waits based on pin"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_out_pin. Instruction %d shifts out to pin(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_out_pin. Instruction %d writes pin(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-29 23:06:24 -04:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-20 20:08:22 -04:00
|
|
|
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Must be a %q subclass."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-24 17:56:07 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c shared-bindings/busio/SPI.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Must provide MISO or MOSI pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Must use a multiple of 6 rgb pins, not %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-10 19:36:53 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "NLR jump failed. Likely memory corruption."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/nvm/ByteArray.c
|
2020-11-11 12:41:12 -05:00
|
|
|
msgid "NVS Error"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/qstr.c
|
2020-03-02 10:13:06 -05:00
|
|
|
msgid "Name too long"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-18 21:31:47 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c
|
|
|
|
msgid "New bitmap must be same size as old bitmap"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
|
|
|
msgid "Nimble out of memory"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-14 19:49:30 -04:00
|
|
|
#: ports/espressif/common-hal/_bleio/Characteristic.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Characteristic.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "No CCCD for this Characteristic"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/analogio/AnalogOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "No DAC on chip"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "No DMA channel found"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "No DMA pacing timer found"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-12-30 21:49:52 -05:00
|
|
|
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
|
2020-10-26 17:54:24 -04:00
|
|
|
#, c-format
|
2022-01-31 22:03:30 -05:00
|
|
|
msgid "No I2C device at address: 0x%x"
|
2020-10-26 17:54:24 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-06-06 19:54:02 -04:00
|
|
|
#: supervisor/shared/web_workflow/web_workflow.c
|
|
|
|
msgid "No IP"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "No MISO Pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/busio/SPI.c shared-module/bitbangio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "No MISO pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/SPI.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "No MOSI Pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/busio/SPI.c shared-module/bitbangio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "No MOSI pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "No RX pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "No TX pin"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
|
|
|
msgid "No available clocks"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
ParallelImageCapture: Add continuous capture on espressif
By having a pair of buffers, the capture hardware can fill one buffer while
Python code (including displayio, etc) operates on the other buffer. This
increases the responsiveness of camera-using code.
On the Kaluga it makes the following improvements:
* 320x240 viewfinder at 30fps instead of 15fps using directio
* 240x240 animated gif capture at 10fps instead of 7.5fps
As discussed at length on Discord, the "usual end user" code will look like
this:
camera = ...
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
# Do something with frame
However, rather than presenting a context manager, the core code consists of
three new functions to start & stop continuous capture, and to get the next
frame. The reason is twofold. First, it's simply easier to implement the
context manager object in pure Python. Second, for more advanced usage, the
context manager may be too limiting, and it's easier to iterate on the right
design in Python code. In particular, I noticed that adapting the
JPEG-capturing programs to use continuous capture mode needed a change in
program structure.
The camera app was structured as
```python
while True:
if shutter button was just pressed:
capture a jpeg frame
else:
update the viewfinder
```
However, "capture a jpeg frame" needs to (A) switch the camera settings and (B)
capture into a different, larger buffer then (C) return to the earlier
settings. This can't be done during continuous capture mode. So just
restructuring it as follows isn't going to work:
```python
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
if shutter button was just pressed:
capture a jpeg frame, without disturbing continuous capture mode
else:
update the viewfinder
```
The continuous mode is only implemented in the espressif port; others
will throw an exception if the associated methods are invoked. It's not
impossible to implement there, just not a priority, since these micros don't
have enough RAM for two framebuffer copies at any resonable sizes.
The capture code, including single-shot capture, now take mp_obj_t in the
common-hal layer, instead of a buffer & length. This was done for the
continuous capture mode because it has to identify & return to the user the
proper Python object representing the original buffer. In the Espressif port,
it was convenient to implement single capture in terms of a multi-capture,
which is why I changed the singleshot routine's signature too.
2021-10-27 17:10:20 -04:00
|
|
|
#: ports/espressif/common-hal/imagecapture/ParallelImageCapture.c
|
|
|
|
msgid "No capture in progress"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-30 09:18:48 -04:00
|
|
|
#: shared-bindings/_bleio/PacketBuffer.c
|
2020-05-04 19:52:24 -04:00
|
|
|
msgid "No connection: length cannot be determined"
|
2020-04-30 09:18:48 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-04-08 19:58:50 -04:00
|
|
|
#: shared-bindings/board/__init__.c
|
|
|
|
msgid "No default %q bus"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/touchio/TouchIn.c
|
|
|
|
msgid "No free GCLKs"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/os/__init__.c
|
|
|
|
msgid "No hardware random available"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "No in in program"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "No in or out in program"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "No key was specified"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-08 18:15:50 -04:00
|
|
|
#: shared-bindings/time/__init__.c
|
|
|
|
msgid "No long integer support"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-28 23:48:26 -04:00
|
|
|
#: shared-module/usb_hid/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "No more than %d HID devices allowed"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
|
|
|
msgid "No network with that ssid"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "No out in program"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/atmel-samd/common-hal/busio/I2C.c
|
|
|
|
#: ports/espressif/common-hal/busio/I2C.c
|
2021-02-02 17:57:03 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
|
|
|
|
#: ports/raspberrypi/common-hal/busio/I2C.c
|
|
|
|
msgid "No pull up found on SDA or SCL; check your wiring"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-20 13:02:01 -04:00
|
|
|
#: shared-module/touchio/TouchIn.c
|
|
|
|
msgid "No pulldown on pin; 1Mohm recommended"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "No space left on device"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-10 14:01:30 -04:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "No such device"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "No such file/directory"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-module/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
msgid "No timer available"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-12-12 14:51:50 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
2021-04-02 15:34:16 -04:00
|
|
|
msgid "Nordic system firmware failure assertion."
|
2019-12-12 14:51:50 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-03-31 19:04:04 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
2021-04-02 15:34:16 -04:00
|
|
|
msgid "Nordic system firmware out of memory"
|
2019-12-12 14:51:50 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/ipaddress/IPv4Address.c shared-bindings/ipaddress/__init__.c
|
2020-09-03 19:32:12 -04:00
|
|
|
msgid "Not a valid IP string"
|
2020-08-25 19:40:45 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
2019-10-21 22:50:17 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Not connected"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
|
2019-07-31 17:32:54 -04:00
|
|
|
#: shared-bindings/audiopwmio/PWMAudioOut.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Not playing"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-30 14:35:02 -04:00
|
|
|
#: shared-bindings/_bleio/__init__.c
|
|
|
|
msgid "Not settable"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-08 17:38:02 -04:00
|
|
|
#: ports/espressif/common-hal/paralleldisplay/ParallelBus.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Number of data_pins must be 8 or 16, not %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/util.c
|
|
|
|
msgid ""
|
|
|
|
"Object has been deinitialized and can no longer be used. Create a new object."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/nrf/common-hal/busio/UART.c
|
|
|
|
msgid "Odd parity is not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-03 17:35:28 -04:00
|
|
|
#: supervisor/shared/bluetooth/bluetooth.c
|
|
|
|
msgid "Off"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: supervisor/shared/bluetooth/bluetooth.c
|
|
|
|
msgid "Ok"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Only 8 or 16 bit mono with "
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/__init__.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Only IPv4 addresses supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-29 20:01:41 -04:00
|
|
|
#: ports/espressif/common-hal/socketpool/Socket.c
|
2020-11-24 15:40:27 -05:00
|
|
|
msgid "Only IPv4 sockets supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-module/displayio/OnDiskBitmap.c
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-19 19:22:07 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "Only connectable advertisements can be directed"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
|
|
|
msgid "Only edge detection is available on this hardware"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-22 06:36:28 -04:00
|
|
|
#: shared-bindings/ipaddress/__init__.c
|
|
|
|
msgid "Only int or string supported for ip"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-module/displayio/OnDiskBitmap.c
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
2019-08-22 15:59:17 -04:00
|
|
|
"Only monochrome, indexed 4bpp or 8bpp, and 16bpp or greater BMPs supported: "
|
|
|
|
"%d bpp given"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/alarm/touch/TouchAlarm.c
|
2021-01-11 05:00:45 -05:00
|
|
|
msgid "Only one TouchAlarm can be set in deep sleep."
|
2020-11-27 23:57:59 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-08-09 13:06:18 -04:00
|
|
|
#: ports/espressif/common-hal/i2ctarget/I2CTarget.c
|
2022-08-18 16:23:17 -04:00
|
|
|
#: ports/raspberrypi/common-hal/i2ctarget/I2CTarget.c
|
2021-10-09 17:03:42 -04:00
|
|
|
msgid "Only one address is allowed"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-23 14:09:28 -04:00
|
|
|
#: ports/atmel-samd/common-hal/alarm/time/TimeAlarm.c
|
2021-02-21 01:37:51 -05:00
|
|
|
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Only one alarm.time alarm can be set"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/espressif/common-hal/alarm/time/TimeAlarm.c
|
|
|
|
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
2021-01-11 05:00:45 -05:00
|
|
|
msgid "Only one alarm.time alarm can be set."
|
2020-12-19 10:24:36 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-10-14 23:22:48 -04:00
|
|
|
#: shared-module/displayio/ColorConverter.c
|
|
|
|
msgid "Only one color can be transparent at a time"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-10 14:01:30 -04:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "Operation not permitted"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Operation or feature not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Operation timed out"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Out of memory"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-29 20:01:41 -04:00
|
|
|
#: ports/espressif/common-hal/socketpool/Socket.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Out of sockets"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-02 12:04:32 -05:00
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
|
|
|
msgid "Out-buffer elements must be <= 4 bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "Oversample must be multiple of 8."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-29 17:31:29 -05:00
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "PDMIn not available"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/pwmio/PWMOut.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid ""
|
|
|
|
"PWM frequency not writable when variable_frequency is False on construction."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
|
|
msgid "PWM restart"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-27 16:17:27 -05:00
|
|
|
#: ports/raspberrypi/common-hal/countio/Counter.c
|
|
|
|
msgid "PWM slice already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-02 20:32:06 -05:00
|
|
|
#: ports/raspberrypi/common-hal/countio/Counter.c
|
|
|
|
msgid "PWM slice channel A already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/audiobusio/__init__.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Peripheral in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/moduerrno.c
|
|
|
|
msgid "Permission denied"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
|
|
|
msgid "Pin cannot wake from Deep Sleep"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Pin count too large"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
|
|
|
#: ports/stm/common-hal/pulseio/PulseIn.c
|
|
|
|
msgid "Pin interrupt already in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-12-30 21:49:52 -05:00
|
|
|
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
|
2020-05-20 11:55:32 -04:00
|
|
|
#: shared-bindings/digitalio/DigitalInOut.c
|
|
|
|
msgid "Pin is input only"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/countio/Counter.c
|
|
|
|
msgid "Pin must be on PWM Channel B"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-05 01:23:38 -04:00
|
|
|
#: ports/atmel-samd/common-hal/countio/Counter.c
|
|
|
|
msgid "Pin must support hardware interrupts"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Pinout uses %d bytes per element, which consumes more than the ideal %d "
|
|
|
|
"bytes. If this cannot be avoided, pass allow_inefficient=True to the "
|
|
|
|
"constructor"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-09 13:15:31 -04:00
|
|
|
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
2021-03-04 15:23:06 -05:00
|
|
|
msgid "Pins must be sequential"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-09 17:03:42 -04:00
|
|
|
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
|
|
|
msgid "Pins must be sequential GPIO pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "Pins must share PWM slice"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinhelp.c
|
|
|
|
msgid "Plus any modules on the filesystem\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-18 16:33:16 -04:00
|
|
|
#: shared-module/vectorio/Polygon.c
|
|
|
|
msgid "Polygon needs at least 3 points"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-10-21 22:50:17 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "Prefix buffer must be on the heap"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: main.c
|
2020-12-02 21:05:29 -05:00
|
|
|
msgid "Press any key to enter the REPL. Use CTRL-D to reload.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: main.c
|
2020-12-23 18:00:53 -05:00
|
|
|
msgid "Pretending to deep sleep until alarm, CTRL-C or file write.\n"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Program does IN without loading ISR"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "Program does OUT without loading OSR"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
|
|
|
msgid "Program size invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/digitalio/DigitalInOut.c
|
|
|
|
msgid "Pull not used when direction is output."
|
2019-02-06 15:13:17 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-10-21 18:07:07 -04:00
|
|
|
#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
|
2021-01-28 09:32:00 -05:00
|
|
|
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
|
|
|
|
msgid "RAISE mode is not implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-12-30 21:49:52 -05:00
|
|
|
#: ports/raspberrypi/common-hal/countio/Counter.c
|
|
|
|
msgid "RISE_AND_FALL not available on this chip"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/os/__init__.c
|
|
|
|
msgid "RNG DeInit Error"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/os/__init__.c
|
|
|
|
msgid "RNG Init Error"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c ports/cxd56/common-hal/busio/UART.c
|
|
|
|
#: ports/nrf/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "RS485"
|
2021-01-17 22:30:41 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c
|
2020-02-19 03:45:07 -05:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c
|
|
|
|
msgid "RS485 inversion specified when not in RS485 mode"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-27 23:57:59 -05:00
|
|
|
#: shared-bindings/alarm/time/TimeAlarm.c shared-bindings/time/__init__.c
|
2019-03-02 06:19:47 -05:00
|
|
|
msgid "RTC is not supported on this board"
|
2019-01-18 14:44:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/os/__init__.c
|
|
|
|
msgid "Random number generation error"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-17 21:00:58 -04:00
|
|
|
#: shared-bindings/memorymonitor/AllocationSize.c
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/pulseio/PulseIn.c
|
|
|
|
msgid "Read-only"
|
2018-08-15 14:01:01 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/vfs_fat.c py/moduerrno.c
|
|
|
|
msgid "Read-only filesystem"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-19 18:22:00 -04:00
|
|
|
#: shared-module/displayio/Bitmap.c
|
2019-03-02 06:19:47 -05:00
|
|
|
msgid "Read-only object"
|
2019-01-31 12:38:29 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Received response was invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-03 17:35:28 -04:00
|
|
|
#: supervisor/shared/bluetooth/bluetooth.c
|
|
|
|
msgid "Reconnecting"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-bindings/displayio/EPaperDisplay.c
|
|
|
|
msgid "Refresh too soon"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-28 18:22:15 -04:00
|
|
|
#: shared-bindings/canio/RemoteTransmissionRequest.c
|
|
|
|
msgid "RemoteTransmissionRequests limited to 8 bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "Requested AES mode is unsupported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Requested resource not found"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
|
|
|
msgid "Right channel unsupported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: main.c
|
2021-05-12 15:53:52 -04:00
|
|
|
msgid "Running in safe mode! Not running saved code.\n"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "SD card CSD format not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/cxd56/common-hal/sdioio/SDCard.c
|
|
|
|
msgid "SDCard init"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-30 08:19:19 -04:00
|
|
|
#: ports/stm/common-hal/sdioio/SDCard.c
|
|
|
|
#, c-format
|
|
|
|
msgid "SDIO GetCardInfo Error %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/sdioio/SDCard.c
|
|
|
|
#, c-format
|
|
|
|
msgid "SDIO Init Error %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/espressif/common-hal/busio/SPI.c
|
|
|
|
msgid "SPI configuration failed"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/busio/SPI.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "SPI init error"
|
2021-06-24 11:41:12 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 20:26:11 -05:00
|
|
|
#: ports/raspberrypi/common-hal/busio/SPI.c
|
|
|
|
msgid "SPI peripheral in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/stm/common-hal/busio/SPI.c
|
2022-05-20 10:10:55 -04:00
|
|
|
msgid "SPI re-init"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-02-08 22:25:23 -05:00
|
|
|
#: shared-bindings/is31fl3741/FrameBuffer.c
|
2021-11-20 13:42:58 -05:00
|
|
|
msgid "Scale dimensions must divide by 3"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2019-10-21 22:50:17 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "Scan already in progess. Stop with stop_scan."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
|
|
|
|
msgid "Serializer in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/ssl/SSLContext.c
|
2020-09-03 19:32:12 -04:00
|
|
|
msgid "Server side context cannot have hostname"
|
2020-08-25 19:40:45 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-09-02 09:44:51 -04:00
|
|
|
#: ports/cxd56/common-hal/camera/Camera.c
|
|
|
|
msgid "Size not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-20 17:57:51 -04:00
|
|
|
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
2021-04-21 17:34:13 -04:00
|
|
|
msgid "Sleep Memory not available"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-14 11:49:01 -05:00
|
|
|
#: shared-bindings/alarm/SleepMemory.c shared-bindings/nvm/ByteArray.c
|
2019-03-02 06:19:47 -05:00
|
|
|
msgid "Slice and value different lengths."
|
2018-08-20 12:39:11 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-05-13 21:04:53 -04:00
|
|
|
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
2020-07-17 21:00:58 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c
|
|
|
|
#: shared-bindings/memorymonitor/AllocationSize.c
|
|
|
|
#: shared-bindings/pulseio/PulseIn.c
|
2019-03-02 06:19:47 -05:00
|
|
|
msgid "Slices not supported"
|
2018-08-20 12:39:11 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/socketpool/SocketPool.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "SocketPool can only be used with wifi.radio"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-06 05:47:44 -04:00
|
|
|
#: shared-bindings/aesio/aes.c
|
|
|
|
msgid "Source and destination buffers must be the same length"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-08 17:38:02 -04:00
|
|
|
#: shared-bindings/paralleldisplay/ParallelBus.c
|
|
|
|
msgid "Specify exactly one of data0 or data_pins"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/modure.c
|
|
|
|
msgid "Splitting with sub-captures"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "Stereo left must be on PWM channel A"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
|
|
|
msgid "Stereo right must be on PWM channel B"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/multiterminal/__init__.c
|
|
|
|
msgid "Stream missing readinto() or write() method."
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-05-20 13:28:17 -04:00
|
|
|
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
2020-03-17 17:41:09 -04:00
|
|
|
msgid "Supply at least one UART pin"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-27 23:57:59 -05:00
|
|
|
#: shared-bindings/alarm/time/TimeAlarm.c
|
|
|
|
msgid "Supply one of monotonic_time or epoch_time"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-bindings/gnss/GNSS.c
|
2020-06-24 05:10:37 -04:00
|
|
|
msgid "System entry must be gnss.SatelliteSystem"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/microcontroller/Processor.c
|
|
|
|
msgid "Temperature read timed out"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid ""
|
|
|
|
"The CircuitPython heap was corrupted because the stack was too small.\n"
|
2021-05-12 15:53:52 -04:00
|
|
|
"Increase the stack size if you know how. If not:"
|
2018-08-08 21:24:49 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-05-10 13:09:56 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid ""
|
|
|
|
"The `microcontroller` module was used to boot into safe mode. Press reset to "
|
2021-05-12 15:53:52 -04:00
|
|
|
"exit safe mode."
|
2019-05-10 13:09:56 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-09-28 20:03:04 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
|
|
|
msgid "The length of rgb_pins must be 6, 12, 18, 24, or 30"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid ""
|
2019-12-12 14:51:50 -05:00
|
|
|
"The microcontroller's power dipped. Make sure your power supply provides\n"
|
2019-03-27 23:47:58 -04:00
|
|
|
"enough power for the whole circuit and press reset (after ejecting "
|
2021-05-12 15:53:52 -04:00
|
|
|
"CIRCUITPY)."
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-module/audiomixer/MixerVoice.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "The sample's bits_per_sample does not match the mixer's"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-module/audiomixer/MixerVoice.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "The sample's channel count does not match the mixer's"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-module/audiomixer/MixerVoice.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "The sample's sample rate does not match the mixer's"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-module/audiomixer/MixerVoice.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "The sample's signedness does not match the mixer's"
|
|
|
|
msgstr ""
|
|
|
|
|
ParallelImageCapture: Add continuous capture on espressif
By having a pair of buffers, the capture hardware can fill one buffer while
Python code (including displayio, etc) operates on the other buffer. This
increases the responsiveness of camera-using code.
On the Kaluga it makes the following improvements:
* 320x240 viewfinder at 30fps instead of 15fps using directio
* 240x240 animated gif capture at 10fps instead of 7.5fps
As discussed at length on Discord, the "usual end user" code will look like
this:
camera = ...
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
# Do something with frame
However, rather than presenting a context manager, the core code consists of
three new functions to start & stop continuous capture, and to get the next
frame. The reason is twofold. First, it's simply easier to implement the
context manager object in pure Python. Second, for more advanced usage, the
context manager may be too limiting, and it's easier to iterate on the right
design in Python code. In particular, I noticed that adapting the
JPEG-capturing programs to use continuous capture mode needed a change in
program structure.
The camera app was structured as
```python
while True:
if shutter button was just pressed:
capture a jpeg frame
else:
update the viewfinder
```
However, "capture a jpeg frame" needs to (A) switch the camera settings and (B)
capture into a different, larger buffer then (C) return to the earlier
settings. This can't be done during continuous capture mode. So just
restructuring it as follows isn't going to work:
```python
with camera.continuous_capture(buffer1, buffer2) as capture:
for frame in capture:
if shutter button was just pressed:
capture a jpeg frame, without disturbing continuous capture mode
else:
update the viewfinder
```
The continuous mode is only implemented in the espressif port; others
will throw an exception if the associated methods are invoked. It's not
impossible to implement there, just not a priority, since these micros don't
have enough RAM for two framebuffer copies at any resonable sizes.
The capture code, including single-shot capture, now take mp_obj_t in the
common-hal layer, instead of a buffer & length. This was done for the
continuous capture mode because it has to identify & return to the user the
proper Python object representing the original buffer. In the Espressif port,
it was convenient to implement single capture in terms of a multi-capture,
which is why I changed the singleshot routine's signature too.
2021-10-27 17:10:20 -04:00
|
|
|
#: shared-module/imagecapture/ParallelImageCapture.c
|
|
|
|
msgid "This microcontroller does not support continuous capture."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-21 16:00:43 -04:00
|
|
|
#: shared-module/paralleldisplay/ParallelBus.c
|
|
|
|
msgid ""
|
|
|
|
"This microcontroller only supports data0=, not data_pins=, because it "
|
|
|
|
"requires contiguous pins."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c
|
|
|
|
msgid "Tile height must exactly divide bitmap height"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c shared-module/displayio/TileGrid.c
|
2019-07-19 13:38:59 -04:00
|
|
|
msgid "Tile index out of bounds"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c
|
|
|
|
msgid "Tile width must exactly divide bitmap width"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-27 23:57:59 -05:00
|
|
|
#: shared-bindings/alarm/time/TimeAlarm.c
|
|
|
|
msgid "Time is in the past."
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Adapter.c
|
2020-05-19 03:01:38 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Timeout is too long: Maximum timeout length is %d seconds"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-12 08:40:04 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "To exit, please reset the board without "
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "Too many channels in sample"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Too many channels in sample."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-module/displayio/__init__.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Too many display busses"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-14 19:25:21 -04:00
|
|
|
#: shared-module/displayio/__init__.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Too many displays"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/PacketBuffer.c
|
2020-05-04 14:29:37 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
2021-04-14 20:09:48 -04:00
|
|
|
msgid "Total data to write is larger than %q"
|
2020-05-04 14:29:37 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-07-23 14:09:28 -04:00
|
|
|
#: ports/atmel-samd/common-hal/alarm/touch/TouchAlarm.c
|
2021-04-26 17:52:49 -04:00
|
|
|
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
2021-04-21 17:34:13 -04:00
|
|
|
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
|
|
|
msgid "Touch alarms not available"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
|
|
|
msgid "Traceback (most recent call last):\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/time/__init__.c
|
|
|
|
msgid "Tuple or struct_time argument required"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/busio/UART.c
|
2022-05-20 10:10:55 -04:00
|
|
|
msgid "UART de-init"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c ports/cxd56/common-hal/busio/UART.c
|
|
|
|
#: ports/espressif/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
|
|
|
|
msgid "UART init"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/busio/UART.c
|
2022-05-20 10:10:55 -04:00
|
|
|
msgid "UART re-init"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/stm/common-hal/busio/UART.c
|
2022-05-20 10:10:55 -04:00
|
|
|
msgid "UART write"
|
2020-03-17 17:41:09 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-module/usb_hid/Device.c
|
2021-05-10 19:57:38 -04:00
|
|
|
msgid "USB busy"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-05-05 12:35:12 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "USB devices need more endpoints than are available."
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "USB devices specify too many interface names."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-10 19:57:38 -04:00
|
|
|
#: shared-module/usb_hid/Device.c
|
|
|
|
msgid "USB error"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
2019-06-19 10:42:36 -04:00
|
|
|
msgid "UUID integer value must be 0-0xffff"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "UUID string not 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "UUID value is not str, int or byte buffer"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
|
2021-02-09 18:47:54 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Unable to allocate buffers for signed conversion"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/I2C.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "Unable to create lock"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-26 14:43:57 -05:00
|
|
|
#: shared-module/displayio/I2CDisplay.c shared-module/is31fl3741/IS31FL3741.c
|
2019-07-17 15:00:58 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Unable to find I2C Display at %x"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
|
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
|
|
|
|
msgid "Unable to find free GCLK"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parse.c
|
|
|
|
msgid "Unable to init parser"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-module/displayio/OnDiskBitmap.c
|
|
|
|
msgid "Unable to read color palette data"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-03 10:42:48 -05:00
|
|
|
#: ports/espressif/common-hal/mdns/Server.c
|
|
|
|
msgid "Unable to start mDNS query"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/nvm/ByteArray.c
|
|
|
|
msgid "Unable to write to nvm."
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-14 11:49:01 -05:00
|
|
|
#: shared-bindings/alarm/SleepMemory.c
|
|
|
|
msgid "Unable to write to sleep_memory."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/UUID.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Unexpected nrfx uuid type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/ssl/SSLSocket.c
|
2020-09-29 01:44:30 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Unhandled ESP TLS error %d %d %x %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-10 14:31:57 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown BLE error at %s:%d: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown BLE error: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-25 19:40:45 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
2021-01-14 18:53:37 -05:00
|
|
|
#, c-format
|
|
|
|
msgid "Unknown failure %d"
|
2020-08-25 19:40:45 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-11-20 16:53:50 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown gatt error: 0x%04x"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-03-15 16:56:11 -04:00
|
|
|
#: ports/atmel-samd/common-hal/alarm/pin/PinAlarm.c
|
2019-12-12 14:51:50 -05:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "Unknown reason."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-11-20 16:53:50 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown security error: 0x%04x"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown system firmware error at %s:%d: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-11-20 16:53:50 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
2021-04-02 15:34:16 -04:00
|
|
|
msgid "Unknown system firmware error: %04x"
|
2019-11-20 16:53:50 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "Unknown system firmware error: %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-20 20:08:22 -04:00
|
|
|
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-11-21 19:50:34 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/__init__.c
|
|
|
|
msgid ""
|
|
|
|
"Unspecified issue. Can be that the pairing prompt on the other device was "
|
|
|
|
"declined or ignored."
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-03 09:35:50 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "Unsupported colorspace"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-module/displayio/display_core.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Unsupported display bus type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-07-25 22:13:50 -04:00
|
|
|
#: shared-module/audiocore/WaveFile.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "Unsupported format"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-06-29 19:31:55 -04:00
|
|
|
#: shared-bindings/hashlib/__init__.c
|
|
|
|
msgid "Unsupported hash algorithm"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/dualbank/__init__.c
|
2020-12-23 22:52:27 -05:00
|
|
|
msgid "Update Failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-10 14:31:57 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Characteristic.c
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Descriptor.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Characteristic.c
|
|
|
|
#: ports/nrf/common-hal/_bleio/Descriptor.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Value length != required fixed length"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-10 14:31:57 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Characteristic.c
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Descriptor.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Characteristic.c
|
|
|
|
#: ports/nrf/common-hal/_bleio/Descriptor.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "Value length > max_length"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-02 08:10:51 -04:00
|
|
|
#: ports/espressif/common-hal/espidf/__init__.c ports/espressif/esp_error.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "Version was invalid"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-17 17:41:09 -04:00
|
|
|
#: ports/stm/common-hal/microcontroller/Processor.c
|
|
|
|
msgid "Voltage read timed out"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: main.c
|
|
|
|
msgid "WARNING: Your code filename has two extensions\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-21 18:07:07 -04:00
|
|
|
#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
|
2020-11-19 00:29:14 -05:00
|
|
|
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
|
2021-01-28 09:32:00 -05:00
|
|
|
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
|
2020-05-26 23:38:38 -04:00
|
|
|
msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/watchdog/WatchDogTimer.c
|
|
|
|
msgid "WatchDogTimer is not currently running"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/watchdog/WatchDogTimer.c
|
|
|
|
msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/watchdog/WatchDogTimer.c
|
|
|
|
msgid "WatchDogTimer.timeout must be greater than 0"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinhelp.c
|
|
|
|
#, c-format
|
|
|
|
msgid ""
|
|
|
|
"Welcome to Adafruit CircuitPython %s!\n"
|
|
|
|
"\n"
|
2021-10-21 18:07:07 -04:00
|
|
|
"Visit circuitpython.org for more information.\n"
|
2019-08-19 10:25:36 -04:00
|
|
|
"\n"
|
2021-10-21 18:07:07 -04:00
|
|
|
"To list built-in modules type `help(\"modules\")`.\n"
|
2019-08-15 21:54:52 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-06-06 19:54:02 -04:00
|
|
|
#: supervisor/shared/web_workflow/web_workflow.c
|
|
|
|
msgid "Wi-Fi: "
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-02 21:05:29 -05:00
|
|
|
#: main.c
|
|
|
|
msgid "Woken up by alarm.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/PacketBuffer.c
|
2020-01-07 17:31:58 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
|
|
|
msgid "Writes not supported on Characteristic"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-18 22:30:31 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
2021-05-12 15:53:52 -04:00
|
|
|
msgid "You are in safe mode because:\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid ""
|
|
|
|
"You pressed the reset button during boot. Press again to exit safe mode."
|
2019-08-15 21:54:52 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
|
|
|
msgid "You requested starting safe mode by "
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "__init__() should return None"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "__init__() should return None, not '%q'"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objobject.c
|
|
|
|
msgid "__new__ arg must be a user-type"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-24 22:58:20 -04:00
|
|
|
#: extmod/modubinascii.c extmod/moduhashlib.c py/objarray.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "a bytes-like object is required"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-09 13:06:18 -04:00
|
|
|
#: shared-bindings/i2ctarget/I2CTarget.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "address out of bounds"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-09 13:06:18 -04:00
|
|
|
#: shared-bindings/i2ctarget/I2CTarget.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "addresses is empty"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 21:04:23 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "annotation must be an identifier"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "arg is an empty sequence"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/objobject.c
|
|
|
|
msgid "arg must be user-type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "argsort argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "argsort is not implemented for flattened arrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-10-29 11:39:06 -04:00
|
|
|
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "argument has wrong type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "argument name reused"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/argcheck.c shared-bindings/_stage/__init__.c
|
2021-07-29 23:06:24 -04:00
|
|
|
#: shared-bindings/digitalio/DigitalInOut.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "argument num/types mismatch"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "argument should be a '%q' not a '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "arguments must be ndarrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "array and index length must be equal"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "array has too many dimensions"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-14 11:49:01 -05:00
|
|
|
#: py/objarray.c shared-bindings/alarm/SleepMemory.c
|
|
|
|
#: shared-bindings/nvm/ByteArray.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "array/bytes required on right side"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-04-13 18:17:51 -04:00
|
|
|
msgid "attempt to get argmin/argmax of an empty sequence"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "attributes not supported yet"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/ulab_tools.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "axis is out of bounds"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "axis must be None, or an integer"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "axis too long"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-08-13 11:13:38 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "background value out of range of target"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinevex.c
|
|
|
|
msgid "bad compile mode"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "bad conversion specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "bad format string"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-12 16:11:02 -04:00
|
|
|
#: py/binary.c py/objarray.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "bad typecode"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "binary op %q not implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-29 15:01:47 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "bitmap sizes must match"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-18 11:54:19 -04:00
|
|
|
#: extmod/modurandom.c
|
|
|
|
msgid "bits must be 32 or less"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-bindings/audiomixer/Mixer.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "bits_per_sample must be 8 or 16"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
msgid "branch not in range"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
|
2021-01-14 15:16:11 -05:00
|
|
|
msgid "buffer is smaller than requested size"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
|
2021-01-14 15:16:11 -05:00
|
|
|
msgid "buffer size must be a multiple of element size"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-module/struct/__init__.c
|
|
|
|
msgid "buffer size must match format"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
|
|
|
|
msgid "buffer slices must be of equal length"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modstruct.c shared-bindings/struct/__init__.c
|
|
|
|
#: shared-module/struct/__init__.c
|
|
|
|
msgid "buffer too small"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-01-15 12:01:15 -05:00
|
|
|
#: shared-bindings/socketpool/Socket.c shared-bindings/ssl/SSLSocket.c
|
2020-10-16 15:21:00 -04:00
|
|
|
msgid "buffer too small for requested bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-20 20:08:22 -04:00
|
|
|
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
2019-10-03 19:42:40 -04:00
|
|
|
msgid "byteorder is not a string"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-09-12 16:11:02 -04:00
|
|
|
#: py/objarray.c
|
|
|
|
msgid "bytes length not a multiple of item size"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "bytes value out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: ports/atmel-samd/bindings/samd/Clock.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "calibration is out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/bindings/samd/Clock.c
|
|
|
|
msgid "calibration is read only"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-13 15:33:43 -04:00
|
|
|
#: shared-module/vectorio/Circle.c shared-module/vectorio/Polygon.c
|
2021-12-12 22:50:00 -05:00
|
|
|
#: shared-module/vectorio/Rectangle.c
|
2022-05-13 15:33:43 -04:00
|
|
|
msgid "can only have one parent"
|
2021-12-12 22:50:00 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
msgid "can only have up to 4 parameters to Thumb assembly"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinextensa.c
|
|
|
|
msgid "can only have up to 4 parameters to Xtensa assembly"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "can't add special method to already-subclassed class"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "can't assign to expression"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: extmod/moduasyncio.c
|
|
|
|
msgid "can't cancel self"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-09 13:06:18 -04:00
|
|
|
#: py/obj.c py/objint.c shared-bindings/i2ctarget/I2CTarget.c
|
2021-07-20 20:08:22 -04:00
|
|
|
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "can't convert %q to %q"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 21:04:23 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "can't convert %q to int"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/obj.c
|
|
|
|
#, c-format
|
|
|
|
msgid "can't convert %s to complex"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "can't convert '%q' object to %q implicitly"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
|
|
|
msgid "can't convert complex to float"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "can't convert to %q"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/obj.c
|
|
|
|
msgid "can't convert to complex"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 21:04:23 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "can't convert to int"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "can't convert to str implicitly"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "can't declare nonlocal in outer code"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "can't delete expression"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't do binary op between '%q' and '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objcomplex.c
|
|
|
|
msgid "can't do truncated division of a complex number"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "can't have multiple **x"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "can't have multiple *x"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't implicitly convert '%q' to 'bool'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't load from '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't load with '%q' index"
|
|
|
|
msgstr ""
|
|
|
|
|
Merge tag 'v1.18'
Boosted performance, board.json metadata, more mimxrt, rp2, samd features
This release of MicroPython sees a boost to the overall performance of the
VM and runtime. This is achieved by the addition of an optional cache to
speed up general hash table lookups, as well as a fast path in the VM for
the LOAD_ATTR opcode on instance types. The new configuration options are
MICROPY_OPT_MAP_LOOKUP_CACHE and MICROPY_OPT_LOAD_ATTR_FAST_PATH. As part
of this improvement the MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE option has
been removed, which provided a similar map caching mechanism but with the
cache stored in the bytecode, which made it not useful on bare metal ports.
The new mechanism is measured to be at least as good as the old one,
applies to more map lookups, has a constant RAM overhead, and applies to
native code as well as bytecode.
These performance options are enabled on the esp32, mimxrt, rp2, stm32 and
unix ports. For esp32 and mimxrt some code is also moved to RAM to further
boost performance. On stm32, performance increases by about 20% for
benchmarks that are heavy on name lookups, like misc_pystone.py and
misc_raytrace.py. On esp32 performance can increase by 2-3x, and on mimxrt
it is up to 6x.
All boards in all ports now have a board.json metadata file, which is used
to automatically build firmware and generate a webpage for that board
(among other possibilities). Auto-build scripts have been added for this
purpose and they build all esp32, mimxrt, rp2, samd and stm32 boards. The
generated output is available at https://micropython.org/download.
Support for FROZEN_DIR and FROZEN_MPY_DIR has been deprecated for some time
and was finally removed in this release. Instead of these, FROZEN_MANIFEST
can be used. The io.resource_stream() function is also removed, replaced
by the pure Python version in micropython-lib.
The search order for importing frozen Python modules is now controlled by
the ".frozen" entry in sys.path. This string is added by default in the
second position in sys.path. User code should adjust sys.path depending on
the desired behaviour. Putting ".frozen" first in sys.path will speed up
importing frozen modules.
A bug in multiple precision integers with bitwise of -0 was fixed in commit
2c139bbf4e5724ab253b5b034ce925e04267a9c4.
The platform module has been added to allow querying the compiler and
underlying SDK/HAL/libc version. This is enabled on esp32, mimxrt and
stm32 ports.
The mpremote tool now supports seek, flush, mkdir and rmdir on PC-mounted
filesystems. And a help command has been added.
The documentation has seen many additions and improvements thanks (for a
second time) to the Google Season of Docs project. The rp2 documentation
now includes a reference for PIO assembly instructions, a PIO quick
reference and a PIO tutorial. The random and stm modules have been
documented, along with sys.settrace, manifest.py files and mpremote. There
is also now more detail about the differences between MicroPython and
standard Python 3.5 and above.
The esp32 port sees support for ESP32-S3 SoCs, and new boards GENERIC_S3,
ESP32_S2_WROVER, LOLIN_S2_MINI, LOLIN_S2_PICO and UM_FEATHERS2NEO. The PWM
driver has been improved and now supports all PWM timers and channels, and
the duty_u16() and duty_ns() methods, and it keeps the duty constant when
changing frequency. The machine.bitstream() function has been improved to
use RMT, with an option to select the original bit-banging implementation.
The mimxrt port gained new hardware features: SDRAM and SD card support, as
well as network integration with a LAN driver. The machine.WDT class was
added along with the machine.reset_cause(), machine.soft_reset(),
machine.unique_id() add machine.bitstream() functions. DHT sensor support
was added, and f-strings were enabled.
The rp2 port now has support for networking, and bluetooth using NimBLE.
The Nina-W10 WiFi/BT driver is fully integrated and supported by the new
Arduino Nano RP2040 connect board. I2S protocol support is added along
with a machine.bitstream() driver and DHT sensor support. The PWM driver
had a bug fix with the accuracy of setting/getting the frequency, and the
duty value is now retained when changing the frequency.
On the samd port there is now support for the internal flash being a block
device, and for filesystems and the os module. Pin and LED classes have
been implemented. There are more time functions, more Python features
enabled, and the help() function is added. SEEED_WIO_TERMINAL and
SEEED_XIAO board definitions are now available.
The stm32 port now has support for F427, F479 and H7A3(Q)/H7B3(Q) MCUs, and
new board definitions for VCC_GND_H743VI, OLIMEX_H407, MIKROE_QUAIL,
GARATRONIC_PYBSTICK26_F411, STM32H73B3I_DK. A bug was fixed in the SPI
driver where a SPI transfer could fail if the CYW43 WiFi driver was also
active at the same time.
On the windows port the help() function has been enabled, and support for
build variants added, to match the unix port.
The zephyr port upgraded Zephyr to v2.7.0.
The change in code size since the previous release for various ports is
(absolute and percentage change in the text section):
bare-arm: -1520 -2.605%
minimal x86: -2256 -1.531%
unix x64: -457 -0.089%
unix nanbox: -925 -0.204%
stm32: +312 +0.079% PYBV10
cc3200: -176 -0.096%
esp8266: +532 +0.076% GENERIC
esp32: +27096 +1.820% GENERIC
nrf: -212 -0.121% pca10040
rp2: +9904 +2.051% PICO
samd: +35332 +33.969% ADAFRUIT_ITSYBITSY_M4_EXPRESS
The changes that dominate these numbers are:
- bare-arm, minimal: use of new MICROPY_CONFIG_ROM_LEVEL_MINIMUM option and
subsequent disabling of remaining optional features
- unix, cc3200, nrf: general code size reductions of the core
- stm32: performance improvements, addition of platform module
- esp8266: enabling f-strings
- esp32: use of -O2 instead of -Os
- rp2: machine.I2S and other new hardware features
- samd: filesystem support and other new hardware features
Thanks to everyone who contributed to this release: Alan Dragomirecký,
Alexey Shvetsov, Andrew Leech, Andrew Scheller, Antoine Aubert, Boris
Vinogradov, Chris Boudacoff, Chris Fiege, Christian Decker, Damien George,
Daniel Gorny, Dave Hylands, David Michieli, Emilie Feral, Frédéric Pierson,
gibbonsc, Henk Vergonet, iabdalkader, Ihor Nehrutsa, Jan Hrudka, Jan Staal,
jc_.kim, Jim Mussared, Jonathan Hogg, Laurens Valk, leo chung, Lorenzo
Cappelletti, Magnus von Wachenfeldt, Matt Trentini, Matt van de Werken,
Maureen Helm, Michael Bentley, Michael Buesch, Mike Causer, Mike Teachman,
Mike Wadsten, Ned Konz, NitiKaur, oli, patrick, Patrick Van Oosterwijck,
Peter Boin, Peter Hinch, Peter van der Burg, Philipp Ebensberger, Pooya
Moradi, retsyo, robert-hh, roland van straten, Scott Armitage, Sebastian
Wicki, Seon Rozenblum, Sergei Silnov, Simon Baatz, Stewart Bonnick, stijn,
Tobias Thyrrestrup, Tomas Vanek, YoungJoon Chun.
What follows is a detailed list of changes, generated from the git commit
history, and organised into sections.
Main components
===============
all:
- remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE
- update Python formatting to latest Black version 21.12b0
- remove support for FROZEN_DIR and FROZEN_MPY_DIR
py core:
- parse: simplify parse nodes representing a list
- emitnative: ensure load_subscr does not clobber existing REG_RET
- mpconfig.h: define initial templates for "feature levels"
- vm: add a fast path for LOAD_ATTR on instance types
- map: add an optional cache of (map+index) to speed up map lookups
- builtinimport: forward all debug printing to MICROPY_DEBUG_PRINTER
- add wrapper macros so hot VM functions can go in fast code location
- runtime: fix crash when exc __new__ doesn't return an exc instance
- mpconfig.h: define the "extra" feature level
- mpconfig.h: revert MICROPY_REPL_INFO to disabled at all levels
- gc: add hook to run code during time consuming GC operations
- showbc: print unary-op string when dumping bytecode
- modsys: replace non-ASCII quote char with ASCII char
- runtime: allow types to use both .attr and .locals_dict
- lexer: support nested [] and {} characters within f-string params
- objfun.h: remove obsolete comments about entries in extra_args
- builtinimport: refactor module importing
- showbc: fix printing of raw bytecode header on nanbox builds
- modio: remove io.resource_stream function
- only search frozen modules when '.frozen' is found in sys.path
- mkrules.cmake: set frozen preprocessor defs early
- runtime: allow initialising sys.path/argv with defaults
- mpstate.h: only include sys.path/argv objects in state when enabled
- mpz: fix bugs with bitwise of -0 by ensuring all 0's are positive
- qstr: reset mpstate.qstr_last_chunk before raising an error
- modbuiltins: add additional macro for extending builtins
- mpconfig.h: define MICROPY_PY_USSL_FINALISER only if not defined
extmod:
- machine_i2c: make SoftI2C configurable via macro option
- machine_spi: make SoftSPI configurable via macro option
- modonewire: make _onewire module configurable via macro option
- machine_pwm: factor out machine.PWM bindings to common code
- move modnetwork and modusocket from stm32 to extmod
- modnetwork: add STA_IF and AP_IF constants
- modnetwork: add extended socket state
- modusocket: add read/write stream methods to socket object
- modnetwork: define network interfaces in port config files
- network_cyw43: make consistent use of STA and AP constants
- modnetwork: remove STM32 references
- modnetwork: remove modnetwork socket u_state member
- mpbthci.h: add mp_bluetooth_hci_uart_any prototype
- nimble: add nimble CMake fragment file
- add platform module
- moduplatform: improve implementation for PC ports
- vfs_posix_file: support MP_STREAM_POLL in vfs_posix_file_ioctl
- modbluetooth: add connection interval to gap_connect
- nimble: update to NimBLE v1.4
- nimble: remove workaround for OS_ENOMEM
- uasyncio: fix gather returning exceptions from a cancelled task
- uplatform: remove unused definitions
- uplatform: use generic custom platform string
- network_ninaw10: fix scan list order to match other NICs
- modbluetooth: support gap_connect(None) to cancel a connection
- modure: redirect regex debug printing to mp_printf
- network_ninaw10: fix config of AP mode
- network_ninaw10: disable active connections before connecting
- network_ninaw10: make NIC state persistent
- network_ninaw10: return -1 on timeout from recv/send
- network_ninaw10: make recv/recvfrom interchangeable
- moduplatform: detect xtensa arch
- modusocket: allow setting timeout on unbound sockets
- modusocket: initialise accepted socket state
- network_ninaw10: use socket timeout preset in modusocket
- modbluetooth: fix conditional compilation of ringbuf_put_uuid
- modbluetooth: put declaration of connect_cancel in correct place
shared:
- libc/string0: don't include string.h, and provide __memcpy_chk
- runtime/pyexec: cleanup EXEC_FLAG flag constants
drivers:
- ninaw10: add ublox Nina-W10 WiFi/BT module driver
- lsm6dsox: add LSM6DSOX driver and examples
- neopixel: avoid heap alloc in fill()
- ninaw10: fix BSSID byte order, and add null byte to ESSID
- ninaw10/nina_wifi_drv: fix DNS resolution
mpy-cross: no changes specific to this component/port
lib:
- mynewt-nimble: switch to the MicroPython fork of NimBLE
- asf4: point submodule to latest commit on circuitpython branch
- update pico-sdk to 1.3.0 and tinyusb to 0.12.0
- stm32lib: update library for L4 v1.17.0, new G4, WL, and MMC fixes
- stm32lib: update library for fix to F7 USB HS
Support components
==================
docs:
- library/os.rst: clarify littlefs requirements for block erase
- library/bluetooth.rst: update incorrect link to gatts_write
- make.bat: change Windows output dir from '_build' to 'build'
- library/machine.I2S.rst: specify that I2S.shift args are kw-only
- esp32: explain ESP32 PWM modes, timers, and channels
- rp2: add reference for PIO assembly instructions, and PIO tutorial
- library/random.rst: document the random module
- reference/mpremote.rst: add docs for mpremote
- reference/manifest.rst: add docs for manifest.py files
- library/stm.rst: document the stm module
- esp32/tutorial: add an example of peripheral control via regs
- rp2/general.rst: fix typo with missing spaces
- library/framebuf.rst: adjust dimensions in example
- library/rp2.rst: update function asm_pio_encode to add sideset_opt
- reference/filesystem.rst: add detail on how to use littlefs fuse
- rp2/quickref.rst: add section on PIO
- library/sys.rst: add docs for sys.settrace
- esp8266/tutorial: fix comments of FrameBuffer examples
- library/uasyncio.rst: detail exception behaviour in cancel/timeout
- library/machine.Timer.rst: document 'id' as positional-only arg
- library/machine.SPI.rst: add example SPI usage
- library/machine.Timer.rst: document `period` and `callback` args
- library/machine.Pin.rst: add Pin.ANALOG mode constant
- remove trailing spaces and convert tabs to spaces
- library/sys.rst: add note about '.frozen' as an entry in sys.path
- differences: document details of new PEPs/features in Python 3.5+
- update copyright year range to include 2022
- esp32: update RMT quickref example to match latest code
examples: no changes specific to this component/port
tests:
- perf_bench: use math.log instead of math.log2
- basics: add tests for type-checking subclassed exc instances
- micropython/const.py: add comment about required config for test
- cpydiff: clarify f-string diffs regarding concatenation
- basics/int_big_cmp.py: add more tests for big-int comparison
- extmod: skip uselect_poll_udp when poll() is not available
tools:
- autobuild: add auto build for GENERIC_C3_USB
- ci.sh: use IDF v4.4 as part of esp32 CI and build GENERIC_S3
- autobuild: add the MIMXRT1010_EVK board to autobuild
- ci.sh: use a specific ESP IDF v4.4 commit
- autobuild: add script to generate website board metadata
- dfu.py: make tool work with python3 when parsing DFU files
- autobuild: automatically build all mimxrt, rp2 and samd boards
- autobuild: automatically build all stm32 boards
- mpremote: implement seek and flush in ioctl method
- autobuild: automatically build all esp32 boards
- upip.py: support == to specify exact package version
- makemanifest.py: make str conversion compatible with Python 2
- makemanifest.py: merge make-frozen.py
- mpremote: add mkdir and rmdir to RemoteFS
- mpremote: add help command
- mpremote: add link to mpremote docs URL in help message
- upip.py: skip '.frozen' entry in sys.path for install path
- autobuild: build esp8266 OTA image with GENERIC_1M board
- ci.sh: upgrade Zephyr docker image to v0.21.0
- ci.sh: build zephyr nucleo_wb55rg to test zephyr bluetooth build
CI:
- workflows: use Python 3.8 for macos workflow
- workflows: add new workflow to build ports download metadata
The ports
=========
all ports:
- add board.json for all boards
- add images, features and urls to board.json
- add '.frozen' as the first entry in sys.path
- move '.frozen' to second entry in sys.path
bare-arm port:
- mpconfigport.h: use MICROPY_CONFIG_ROM_LEVEL_MINIMUM
- mpconfigport.h: disable remaining optional features
cc3200 port: no changes specific to this component/port
esp8266 port:
- boards/GENERIC: enable f-strings
- extract qstr from object when comparing keys in config()
- etshal.h: remove unneeded function declarations
- allow building a board to any dest directory
esp32 port:
- boards: add new FeatherS2-Neo board definition
- machine_timer: use tx_update member for IDF 4.4 and above
- add support for ESP32-S3 SoCs
- boards: add new GENERIC_S3 board definition
- machine_hw_spi: fix hardware SPI DMA channels for S2/S3
- boards: add board definition for ESP32-S2-WROVER module
- boards: add LOLIN_S2_MINI ESP32-S2 board
- machine_pwm: add support for all PWM timers and channels
- README: updated readme with req IDF vers for ESP32-S2, C3 and S3
- usb: add USB host connection detection for CDC serial output
- machine_pin: block out IO16 and IO17 when using SPIRAM on ESP32
- mpthreadport: fix TCB cleanup function so thread_mutex is ready
- main: add option for a board to hook code into startup sequence
- split out WLAN code from modnetwork.c to network_wlan.c
- enable optimisations and move code to iRAM to boost performance
- usb: improve speed of USB CDC output
- add specific deploy_s2.md instructions for esp32-s2
- boards/LOLIN_S2_MINI: add image to board.json
- boards: update board and deploy metadata for UM_xxx boards
- usb: further improve speed of USB CDC output
- boards/LOLIN_S2_PICO: add LOLIN_S2_PICO board definition files
- boards/ESP32_S2_WROVER: link to specific deploy_s2 instructions
- support building with latest IDF v5
- in machine_i2s, send null samples in underflow situations
- in machine_i2s, make object reference arrays root pointers
- add SDCard support for S3, and a GENERIC_S3_SPIRAM board
- boards/GENERIC_S3: enable BLE on ESP32 S3
- machine_pwm: implement duty_u16() and duty_ns() PWM methods
- extract qstr from object when comparing keys in config()
- machine_pin: make GPIO 26 usable for S2,S3 if SPIRAM not config'd
- machine_hw_spi: fix SPI default pins reordering on ESP32-S2/S3
- machine_hw_spi: set proper default SPI(id=1) pins on S2,S3 and C3
- machine_hw_spi: set proper default SPI(id=2) pins on S2 and S3
- boards: remove SPI pin defaults from GENERIC S2/S3 boards
- modnetwork: synchronize WiFi AUTH_xxx constants with IDF values
- machine_pwm: keep duty constant when changing frequency
- machine_bitstream: replace bit-bang code with RMT-based driver
- machine_i2s: add support for ESP-IDF 4.4
- machine_bitstream: fix signal duplication on output pins
- esp32: enable platform module with IDF version
- boards/GENERIC_D2WD: build with -Os optimisation
- esp32_rmt: install RMT driver on core 1
- machine_bitstream: reinstate bitstream bit-bang implementation
javascript port: no changes specific to this component/port
mimxrt port:
- sdcard: implement SDCard driver
- machine_bitstream: add bitstream function to machine module
- rework flash configuration
- sdram: add SDRAM support
- eth: add LAN support and integrate the network module
- modmachine: implement machine.WDT() and machine.reset_cause()
- boards: fix the D14/D15 pin assignment of MIMXRT1050/60/64_EVK
- hal: remove duplicate definitions from flexspi_hyper_flash.h
- dma_channel: fix the DMA channel management
- fix cycle counter for time.ticks_cpu() and machine.bitstream()
- add dht_readinto() to the mimxrt module, and freeze dht.py
- extend the help() message and README.md
- mpconfigport.h: enable f-strings
- modmachine: implement soft_reset() and unique_id() functions
- boards/make-pins.py: allow empty lines and comments in pins.csv
- optimize the runtime speed
- enable the platform module
- boards: add the Seeed ARCH MIX board
- boards: update the board.json files and add deploy_xx.md files
- fix mp_hal_quiet_timing_enter()/exit() so timer still runs
- support PWM using the FLEXPWM and QTMR modules
- define UART 0 on MIMXRT boards
- support selection of PHY type and address
- re-enable eth checksum creation by HW
- fix a tiny unnoticed bug in sdcard.c
- add a driver for the DP83848 PHY device
- refactor the reading of the machine id
- enable ticks_cpu at boot time for NDEBUG builds only
- use -Og instead of -O0 for DEBUG builds
- tidy up the board flash related files
- hal: allow readSampleClkSrc to be configured by a board
- enable MICROPY_PY_USSL_FINALISER
minimal port:
- mpconfigport.h: use MICROPY_CONFIG_ROM_LEVEL_MINIMUM
- Makefile: don't force a 32-bit build
- mpconfigport.h: disable features that are not needed
nrf port:
- Makefile: improve Black Magic Probe commands
- main: use VFS helper function to mount fs and chdir
pic16bit port: no changes specific to this component/port
powerpc port: no changes specific to this component/port
qemu-arm port: no changes specific to this component/port
rp2 port:
- mpconfigport.h: enable heapq module
- add support for bluetooth module using NimBLE
- add framework for networking
- mpconfigport.h: use the "extra" feature level
- enable optimisations (comp goto, map cache, fast attr)
- machine_i2s: add I2S protocol support
- add support for Nina-W10 WiFi/BT module
- boards: add support for Arduino Nano RP2040
- machine_bitstream: implement the machine.bitstream driver
- boards: add neopixel.py to manifest.py
- rp2_pio: support exec with sideset
- boards/PIMORONI_PICOLIPO_16MB: fix 16MB flash size
- boards: add PYBSTICK26 RP2040 board definition
- machine_uart: handle and clear UART RX timeout IRQ
- boards/ARDUINO_NANO_RP2040_CONNECT: set default I2C pins
- machine_pwm: fix PWM frequency setting
- machine_pwm: keep duty value when changing the frequency
- add support for DHT11 and DHT22 sensors
- CMakeLists.txt: allow a board to override PICO_BOARD
- boards/GARATRONIC_PYBSTICK26_RP2040: use correct pico-sdk board cfg
samd port:
- integrate latest asf4, add help, more time funcs and uPy features
- samd_soc: allow a board to configure the low-level MCU config
- add internal flash block device, filesystem and uos support
- add Pin and LED classes, and machine.unique_id
- boards/ADAFRUIT_FEATHER_M0_EXPRESS: update for flash and pins
- boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS: update for flash and pins
- boards/MINISAM_M4: update for flash and pins
- boards/ADAFRUIT_TRINKET_M0: update for flash and pins
- boards/SAMD21_XPLAINED_PRO: update for flash and pins
- boards/SEEED_WIO_TERMINAL: add new board definition
- boards/SEEED_XIAO: add new board definition
- README.md: update README to reflect new features and boards
stm32 port:
- pin: enable GPIO clock of pin if it's constructed without init
- main: don't unconditionally enable GPIO A,B,C,D clocks
- boards/VCC_GND_H743VI: add board definition for VCC_GND_H743VI
- boards/OLIMEX_E407: add Ethernet RMII support
- boards/LEGO_HUB_NO6: remove user paths from cc2564 init file
- boards: remove trailing spaces, and add newline at end of file
- add basic support for STM32H750
- add support for H7A3(Q)/H7B3(Q), and STM32H73B3I_DK board defn
- suggest putting code in main.py not boot.py
- boards/make-pins.py: allow a CPU pin to be hidden
- boards/make-pins.py: allow empty lines and comments in pins.csv
- dma: add functions for external users of DMA to enable clock
- enable LOAD_ATTR fast path, and map lookup caching on >M0
- boards: add OLIMEX H407 board definition
- enable platform module
- extended flash filesystem space to 512K on H743 boards
- boards/NUCLEO_H743ZI: enable VfsLfs2 on NUCLEO_H743ZI(2) boards
- boards: add PF11-BOOT0 to stm32f091_af.csv
- machine_i2c: use hardware I2C for STM32H7
- sdram: enforce gcc opt, and use volatile and DSB in sdram_test
- usbd_cdc_interface: allow a board to hook into USBD CDC RX events
- mpbthciport: allow a board to hook BT HCI poll functions
- pendsv: allow a board to add entries for pendsv_schedule_dispatch
- boards: add images to board.json for Adafruit and VCC_GND boards
- uart: fix race conditions and clearing status in IRQ handler
- mpconfigport.h: use the "extra" feature level
- in machine_i2s, send null samples in underflow situations
- in machine_i2s, make object reference arrays root pointers
- led: support an extra 2 LEDs in board configuration
- boards/MIKROE_CLICKER2_STM32: add more detail to board.json
- boards: add new board MikroElektronika Quail, and F427 support
- main: run optional frozen module at boot
- sdio: don't explicitly disable DMA2 on deinit of SDIO
- dma: make DMA2_Stream3 exclusive to SDIO when CYW43 enabled
- boards: build NUCLEO_WB55 and STM32F769DISC without mboot enabled
- boards: add PYBSTICK26 F411 board definition
- boards/NADHAT_PYBF405: rename board to GARATRONIC_NADHAT_F405
- usb: use a table of allowed values to simplify usb_mode get/set
- boards/NUCLEO_WB55: update rfcore_firmwre for new WS
- flashbdev: support generic flash storage config via link symbols
- boards: convert F413,F439,H743,L4xx,WB55 to new flash FS config
- add support for F479 MCUs
- include HAL MMC code in F4 builds
- boards/make-pins.py: use cpu pins to define static alt-fun macros
- boards/NUCLEO_WB55: fix LED ordering
- boards/LEGO_HUB_NO6: set filesystem label as HUB_NO6
- boards: remove stray '+' characters at start of lines in ld files
- boards: remove unused MICROPY_HW_ENABLE_TIMER config
- boards: enable MICROPY_HW_ENABLE_SERVO on various boards
- update L4 code to build with latest stm32lib and L4 HAL 1.17.0
- main: call sdcard_init when only MICROPY_HW_ENABLE_MMCARD enabled
- sdcard: support 8-bit wide SDIO bus
- sdcard: add config option to force MM card capacity
- factoryreset: init vfs flags before calling pyb_flash_init_vfs
- qspi: fix typo in address comment
- boards/make-pins.py: generate empty ADC table if needed
- boards/OLIMEX_H407: fix typo in OLIMEX H407 board.json
- network_wiznet5k: fix build error with wiznet5k and lwip enabled
- enable MICROPY_PY_USSL_FINALISER
teensy port:
- switch to use manifest.py instead of FROZEN_DIR
unix port:
- enable LOAD_ATTR fast path, and map lookup caching
- modusocket: support MP_STREAM_POLL in unix socket_ioctl
- modos: add support for uos.urandom(n)
- coverage: change remaining printf to mp_printf
- Makefile: use -Og instead of -O0 for debug builds
windows port:
- README: remove unsupported Python instructions for Cygwin
- mpconfigport.h: enable help and help("modules")
- add support for build variants to windows port
- run tests via Makefile
- appveyor: build both standard and dev variants
- appveyor: build mpy-cross only once for mingw-w64
- msvc: run qstr preprocessing phase in parallel
zephyr port:
- mphalport.h: remove unused and unimplemented C-level pin API
- increase minimum CMake version to 3.20.0
- update include path to reboot.h
- get UART console device from devicetree instead of Kconfig
- use CONFIG_USB_DEVICE_STACK for conditional USB device support
- upgrade to Zephyr v2.7.0
- modbluetooth_zephyr: provide dummy connect_cancel function
2022-02-15 13:36:26 -05:00
|
|
|
#: py/builtinimport.c
|
|
|
|
msgid "can't perform relative import"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objgenerator.c
|
|
|
|
msgid "can't send non-None value to a just-started generator"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "can't set 512 block size"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objnamedtuple.c
|
|
|
|
msgid "can't set attribute"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't store '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't store to '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "can't store with '%q' index"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid ""
|
|
|
|
"can't switch from automatic field numbering to manual field specification"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid ""
|
|
|
|
"can't switch from manual field specification to automatic field numbering"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "cannot assign new shape"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray_operators.c
|
|
|
|
msgid "cannot cast output with casting rule"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "cannot convert complex to dtype"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "cannot convert complex type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c
|
|
|
|
msgid "cannot create '%q' instances"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "cannot create instance"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "cannot import name %q"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: extmod/moductypes.c
|
|
|
|
msgid "cannot unambiguously get sizeof scalar"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "casting"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
|
|
msgid "channel re-init"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/_stage/Text.c
|
|
|
|
msgid "chars buffer too small"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "chr() arg not in range(0x110000)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "chr() arg not in range(256)"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-24 00:23:14 -05:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "clip point must be (x,y) tuple"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-07 18:16:16 -05:00
|
|
|
#: shared-bindings/msgpack/ExtType.c
|
|
|
|
msgid "code outside range 0~127"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/displayio/Palette.c
|
|
|
|
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/displayio/Palette.c
|
2020-02-03 23:41:15 -05:00
|
|
|
msgid "color buffer must be a buffer, tuple, list, or int"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/displayio/Palette.c
|
|
|
|
msgid "color buffer must be a bytearray or array of type 'b' or 'B'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/displayio/Palette.c
|
|
|
|
msgid "color must be between 0x000000 and 0xffffff"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/displayio/ColorConverter.c
|
|
|
|
msgid "color should be an int"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "comparison of int and uint"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objcomplex.c
|
|
|
|
msgid "complex division by zero"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objfloat.c py/parsenum.c
|
|
|
|
msgid "complex values not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-13 12:04:28 -04:00
|
|
|
#: extmod/moduzlib.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "compression header"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parse.c
|
|
|
|
msgid "constant must be an integer"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "conversion to object"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/filter.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "convolve arguments must be linear arrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/filter.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "convolve arguments must be ndarrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/filter.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "convolve arguments must not be empty"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "corrupted file"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/poly.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "could not invert Vandermonde matrix"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "couldn't determine SD card version"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "cross is defined for 1D arrays of length 3"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "data must be iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "data must be of equal length"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 11:21:32 -04:00
|
|
|
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
|
|
|
#, c-format
|
|
|
|
msgid "data pin #%d in use"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-01-04 13:55:39 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "data type not understood"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/parsenum.c
|
|
|
|
msgid "decimal numbers not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "default 'except' must be last"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-07 18:16:16 -05:00
|
|
|
#: shared-bindings/msgpack/__init__.c
|
|
|
|
msgid "default is not a function"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid ""
|
|
|
|
"destination buffer must be a bytearray or array of type 'B' for bit_depth = 8"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "destination buffer must be an array of type 'H' for bit_depth = 16"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/audiobusio/PDMIn.c
|
|
|
|
msgid "destination_length must be an int >= 0"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objdict.c
|
|
|
|
msgid "dict update sequence has wrong length"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "diff argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "differentiation order out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/transform.c
|
2021-03-16 14:37:19 -04:00
|
|
|
msgid "dimensions do not match"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "div/mod not implemented for uint"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objfloat.c py/objint_mpz.c
|
|
|
|
msgid "divide by zero"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modmath.c py/objint_longlong.c py/runtime.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/math/__init__.c
|
|
|
|
msgid "division by zero"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
|
|
|
msgid "dtype must be float, or complex"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objdeque.c
|
|
|
|
msgid "empty"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "empty file"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: extmod/moduasyncio.c extmod/moduheapq.c extmod/modutimeq.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "empty heap"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "empty separator"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/random/__init__.c
|
|
|
|
msgid "empty sequence"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "end of format while looking for conversion specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/displayio/Shape.c
|
|
|
|
msgid "end_x should be an int"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-27 23:57:59 -05:00
|
|
|
#: shared-bindings/alarm/time/TimeAlarm.c
|
|
|
|
msgid "epoch_time not supported on this board"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/nrf/common-hal/busio/UART.c
|
|
|
|
#, c-format
|
|
|
|
msgid "error = 0x%08lX"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-23 12:34:22 -04:00
|
|
|
#: ports/espressif/common-hal/esp32_camera/Camera.c
|
|
|
|
msgid ""
|
|
|
|
"esp32_camera.Camera requires reserved PSRAM to be configured. See the "
|
|
|
|
"documentation for instructions."
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "exceptions must derive from BaseException"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-28 18:22:15 -04:00
|
|
|
#: shared-bindings/canio/CAN.c
|
2020-09-21 17:45:51 -04:00
|
|
|
msgid "expected '%q' but got '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-28 18:22:15 -04:00
|
|
|
#: shared-bindings/canio/CAN.c
|
|
|
|
msgid "expected '%q' or '%q' but got '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "expected ':' after format specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
msgid "expected tuple/list"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modthread.c
|
|
|
|
msgid "expecting a dict for keyword args"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "expecting an assembler instruction"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "expecting just a value for set"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "expecting key:value for dict"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-07 18:16:16 -05:00
|
|
|
#: shared-bindings/msgpack/__init__.c
|
|
|
|
msgid "ext_hook is not a function"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "extra keyword arguments given"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "extra positional arguments given"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-01-13 18:29:34 -05:00
|
|
|
#: shared-bindings/audiocore/WaveFile.c shared-bindings/audiomp3/MP3Decoder.c
|
2021-03-19 18:22:00 -04:00
|
|
|
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/synthio/__init__.c
|
Implement gifio.GifWriter
This involves:
* Adding a new "L8" colorspace for colorconverters
* factoring out displayio_colorconverter_convert_pixel
* Making a minimal "colorspace only" version of displayio for the
unix port (testing purposes)
* fixing an error message
I only tested writing B&W animated images, with the following script:
```python
import displayio
import gifio
with gifio.GifWriter("foo.gif", 64, 64, displayio.Colorspace.L8) as g:
for i in range(0, 256, 14):
data = bytes([i, 255-i] * 32 + [255-i, i] * 32) * 32
print("add_frame")
g.add_frame(data)
# expected to raise an error, buffer is not big enough
with gifio.GifWriter("/dev/null", 64, 64, displayio.Colorspace.L8) as g:
g.add_frame(bytes([3,3,3]))
```
2021-10-21 12:45:11 -04:00
|
|
|
#: shared-module/gifio/GifWriter.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "file must be a file opened in byte mode"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-27 14:30:01 -04:00
|
|
|
#: shared-bindings/traceback/__init__.c
|
|
|
|
msgid "file write is not available"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/storage/__init__.c
|
|
|
|
msgid "filesystem must provide mount method"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "first argument must be a callable"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "first argument must be a function"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "first argument must be a tuple of ndarrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/transform.c extmod/ulab/code/numpy/vector.c
|
2020-03-16 21:59:52 -04:00
|
|
|
msgid "first argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c
|
|
|
|
msgid "first argument to super() must be type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-10 14:00:21 -04:00
|
|
|
#: extmod/ulab/code/scipy/linalg/linalg.c
|
|
|
|
msgid "first two arguments must be ndarrays"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-02-04 11:24:37 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "flattening order must be either 'C', or 'F'"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "flip argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint.c
|
|
|
|
msgid "float too big"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/nativeglue.c
|
|
|
|
msgid "float unsupported"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/_stage/Text.c
|
|
|
|
msgid "font must be 2048 bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "format requires a dict"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-20 04:10:16 -04:00
|
|
|
#: shared-bindings/microcontroller/Processor.c
|
|
|
|
msgid "frequency is read-only for this board"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objdeque.c
|
|
|
|
msgid "full"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
2021-04-20 21:04:23 -04:00
|
|
|
msgid "function doesn't take keyword arguments"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
#, c-format
|
|
|
|
msgid "function expected at most %d arguments, got %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c py/objnamedtuple.c
|
|
|
|
msgid "function got multiple values for argument '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "function has the same sign at the ends of interval"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "function is defined for ndarrays only"
|
2020-04-27 21:35:11 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/carray/carray.c
|
|
|
|
msgid "function is implemented for ndarrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/argcheck.c
|
|
|
|
#, c-format
|
|
|
|
msgid "function missing %d required positional arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c
|
|
|
|
msgid "function missing keyword-only argument"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c
|
|
|
|
msgid "function missing required keyword argument '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c
|
|
|
|
#, c-format
|
|
|
|
msgid "function missing required positional argument #%d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-04 14:58:43 -04:00
|
|
|
#: py/argcheck.c py/bc.c py/objnamedtuple.c shared-bindings/time/__init__.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "function takes %d positional arguments but %d were given"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/time/__init__.c
|
|
|
|
msgid "function takes exactly 9 arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objgenerator.c
|
|
|
|
msgid "generator already executing"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objgenerator.c
|
|
|
|
msgid "generator ignored GeneratorExit"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/objgenerator.c py/runtime.c
|
2021-04-20 21:04:23 -04:00
|
|
|
msgid "generator raised StopIteration"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/_stage/Layer.c
|
|
|
|
msgid "graphic must be 2048 bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-18 11:54:19 -04:00
|
|
|
#: extmod/moduhashlib.c
|
|
|
|
msgid "hash is final"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/moduheapq.c
|
|
|
|
msgid "heap must be a list"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "identifier redefined as global"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "identifier redefined as nonlocal"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "import * not at module level"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-22 20:55:39 -04:00
|
|
|
#: py/persistentcode.c
|
|
|
|
msgid "incompatible native .mpy architecture"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "incomplete format"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "incomplete format key"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/modubinascii.c
|
|
|
|
msgid "incorrect padding"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/transform.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "index is out of bounds"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/pulseio/PulseIn.c py/obj.c
|
2021-03-16 13:21:50 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "index out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
msgid "indices must be integers"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-02-04 11:24:37 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "indices must be integers, slices, or Boolean lists"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/I2C.c
|
|
|
|
msgid "init I2C"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "initial values must be iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 11:37:15 -04:00
|
|
|
#: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c
|
|
|
|
msgid "initial_value length is wrong"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "inline assembler must be a function"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "input and output shapes are not compatible"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2021-01-04 13:55:39 -05:00
|
|
|
msgid "input argument must be an integer, a tuple, or a list"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/fft/fft_tools.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input array length must be power of 2"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "input arrays are not compatible"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/poly.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input data must be an iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
|
|
|
msgid "input dtype must be float or complex"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input matrix is asymmetric"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
2021-06-10 14:00:21 -04:00
|
|
|
#: extmod/ulab/code/scipy/linalg/linalg.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input matrix is singular"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
|
|
|
msgid "input must be 1- or 2-d"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/carray/carray.c
|
|
|
|
msgid "input must be a 1D ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-06-10 14:00:21 -04:00
|
|
|
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "input must be a dense ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/user/user.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "input must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/carray/carray.c
|
|
|
|
msgid "input must be an ndarray, or a scalar"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "input must be one-dimensional"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-03 14:22:28 -04:00
|
|
|
#: extmod/ulab/code/ulab_tools.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input must be square matrix"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input must be tuple, list, range, or ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/poly.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "input vectors must be of equal length"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/poly.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "inputs are not iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/parsenum.c
|
|
|
|
msgid "int() arg 2 must be >= 2 and <= 36"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/approx.c
|
2021-06-10 14:00:21 -04:00
|
|
|
msgid "interp is defined for 1D iterables of equal length"
|
2020-06-01 20:11:20 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-10-21 22:50:17 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "interval must be in range %s-%s"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-22 20:55:39 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "invalid architecture"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-14 16:03:00 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
#, c-format
|
2021-09-18 16:40:27 -04:00
|
|
|
msgid "invalid bits_per_pixel %d, must be, 1, 2, 4, 8, 16, 24, or 32"
|
2021-03-14 16:03:00 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "invalid element size %d for bits_per_pixel %d\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
#, c-format
|
|
|
|
msgid "invalid element_size %d, must be, 1, 2, or 4"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-27 14:30:01 -04:00
|
|
|
#: shared-bindings/traceback/__init__.c
|
|
|
|
msgid "invalid exception"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/modframebuf.c
|
|
|
|
msgid "invalid format"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "invalid format specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-10-15 06:38:01 -04:00
|
|
|
#: shared-bindings/wifi/Radio.c
|
|
|
|
msgid "invalid hostname"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "invalid micropython decorator"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-04 16:11:57 -04:00
|
|
|
#: ports/espressif/common-hal/esp32_camera/Camera.c
|
|
|
|
msgid "invalid setting"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/random/__init__.c
|
|
|
|
msgid "invalid step"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c py/parse.c
|
|
|
|
msgid "invalid syntax"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parsenum.c
|
|
|
|
msgid "invalid syntax for integer"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parsenum.c
|
|
|
|
#, c-format
|
|
|
|
msgid "invalid syntax for integer with base %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parsenum.c
|
|
|
|
msgid "invalid syntax for number"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-10 02:46:14 -04:00
|
|
|
#: py/objexcept.c
|
2021-08-04 02:52:21 -04:00
|
|
|
msgid "invalid traceback"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c
|
|
|
|
msgid "issubclass() arg 1 must be a class"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "issubclass() arg 2 must be a class or a tuple of classes"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "iterations did not converge"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "join expects a list of str/bytes objects consistent with self object"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/argcheck.c
|
|
|
|
msgid "keyword argument(s) not yet implemented - use normal args instead"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c
|
|
|
|
msgid "keywords must be strings"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c py/emitinlinextensa.c
|
|
|
|
msgid "label '%q' not defined"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "label redefined"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/stream.c
|
|
|
|
msgid "length argument not allowed for this type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-25 00:37:42 -04:00
|
|
|
#: shared-bindings/audiomixer/MixerVoice.c
|
2019-08-19 22:40:31 -04:00
|
|
|
msgid "level must be between 0 and 1"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objarray.c
|
|
|
|
msgid "lhs and rhs should be compatible"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "local '%q' has type '%q' but source is '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "local '%q' used before type known"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/vm.c
|
|
|
|
msgid "local variable referenced before assignment"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objint.c
|
|
|
|
msgid "long int not supported in this build"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-10-21 12:30:33 -04:00
|
|
|
msgid "loopback + silent mode not supported by peripheral"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-03 10:42:48 -05:00
|
|
|
#: ports/espressif/common-hal/mdns/Server.c
|
|
|
|
msgid "mDNS already initialized"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/espressif/common-hal/mdns/Server.c
|
|
|
|
msgid "mDNS only works with built-in WiFi"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-09 09:19:46 -04:00
|
|
|
#: py/parse.c
|
|
|
|
msgid "malformed f-string"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/_stage/Layer.c
|
|
|
|
msgid "map buffer too small"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modmath.c shared-bindings/math/__init__.c
|
|
|
|
msgid "math domain error"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
2020-03-16 21:59:52 -04:00
|
|
|
msgid "matrix is not positive definite"
|
2022-02-12 14:34:57 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-26 19:12:33 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Descriptor.c
|
2019-08-29 18:48:52 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Characteristic.c
|
|
|
|
#: ports/nrf/common-hal/_bleio/Descriptor.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "max_length must be 0-%d when fixed_length is %s"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
2022-07-07 14:28:54 -04:00
|
|
|
msgid "maximum number of dimensions is "
|
2020-11-15 12:48:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "maximum recursion depth exceeded"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-10-25 16:21:13 -04:00
|
|
|
msgid "maxiter must be > 0"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/optimize/optimize.c
|
2020-10-25 16:21:13 -04:00
|
|
|
msgid "maxiter should be > 0"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2021-01-04 13:55:39 -05:00
|
|
|
msgid "median argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
#, c-format
|
|
|
|
msgid "memory allocation failed, allocating %u bytes"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "memory allocation failed, heap is locked"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-20 16:17:38 -05:00
|
|
|
#: py/objarray.c
|
|
|
|
msgid "memoryview: length is not a multiple of itemsize"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-22 14:29:35 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
|
|
|
msgid "mode must be complete, or reduced"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinimport.c
|
|
|
|
msgid "module not found"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-11-02 01:30:11 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/Monitor.c
|
|
|
|
msgid "monitor init failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/poly.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "more degrees of freedom than data points"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "multiple *x in assignment"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "multiple bases have instance lay-out conflict"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "multiple inheritance not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "must raise an object"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "must use keyword argument for key function"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "name '%q' is not defined"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "name not defined"
|
2019-03-27 23:47:58 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-05-10 18:20:47 -04:00
|
|
|
#: py/asmthumb.c
|
|
|
|
msgid "native method too big"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "native yield"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
#, c-format
|
|
|
|
msgid "need more than %d values to unpack"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 21:04:23 -04:00
|
|
|
#: py/modmath.c
|
|
|
|
msgid "negative factorial"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
|
|
|
|
msgid "negative power with no float support"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint_mpz.c py/runtime.c
|
|
|
|
msgid "negative shift count"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "no SD card"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/vm.c
|
|
|
|
msgid "no active exception to reraise"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "no binding for nonlocal found"
|
2019-01-31 12:38:29 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-12-07 18:16:16 -05:00
|
|
|
#: shared-module/msgpack/__init__.c
|
|
|
|
msgid "no default packer"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-05-10 18:20:47 -04:00
|
|
|
#: extmod/modurandom.c
|
|
|
|
msgid "no default seed"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinimport.c
|
|
|
|
msgid "no module named '%q'"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-22 15:59:17 -04:00
|
|
|
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
|
2021-09-06 06:58:00 -04:00
|
|
|
#: shared-bindings/paralleldisplay/ParallelBus.c
|
2019-08-22 15:59:17 -04:00
|
|
|
msgid "no reset pin available"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "no response from SD card"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-08-04 16:11:57 -04:00
|
|
|
#: ports/espressif/common-hal/esp32_camera/Camera.c py/objobject.c py/runtime.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "no such attribute"
|
2019-07-09 08:43:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 00:18:05 -04:00
|
|
|
#: shared-bindings/usb_hid/__init__.c
|
|
|
|
msgid "non-Device in %q"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-10 14:31:57 -05:00
|
|
|
#: ports/espressif/common-hal/_bleio/Connection.c
|
2019-10-21 22:50:17 -04:00
|
|
|
#: ports/nrf/common-hal/_bleio/Connection.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "non-UUID found in service_uuids_whitelist"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "non-default argument follows default argument"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/modubinascii.c
|
|
|
|
msgid "non-hex digit found"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "non-keyword arg after */**"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "non-keyword arg after keyword arg"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-12-23 22:52:27 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "non-zero timeout must be > 0.01"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
|
|
|
msgid "non-zero timeout must be >= interval"
|
2020-11-15 12:48:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-29 18:48:52 -04:00
|
|
|
#: shared-bindings/_bleio/UUID.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "not a 128-bit UUID"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "not all arguments converted during string formatting"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "not enough arguments for format string"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/carray/carray_tools.c
|
|
|
|
msgid "not implemented for complex dtype"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "number of points must be at least 2"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-30 18:47:35 -05:00
|
|
|
#: py/builtinhelp.c
|
|
|
|
msgid "object "
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "object '%s' isn't a tuple or list"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "object doesn't support item assignment"
|
2018-10-10 23:19:10 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "object doesn't support item deletion"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
|
|
|
msgid "object has no len"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "object isn't subscriptable"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "object not an iterator"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c py/runtime.c
|
|
|
|
msgid "object not callable"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/sequence.c shared-bindings/displayio/Group.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "object not in sequence"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
msgid "object not iterable"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
2021-05-04 14:40:55 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "object of type '%s' has no len()"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
msgid "object with buffer protocol required"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/modubinascii.c
|
|
|
|
msgid "odd-length string"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-06-06 19:54:02 -04:00
|
|
|
#: supervisor/shared/web_workflow/web_workflow.c
|
|
|
|
msgid "off"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/utils/utils.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "offset is too large"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-12-23 22:52:27 -05:00
|
|
|
#: shared-bindings/dualbank/__init__.c
|
|
|
|
msgid "offset must be >= 0"
|
2020-11-15 12:48:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2021-01-14 15:16:11 -05:00
|
|
|
msgid "offset must be non-negative and no greater than buffer length"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c py/objstrunicode.c
|
|
|
|
msgid "offset out of bounds"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/nrf/common-hal/audiobusio/PDMIn.c
|
|
|
|
msgid "only bit_depth=16 is supported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/nrf/common-hal/audiobusio/PDMIn.c
|
|
|
|
msgid "only sample_rate=16000 is supported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
|
2020-12-14 11:49:01 -05:00
|
|
|
#: shared-bindings/alarm/SleepMemory.c shared-bindings/nvm/ByteArray.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "only slices with step=1 (aka None) are supported"
|
2019-01-13 23:52:05 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-23 15:26:42 -04:00
|
|
|
#: py/vm.c
|
|
|
|
msgid "opcode"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "operands could not be broadcast together"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-22 14:29:35 -04:00
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
|
|
|
msgid "operation is defined for 2D arrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/numpy/linalg/linalg.c
|
|
|
|
msgid "operation is defined for ndarrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "operation is implemented for 1D Boolean arrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "operation is not implemented on ndarrays"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "operation is not supported for given type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/modbuiltins.c
|
|
|
|
msgid "ord expects a character"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modbuiltins.c
|
|
|
|
#, c-format
|
|
|
|
msgid "ord() expected a character, but string of length %d found"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-03 14:22:28 -04:00
|
|
|
#: extmod/ulab/code/utils/utils.c
|
|
|
|
msgid "out array is too small"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/utils/utils.c
|
|
|
|
msgid "out must be a float dense array"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-bindings/displayio/Bitmap.c
|
|
|
|
msgid "out of range of source"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-10 12:37:27 -05:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c shared-bindings/displayio/Bitmap.c
|
2020-08-21 22:40:46 -04:00
|
|
|
msgid "out of range of target"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint_mpz.c
|
|
|
|
msgid "overflow converting long int to machine word"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-12 16:11:02 -04:00
|
|
|
#: py/modstruct.c
|
|
|
|
#, c-format
|
|
|
|
msgid "pack expected %d items for packing (got %d)"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
|
|
|
|
msgid "palette must be 32 bytes long"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/displayio/Palette.c
|
|
|
|
msgid "palette_index should be an int"
|
2018-10-05 15:01:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitinlinextensa.c
|
|
|
|
msgid "parameters must be registers in sequence a2 to a5"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
msgid "parameters must be registers in sequence r0 to r3"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-16 13:21:50 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c shared-bindings/displayio/Bitmap.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "pixel coordinates out of bounds"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-03-27 23:47:58 -04:00
|
|
|
#: shared-bindings/displayio/Bitmap.c
|
|
|
|
msgid "pixel value requires too many bits"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-05-09 19:45:55 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
|
2019-03-27 23:47:58 -04:00
|
|
|
msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
|
|
|
|
Merge tag 'v1.18'
Boosted performance, board.json metadata, more mimxrt, rp2, samd features
This release of MicroPython sees a boost to the overall performance of the
VM and runtime. This is achieved by the addition of an optional cache to
speed up general hash table lookups, as well as a fast path in the VM for
the LOAD_ATTR opcode on instance types. The new configuration options are
MICROPY_OPT_MAP_LOOKUP_CACHE and MICROPY_OPT_LOAD_ATTR_FAST_PATH. As part
of this improvement the MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE option has
been removed, which provided a similar map caching mechanism but with the
cache stored in the bytecode, which made it not useful on bare metal ports.
The new mechanism is measured to be at least as good as the old one,
applies to more map lookups, has a constant RAM overhead, and applies to
native code as well as bytecode.
These performance options are enabled on the esp32, mimxrt, rp2, stm32 and
unix ports. For esp32 and mimxrt some code is also moved to RAM to further
boost performance. On stm32, performance increases by about 20% for
benchmarks that are heavy on name lookups, like misc_pystone.py and
misc_raytrace.py. On esp32 performance can increase by 2-3x, and on mimxrt
it is up to 6x.
All boards in all ports now have a board.json metadata file, which is used
to automatically build firmware and generate a webpage for that board
(among other possibilities). Auto-build scripts have been added for this
purpose and they build all esp32, mimxrt, rp2, samd and stm32 boards. The
generated output is available at https://micropython.org/download.
Support for FROZEN_DIR and FROZEN_MPY_DIR has been deprecated for some time
and was finally removed in this release. Instead of these, FROZEN_MANIFEST
can be used. The io.resource_stream() function is also removed, replaced
by the pure Python version in micropython-lib.
The search order for importing frozen Python modules is now controlled by
the ".frozen" entry in sys.path. This string is added by default in the
second position in sys.path. User code should adjust sys.path depending on
the desired behaviour. Putting ".frozen" first in sys.path will speed up
importing frozen modules.
A bug in multiple precision integers with bitwise of -0 was fixed in commit
2c139bbf4e5724ab253b5b034ce925e04267a9c4.
The platform module has been added to allow querying the compiler and
underlying SDK/HAL/libc version. This is enabled on esp32, mimxrt and
stm32 ports.
The mpremote tool now supports seek, flush, mkdir and rmdir on PC-mounted
filesystems. And a help command has been added.
The documentation has seen many additions and improvements thanks (for a
second time) to the Google Season of Docs project. The rp2 documentation
now includes a reference for PIO assembly instructions, a PIO quick
reference and a PIO tutorial. The random and stm modules have been
documented, along with sys.settrace, manifest.py files and mpremote. There
is also now more detail about the differences between MicroPython and
standard Python 3.5 and above.
The esp32 port sees support for ESP32-S3 SoCs, and new boards GENERIC_S3,
ESP32_S2_WROVER, LOLIN_S2_MINI, LOLIN_S2_PICO and UM_FEATHERS2NEO. The PWM
driver has been improved and now supports all PWM timers and channels, and
the duty_u16() and duty_ns() methods, and it keeps the duty constant when
changing frequency. The machine.bitstream() function has been improved to
use RMT, with an option to select the original bit-banging implementation.
The mimxrt port gained new hardware features: SDRAM and SD card support, as
well as network integration with a LAN driver. The machine.WDT class was
added along with the machine.reset_cause(), machine.soft_reset(),
machine.unique_id() add machine.bitstream() functions. DHT sensor support
was added, and f-strings were enabled.
The rp2 port now has support for networking, and bluetooth using NimBLE.
The Nina-W10 WiFi/BT driver is fully integrated and supported by the new
Arduino Nano RP2040 connect board. I2S protocol support is added along
with a machine.bitstream() driver and DHT sensor support. The PWM driver
had a bug fix with the accuracy of setting/getting the frequency, and the
duty value is now retained when changing the frequency.
On the samd port there is now support for the internal flash being a block
device, and for filesystems and the os module. Pin and LED classes have
been implemented. There are more time functions, more Python features
enabled, and the help() function is added. SEEED_WIO_TERMINAL and
SEEED_XIAO board definitions are now available.
The stm32 port now has support for F427, F479 and H7A3(Q)/H7B3(Q) MCUs, and
new board definitions for VCC_GND_H743VI, OLIMEX_H407, MIKROE_QUAIL,
GARATRONIC_PYBSTICK26_F411, STM32H73B3I_DK. A bug was fixed in the SPI
driver where a SPI transfer could fail if the CYW43 WiFi driver was also
active at the same time.
On the windows port the help() function has been enabled, and support for
build variants added, to match the unix port.
The zephyr port upgraded Zephyr to v2.7.0.
The change in code size since the previous release for various ports is
(absolute and percentage change in the text section):
bare-arm: -1520 -2.605%
minimal x86: -2256 -1.531%
unix x64: -457 -0.089%
unix nanbox: -925 -0.204%
stm32: +312 +0.079% PYBV10
cc3200: -176 -0.096%
esp8266: +532 +0.076% GENERIC
esp32: +27096 +1.820% GENERIC
nrf: -212 -0.121% pca10040
rp2: +9904 +2.051% PICO
samd: +35332 +33.969% ADAFRUIT_ITSYBITSY_M4_EXPRESS
The changes that dominate these numbers are:
- bare-arm, minimal: use of new MICROPY_CONFIG_ROM_LEVEL_MINIMUM option and
subsequent disabling of remaining optional features
- unix, cc3200, nrf: general code size reductions of the core
- stm32: performance improvements, addition of platform module
- esp8266: enabling f-strings
- esp32: use of -O2 instead of -Os
- rp2: machine.I2S and other new hardware features
- samd: filesystem support and other new hardware features
Thanks to everyone who contributed to this release: Alan Dragomirecký,
Alexey Shvetsov, Andrew Leech, Andrew Scheller, Antoine Aubert, Boris
Vinogradov, Chris Boudacoff, Chris Fiege, Christian Decker, Damien George,
Daniel Gorny, Dave Hylands, David Michieli, Emilie Feral, Frédéric Pierson,
gibbonsc, Henk Vergonet, iabdalkader, Ihor Nehrutsa, Jan Hrudka, Jan Staal,
jc_.kim, Jim Mussared, Jonathan Hogg, Laurens Valk, leo chung, Lorenzo
Cappelletti, Magnus von Wachenfeldt, Matt Trentini, Matt van de Werken,
Maureen Helm, Michael Bentley, Michael Buesch, Mike Causer, Mike Teachman,
Mike Wadsten, Ned Konz, NitiKaur, oli, patrick, Patrick Van Oosterwijck,
Peter Boin, Peter Hinch, Peter van der Burg, Philipp Ebensberger, Pooya
Moradi, retsyo, robert-hh, roland van straten, Scott Armitage, Sebastian
Wicki, Seon Rozenblum, Sergei Silnov, Simon Baatz, Stewart Bonnick, stijn,
Tobias Thyrrestrup, Tomas Vanek, YoungJoon Chun.
What follows is a detailed list of changes, generated from the git commit
history, and organised into sections.
Main components
===============
all:
- remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE
- update Python formatting to latest Black version 21.12b0
- remove support for FROZEN_DIR and FROZEN_MPY_DIR
py core:
- parse: simplify parse nodes representing a list
- emitnative: ensure load_subscr does not clobber existing REG_RET
- mpconfig.h: define initial templates for "feature levels"
- vm: add a fast path for LOAD_ATTR on instance types
- map: add an optional cache of (map+index) to speed up map lookups
- builtinimport: forward all debug printing to MICROPY_DEBUG_PRINTER
- add wrapper macros so hot VM functions can go in fast code location
- runtime: fix crash when exc __new__ doesn't return an exc instance
- mpconfig.h: define the "extra" feature level
- mpconfig.h: revert MICROPY_REPL_INFO to disabled at all levels
- gc: add hook to run code during time consuming GC operations
- showbc: print unary-op string when dumping bytecode
- modsys: replace non-ASCII quote char with ASCII char
- runtime: allow types to use both .attr and .locals_dict
- lexer: support nested [] and {} characters within f-string params
- objfun.h: remove obsolete comments about entries in extra_args
- builtinimport: refactor module importing
- showbc: fix printing of raw bytecode header on nanbox builds
- modio: remove io.resource_stream function
- only search frozen modules when '.frozen' is found in sys.path
- mkrules.cmake: set frozen preprocessor defs early
- runtime: allow initialising sys.path/argv with defaults
- mpstate.h: only include sys.path/argv objects in state when enabled
- mpz: fix bugs with bitwise of -0 by ensuring all 0's are positive
- qstr: reset mpstate.qstr_last_chunk before raising an error
- modbuiltins: add additional macro for extending builtins
- mpconfig.h: define MICROPY_PY_USSL_FINALISER only if not defined
extmod:
- machine_i2c: make SoftI2C configurable via macro option
- machine_spi: make SoftSPI configurable via macro option
- modonewire: make _onewire module configurable via macro option
- machine_pwm: factor out machine.PWM bindings to common code
- move modnetwork and modusocket from stm32 to extmod
- modnetwork: add STA_IF and AP_IF constants
- modnetwork: add extended socket state
- modusocket: add read/write stream methods to socket object
- modnetwork: define network interfaces in port config files
- network_cyw43: make consistent use of STA and AP constants
- modnetwork: remove STM32 references
- modnetwork: remove modnetwork socket u_state member
- mpbthci.h: add mp_bluetooth_hci_uart_any prototype
- nimble: add nimble CMake fragment file
- add platform module
- moduplatform: improve implementation for PC ports
- vfs_posix_file: support MP_STREAM_POLL in vfs_posix_file_ioctl
- modbluetooth: add connection interval to gap_connect
- nimble: update to NimBLE v1.4
- nimble: remove workaround for OS_ENOMEM
- uasyncio: fix gather returning exceptions from a cancelled task
- uplatform: remove unused definitions
- uplatform: use generic custom platform string
- network_ninaw10: fix scan list order to match other NICs
- modbluetooth: support gap_connect(None) to cancel a connection
- modure: redirect regex debug printing to mp_printf
- network_ninaw10: fix config of AP mode
- network_ninaw10: disable active connections before connecting
- network_ninaw10: make NIC state persistent
- network_ninaw10: return -1 on timeout from recv/send
- network_ninaw10: make recv/recvfrom interchangeable
- moduplatform: detect xtensa arch
- modusocket: allow setting timeout on unbound sockets
- modusocket: initialise accepted socket state
- network_ninaw10: use socket timeout preset in modusocket
- modbluetooth: fix conditional compilation of ringbuf_put_uuid
- modbluetooth: put declaration of connect_cancel in correct place
shared:
- libc/string0: don't include string.h, and provide __memcpy_chk
- runtime/pyexec: cleanup EXEC_FLAG flag constants
drivers:
- ninaw10: add ublox Nina-W10 WiFi/BT module driver
- lsm6dsox: add LSM6DSOX driver and examples
- neopixel: avoid heap alloc in fill()
- ninaw10: fix BSSID byte order, and add null byte to ESSID
- ninaw10/nina_wifi_drv: fix DNS resolution
mpy-cross: no changes specific to this component/port
lib:
- mynewt-nimble: switch to the MicroPython fork of NimBLE
- asf4: point submodule to latest commit on circuitpython branch
- update pico-sdk to 1.3.0 and tinyusb to 0.12.0
- stm32lib: update library for L4 v1.17.0, new G4, WL, and MMC fixes
- stm32lib: update library for fix to F7 USB HS
Support components
==================
docs:
- library/os.rst: clarify littlefs requirements for block erase
- library/bluetooth.rst: update incorrect link to gatts_write
- make.bat: change Windows output dir from '_build' to 'build'
- library/machine.I2S.rst: specify that I2S.shift args are kw-only
- esp32: explain ESP32 PWM modes, timers, and channels
- rp2: add reference for PIO assembly instructions, and PIO tutorial
- library/random.rst: document the random module
- reference/mpremote.rst: add docs for mpremote
- reference/manifest.rst: add docs for manifest.py files
- library/stm.rst: document the stm module
- esp32/tutorial: add an example of peripheral control via regs
- rp2/general.rst: fix typo with missing spaces
- library/framebuf.rst: adjust dimensions in example
- library/rp2.rst: update function asm_pio_encode to add sideset_opt
- reference/filesystem.rst: add detail on how to use littlefs fuse
- rp2/quickref.rst: add section on PIO
- library/sys.rst: add docs for sys.settrace
- esp8266/tutorial: fix comments of FrameBuffer examples
- library/uasyncio.rst: detail exception behaviour in cancel/timeout
- library/machine.Timer.rst: document 'id' as positional-only arg
- library/machine.SPI.rst: add example SPI usage
- library/machine.Timer.rst: document `period` and `callback` args
- library/machine.Pin.rst: add Pin.ANALOG mode constant
- remove trailing spaces and convert tabs to spaces
- library/sys.rst: add note about '.frozen' as an entry in sys.path
- differences: document details of new PEPs/features in Python 3.5+
- update copyright year range to include 2022
- esp32: update RMT quickref example to match latest code
examples: no changes specific to this component/port
tests:
- perf_bench: use math.log instead of math.log2
- basics: add tests for type-checking subclassed exc instances
- micropython/const.py: add comment about required config for test
- cpydiff: clarify f-string diffs regarding concatenation
- basics/int_big_cmp.py: add more tests for big-int comparison
- extmod: skip uselect_poll_udp when poll() is not available
tools:
- autobuild: add auto build for GENERIC_C3_USB
- ci.sh: use IDF v4.4 as part of esp32 CI and build GENERIC_S3
- autobuild: add the MIMXRT1010_EVK board to autobuild
- ci.sh: use a specific ESP IDF v4.4 commit
- autobuild: add script to generate website board metadata
- dfu.py: make tool work with python3 when parsing DFU files
- autobuild: automatically build all mimxrt, rp2 and samd boards
- autobuild: automatically build all stm32 boards
- mpremote: implement seek and flush in ioctl method
- autobuild: automatically build all esp32 boards
- upip.py: support == to specify exact package version
- makemanifest.py: make str conversion compatible with Python 2
- makemanifest.py: merge make-frozen.py
- mpremote: add mkdir and rmdir to RemoteFS
- mpremote: add help command
- mpremote: add link to mpremote docs URL in help message
- upip.py: skip '.frozen' entry in sys.path for install path
- autobuild: build esp8266 OTA image with GENERIC_1M board
- ci.sh: upgrade Zephyr docker image to v0.21.0
- ci.sh: build zephyr nucleo_wb55rg to test zephyr bluetooth build
CI:
- workflows: use Python 3.8 for macos workflow
- workflows: add new workflow to build ports download metadata
The ports
=========
all ports:
- add board.json for all boards
- add images, features and urls to board.json
- add '.frozen' as the first entry in sys.path
- move '.frozen' to second entry in sys.path
bare-arm port:
- mpconfigport.h: use MICROPY_CONFIG_ROM_LEVEL_MINIMUM
- mpconfigport.h: disable remaining optional features
cc3200 port: no changes specific to this component/port
esp8266 port:
- boards/GENERIC: enable f-strings
- extract qstr from object when comparing keys in config()
- etshal.h: remove unneeded function declarations
- allow building a board to any dest directory
esp32 port:
- boards: add new FeatherS2-Neo board definition
- machine_timer: use tx_update member for IDF 4.4 and above
- add support for ESP32-S3 SoCs
- boards: add new GENERIC_S3 board definition
- machine_hw_spi: fix hardware SPI DMA channels for S2/S3
- boards: add board definition for ESP32-S2-WROVER module
- boards: add LOLIN_S2_MINI ESP32-S2 board
- machine_pwm: add support for all PWM timers and channels
- README: updated readme with req IDF vers for ESP32-S2, C3 and S3
- usb: add USB host connection detection for CDC serial output
- machine_pin: block out IO16 and IO17 when using SPIRAM on ESP32
- mpthreadport: fix TCB cleanup function so thread_mutex is ready
- main: add option for a board to hook code into startup sequence
- split out WLAN code from modnetwork.c to network_wlan.c
- enable optimisations and move code to iRAM to boost performance
- usb: improve speed of USB CDC output
- add specific deploy_s2.md instructions for esp32-s2
- boards/LOLIN_S2_MINI: add image to board.json
- boards: update board and deploy metadata for UM_xxx boards
- usb: further improve speed of USB CDC output
- boards/LOLIN_S2_PICO: add LOLIN_S2_PICO board definition files
- boards/ESP32_S2_WROVER: link to specific deploy_s2 instructions
- support building with latest IDF v5
- in machine_i2s, send null samples in underflow situations
- in machine_i2s, make object reference arrays root pointers
- add SDCard support for S3, and a GENERIC_S3_SPIRAM board
- boards/GENERIC_S3: enable BLE on ESP32 S3
- machine_pwm: implement duty_u16() and duty_ns() PWM methods
- extract qstr from object when comparing keys in config()
- machine_pin: make GPIO 26 usable for S2,S3 if SPIRAM not config'd
- machine_hw_spi: fix SPI default pins reordering on ESP32-S2/S3
- machine_hw_spi: set proper default SPI(id=1) pins on S2,S3 and C3
- machine_hw_spi: set proper default SPI(id=2) pins on S2 and S3
- boards: remove SPI pin defaults from GENERIC S2/S3 boards
- modnetwork: synchronize WiFi AUTH_xxx constants with IDF values
- machine_pwm: keep duty constant when changing frequency
- machine_bitstream: replace bit-bang code with RMT-based driver
- machine_i2s: add support for ESP-IDF 4.4
- machine_bitstream: fix signal duplication on output pins
- esp32: enable platform module with IDF version
- boards/GENERIC_D2WD: build with -Os optimisation
- esp32_rmt: install RMT driver on core 1
- machine_bitstream: reinstate bitstream bit-bang implementation
javascript port: no changes specific to this component/port
mimxrt port:
- sdcard: implement SDCard driver
- machine_bitstream: add bitstream function to machine module
- rework flash configuration
- sdram: add SDRAM support
- eth: add LAN support and integrate the network module
- modmachine: implement machine.WDT() and machine.reset_cause()
- boards: fix the D14/D15 pin assignment of MIMXRT1050/60/64_EVK
- hal: remove duplicate definitions from flexspi_hyper_flash.h
- dma_channel: fix the DMA channel management
- fix cycle counter for time.ticks_cpu() and machine.bitstream()
- add dht_readinto() to the mimxrt module, and freeze dht.py
- extend the help() message and README.md
- mpconfigport.h: enable f-strings
- modmachine: implement soft_reset() and unique_id() functions
- boards/make-pins.py: allow empty lines and comments in pins.csv
- optimize the runtime speed
- enable the platform module
- boards: add the Seeed ARCH MIX board
- boards: update the board.json files and add deploy_xx.md files
- fix mp_hal_quiet_timing_enter()/exit() so timer still runs
- support PWM using the FLEXPWM and QTMR modules
- define UART 0 on MIMXRT boards
- support selection of PHY type and address
- re-enable eth checksum creation by HW
- fix a tiny unnoticed bug in sdcard.c
- add a driver for the DP83848 PHY device
- refactor the reading of the machine id
- enable ticks_cpu at boot time for NDEBUG builds only
- use -Og instead of -O0 for DEBUG builds
- tidy up the board flash related files
- hal: allow readSampleClkSrc to be configured by a board
- enable MICROPY_PY_USSL_FINALISER
minimal port:
- mpconfigport.h: use MICROPY_CONFIG_ROM_LEVEL_MINIMUM
- Makefile: don't force a 32-bit build
- mpconfigport.h: disable features that are not needed
nrf port:
- Makefile: improve Black Magic Probe commands
- main: use VFS helper function to mount fs and chdir
pic16bit port: no changes specific to this component/port
powerpc port: no changes specific to this component/port
qemu-arm port: no changes specific to this component/port
rp2 port:
- mpconfigport.h: enable heapq module
- add support for bluetooth module using NimBLE
- add framework for networking
- mpconfigport.h: use the "extra" feature level
- enable optimisations (comp goto, map cache, fast attr)
- machine_i2s: add I2S protocol support
- add support for Nina-W10 WiFi/BT module
- boards: add support for Arduino Nano RP2040
- machine_bitstream: implement the machine.bitstream driver
- boards: add neopixel.py to manifest.py
- rp2_pio: support exec with sideset
- boards/PIMORONI_PICOLIPO_16MB: fix 16MB flash size
- boards: add PYBSTICK26 RP2040 board definition
- machine_uart: handle and clear UART RX timeout IRQ
- boards/ARDUINO_NANO_RP2040_CONNECT: set default I2C pins
- machine_pwm: fix PWM frequency setting
- machine_pwm: keep duty value when changing the frequency
- add support for DHT11 and DHT22 sensors
- CMakeLists.txt: allow a board to override PICO_BOARD
- boards/GARATRONIC_PYBSTICK26_RP2040: use correct pico-sdk board cfg
samd port:
- integrate latest asf4, add help, more time funcs and uPy features
- samd_soc: allow a board to configure the low-level MCU config
- add internal flash block device, filesystem and uos support
- add Pin and LED classes, and machine.unique_id
- boards/ADAFRUIT_FEATHER_M0_EXPRESS: update for flash and pins
- boards/ADAFRUIT_ITSYBITSY_M4_EXPRESS: update for flash and pins
- boards/MINISAM_M4: update for flash and pins
- boards/ADAFRUIT_TRINKET_M0: update for flash and pins
- boards/SAMD21_XPLAINED_PRO: update for flash and pins
- boards/SEEED_WIO_TERMINAL: add new board definition
- boards/SEEED_XIAO: add new board definition
- README.md: update README to reflect new features and boards
stm32 port:
- pin: enable GPIO clock of pin if it's constructed without init
- main: don't unconditionally enable GPIO A,B,C,D clocks
- boards/VCC_GND_H743VI: add board definition for VCC_GND_H743VI
- boards/OLIMEX_E407: add Ethernet RMII support
- boards/LEGO_HUB_NO6: remove user paths from cc2564 init file
- boards: remove trailing spaces, and add newline at end of file
- add basic support for STM32H750
- add support for H7A3(Q)/H7B3(Q), and STM32H73B3I_DK board defn
- suggest putting code in main.py not boot.py
- boards/make-pins.py: allow a CPU pin to be hidden
- boards/make-pins.py: allow empty lines and comments in pins.csv
- dma: add functions for external users of DMA to enable clock
- enable LOAD_ATTR fast path, and map lookup caching on >M0
- boards: add OLIMEX H407 board definition
- enable platform module
- extended flash filesystem space to 512K on H743 boards
- boards/NUCLEO_H743ZI: enable VfsLfs2 on NUCLEO_H743ZI(2) boards
- boards: add PF11-BOOT0 to stm32f091_af.csv
- machine_i2c: use hardware I2C for STM32H7
- sdram: enforce gcc opt, and use volatile and DSB in sdram_test
- usbd_cdc_interface: allow a board to hook into USBD CDC RX events
- mpbthciport: allow a board to hook BT HCI poll functions
- pendsv: allow a board to add entries for pendsv_schedule_dispatch
- boards: add images to board.json for Adafruit and VCC_GND boards
- uart: fix race conditions and clearing status in IRQ handler
- mpconfigport.h: use the "extra" feature level
- in machine_i2s, send null samples in underflow situations
- in machine_i2s, make object reference arrays root pointers
- led: support an extra 2 LEDs in board configuration
- boards/MIKROE_CLICKER2_STM32: add more detail to board.json
- boards: add new board MikroElektronika Quail, and F427 support
- main: run optional frozen module at boot
- sdio: don't explicitly disable DMA2 on deinit of SDIO
- dma: make DMA2_Stream3 exclusive to SDIO when CYW43 enabled
- boards: build NUCLEO_WB55 and STM32F769DISC without mboot enabled
- boards: add PYBSTICK26 F411 board definition
- boards/NADHAT_PYBF405: rename board to GARATRONIC_NADHAT_F405
- usb: use a table of allowed values to simplify usb_mode get/set
- boards/NUCLEO_WB55: update rfcore_firmwre for new WS
- flashbdev: support generic flash storage config via link symbols
- boards: convert F413,F439,H743,L4xx,WB55 to new flash FS config
- add support for F479 MCUs
- include HAL MMC code in F4 builds
- boards/make-pins.py: use cpu pins to define static alt-fun macros
- boards/NUCLEO_WB55: fix LED ordering
- boards/LEGO_HUB_NO6: set filesystem label as HUB_NO6
- boards: remove stray '+' characters at start of lines in ld files
- boards: remove unused MICROPY_HW_ENABLE_TIMER config
- boards: enable MICROPY_HW_ENABLE_SERVO on various boards
- update L4 code to build with latest stm32lib and L4 HAL 1.17.0
- main: call sdcard_init when only MICROPY_HW_ENABLE_MMCARD enabled
- sdcard: support 8-bit wide SDIO bus
- sdcard: add config option to force MM card capacity
- factoryreset: init vfs flags before calling pyb_flash_init_vfs
- qspi: fix typo in address comment
- boards/make-pins.py: generate empty ADC table if needed
- boards/OLIMEX_H407: fix typo in OLIMEX H407 board.json
- network_wiznet5k: fix build error with wiznet5k and lwip enabled
- enable MICROPY_PY_USSL_FINALISER
teensy port:
- switch to use manifest.py instead of FROZEN_DIR
unix port:
- enable LOAD_ATTR fast path, and map lookup caching
- modusocket: support MP_STREAM_POLL in unix socket_ioctl
- modos: add support for uos.urandom(n)
- coverage: change remaining printf to mp_printf
- Makefile: use -Og instead of -O0 for debug builds
windows port:
- README: remove unsupported Python instructions for Cygwin
- mpconfigport.h: enable help and help("modules")
- add support for build variants to windows port
- run tests via Makefile
- appveyor: build both standard and dev variants
- appveyor: build mpy-cross only once for mingw-w64
- msvc: run qstr preprocessing phase in parallel
zephyr port:
- mphalport.h: remove unused and unimplemented C-level pin API
- increase minimum CMake version to 3.20.0
- update include path to reboot.h
- get UART console device from devicetree instead of Kconfig
- use CONFIG_USB_DEVICE_STACK for conditional USB device support
- upgrade to Zephyr v2.7.0
- modbluetooth_zephyr: provide dummy connect_cancel function
2022-02-15 13:36:26 -05:00
|
|
|
#: extmod/vfs_posix_file.c
|
|
|
|
msgid "poll on file not available on win32"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/pulseio/PulseIn.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "pop from an empty PulseIn"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
2020-01-18 14:57:57 -05:00
|
|
|
#: ports/cxd56/common-hal/pulseio/PulseIn.c
|
2019-08-19 10:25:36 -04:00
|
|
|
#: ports/nrf/common-hal/pulseio/PulseIn.c
|
2021-03-14 16:03:00 -04:00
|
|
|
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
2020-08-04 14:58:43 -04:00
|
|
|
#: ports/stm/common-hal/pulseio/PulseIn.c py/objdict.c py/objlist.c py/objset.c
|
|
|
|
#: shared-bindings/ps2io/Ps2.c
|
2020-08-04 19:34:59 -04:00
|
|
|
msgid "pop from empty %q"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-02-05 13:24:55 -05:00
|
|
|
#: shared-bindings/socketpool/Socket.c shared-bindings/ssl/SSLSocket.c
|
|
|
|
msgid "port must be >= 0"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint_mpz.c
|
|
|
|
msgid "pow() 3rd argument cannot be 0"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objint_mpz.c
|
|
|
|
msgid "pow() with 3 arguments requires integers"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-29 20:01:41 -04:00
|
|
|
#: ports/espressif/boards/adafruit_qtpy_esp32_pico/mpconfigboard.h
|
|
|
|
msgid "pressing BOOT button at start up.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-08 16:53:53 -04:00
|
|
|
#: ports/espressif/boards/adafruit_feather_esp32_v2/mpconfigboard.h
|
|
|
|
msgid "pressing SW38 button at start up.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-29 20:01:41 -04:00
|
|
|
#: ports/espressif/boards/hardkernel_odroid_go/mpconfigboard.h
|
|
|
|
msgid "pressing VOLUME button at start up.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-04-05 12:08:44 -04:00
|
|
|
#: ports/espressif/boards/adafruit_qtpy_esp32c3/mpconfigboard.h
|
2022-07-29 20:01:41 -04:00
|
|
|
#: ports/espressif/boards/beetle-esp32-c3/mpconfigboard.h
|
2022-07-08 16:53:53 -04:00
|
|
|
#: ports/espressif/boards/lolin_c3_mini/mpconfigboard.h
|
2022-04-05 12:08:44 -04:00
|
|
|
#: supervisor/shared/safe_mode.c
|
2020-09-29 01:44:30 -04:00
|
|
|
msgid "pressing boot button at start up.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.h
|
|
|
|
#: ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h
|
|
|
|
#: ports/atmel-samd/boards/circuitplayground_express_displayio/mpconfigboard.h
|
|
|
|
#: ports/atmel-samd/boards/escornabot_makech/mpconfigboard.h
|
|
|
|
#: ports/atmel-samd/boards/meowmeow/mpconfigboard.h
|
|
|
|
msgid "pressing both buttons at start up.\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-19 13:40:49 -04:00
|
|
|
#: ports/nrf/boards/aramcon2_badge/mpconfigboard.h
|
|
|
|
msgid "pressing the left button at start up\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-03-04 15:23:06 -05:00
|
|
|
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
|
|
|
msgid "pull masks conflict with direction masks"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: extmod/modutimeq.c
|
|
|
|
msgid "queue overflow"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-03-09 09:19:46 -04:00
|
|
|
#: py/parse.c
|
Merge tag 'v1.17' into merge-1.17
F-strings, new machine.I2S class, ESP32-C3 support and LEGO_HUB_NO6 board
This release of MicroPython adds support for f-strings (PEP-498), with a
few limitations compared to normal Python. F-strings are essentially
syntactic sugar for "".format() and make formatting strings a lot more
convenient. Other improvements to the core runtime include pretty printing
OSError when it has two arguments (an errno code and a string), scheduling
of KeyboardInterrupt on the main thread, and support for a single argument
to the optimised form of StopIteration.
In the machine module a new I2S class has been added, with support for
esp32 and stm32 ports. This provides a consistent API for transmit and
receive of audio data in blocking, non-blocking and asyncio-based
operation. Also, the json module has support for the "separators" argument
in the dump and dumps functions, and framebuf now includes a way to blit
between frame buffers of different formats using a palette. A new,
portable machine.bitstream function is also added which can output a stream
of bits with configurable timing, and is used as the basis for driving
WS2812 LEDs in a common way across ports.
There has been some restructuring of the repository directory layout, with
all third-party code now in the lib/ directory. And a new top-level
directory shared/ has been added with first-party code that was previously
in lib/ moved there.
The docs have seen further improvement with enhancements and additions to
the rp2 parts, as well as a new quick reference for the zephyr port.
The terms master/slave have been replaced with controller/peripheral,
mainly relating to I2C and SPI usage. And u-module references have been
replaced with just the module name without the u-prefix to help clear up
the intended usage of modules in MicroPython.
For the esp8266 and esp32 ports, hidden networks are now included in WLAN
scan results. On the esp32 the RMT class is enhanced with idle_level and
write_pulses modes. There is initial support for ESP32-C3 chips with
GENERIC_C3 and GENERIC_C3_USB boards.
The javascript port has had its Makefile and garbage collector
implementation reworked so it compiles and runs with latest the Emscripten
using asyncify.
The mimxrt port sees the addition of hardware I2C and SPI support, as well
as some additional methods to the machine module. There is also support
for Hyperflash chips.
The nrf port now has full VFS storage support, enables source-line on
traceback, and has .mpy features consistent with other ports.
For the rp2 port there is now more configurability for boards, and more
boards added.
The stm32 port has a new LEGO_HUB_NO6 board definition with detailed
information how to get this LEGO Hub running stock MicroPython. There is
also now support to change the CPU frequency on STM32WB MCUs. And USBD_xxx
descriptor options have been renamed to MICROPY_HW_USB_xxx.
Thanks to everyone who contributed to this release: Amir Gonnen, Andrew
Scheller, Bryan Tong Minh, Chris Wilson, Damien George, Daniel Mizyrycki,
David Lechner, David P, Fernando, finefoot, Frank Pilhofer, Glenn Ruben
Bakke, iabdalkader, Jeff Epler, Jim Mussared, Jonathan Hogg, Josh Klar,
Josh Lloyd, Julia Hathaway, Krzysztof Adamski, Matúš Olekšák, Michael
Weiss, Michel Bouwmans, Mike Causer, Mike Teachman, Ned Konz, NitiKaur,
oclyke, Patrick Van Oosterwijck, Peter Hinch, Peter Züger, Philipp
Ebensberger, robert-hh, Roberto Colistete Jr, Sashkoiv, Seon Rozenblum,
Tobias Thyrrestrup, Tom McDermott, Will Sowerbutts, Yonatan Goldschmidt.
What follows is a detailed list of changes, generated from the git commit
history, and organised into sections.
Main components
===============
all:
- fix signed shifts and NULL access errors from -fsanitize=undefined
- update to point to files in new shared/ directory
py core:
- mpstate: make exceptions thread-local
- mpstate: schedule KeyboardInterrupt on main thread
- mperrno: add MP_ECANCELED error code
- makeqstrdefs.py: don't include .h files explicitly in preprocessing
- mark unused arguments from bytecode decoding macros
- objexcept: pretty print OSError also when it has 2 arguments
- makeversionhdr: add --tags arg to git describe
- vm: simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode
- objexcept: make mp_obj_exception_get_value support subclassed excs
- support single argument to optimised MP_OBJ_STOP_ITERATION
- introduce and use mp_raise_type_arg helper
- modsys: optimise sys.exit for code size by using exception helpers
- objexcept: make mp_obj_new_exception_arg1 inline
- obj: fix formatting of comment for mp_obj_is_integer
- emitnative: reuse need_reg_all func in need_stack_settled
- emitnative: ensure stack settling is safe mid-branch
- runtime: fix bool unary op for subclasses of native types
- builtinimport: fix condition for including do_execute_raw_code()
- mkrules: automatically build mpy-cross if it doesn't exist
- implement partial PEP-498 (f-string) support
- lexer: clear fstring_args vstr on lexer free
- mkrules.mk: do submodule sync in "make submodules"
extmod:
- btstack: add missing call to mp_bluetooth_hci_uart_deinit
- btstack: check that BLE is active before performing operations
- uasyncio: get addr and bind server socket before creating task
- axtls-include: add axtls_os_port.h to customise axTLS
- update for move of crypto-algorithms, re1.5, uzlib to lib
- moduselect: conditionally compile select()
- nimble: fix leak in l2cap_send if send-while-stalled
- btstack/btstack.mk: use -Wno-implicit-fallthrough, not =0
- utime: always invoke mp_hal_delay_ms when >= to 0ms
- modbluetooth: clamp MTU values to 32->UINT16_MAX
- nimble: allow modbluetooth binding to hook "sent HCI packet"
- nimble: add "memory stalling" mechanism for l2cap_send
- uasyncio: in open_connection use address info in socket creation
- modujson: add support for dump/dumps separators keyword-argument
- modlwip: fix close and clean up of UDP and raw sockets
- modbluetooth: add send_update arg to gatts_write
- add machine.bitstream
- modframebuf: enable blit between different formats via a palette
lib:
- tinyusb: update to version 0.10.1
- pico-sdk: update to version 1.2.0
- utils/stdout_helpers: make mp_hal_stdout_tx_strn_cooked efficient
- axtls: switch to repo at micropython/axtls
- axtls: update to latest axtls 2.1.5 wih additional commits
- re1.5: move re1.5 code from extmod to lib
- uzlib: move uzlib code from extmod to lib
- crypto-algorithms: move crypto-algorithms code from extmod to lib
- update README's based on contents of these dirs
drivers:
- neopixel: add common machine.bitstream-based neopixel module
- neopixel: optimize fill() for speed
- neopixel: reduce code size of driver
- cyw43: fix cyw43_deinit so it can be called many times in a row
- cyw43: make wifi join fail if interface is not active
mpy-cross:
- disable stack check when building with Emscripten
Support components
==================
docs:
- library: document new esp32.RMT features and fix wait_done
- library: warn that ustruct doesn't handle spaces in format strings
- esp8266/tutorial: change flash mode from dio to dout
- replace master/slave with controller/peripheral in I2C and SPI
- rp2: enhance quickref and change image to Pico pinout
- rp2: update general section to give a brief technical overview
- library/utime.rst: clarify behaviour and precision of sleep ms/us
- library/uasyncio.rst: document stream readexactly() method
- library/machine.I2S.rst: fix use of sd pin in examples
- zephyr: add quick reference for the Zephyr port
- library/zephyr: add libraries specific to the Zephyr port
- templates: add unix and zephyr quickref links to top-index
- rename ufoo.rst to foo.rst
- replace ufoo with foo in all docs
- library/index.rst: clarify module naming and purpose
- library/builtins.rst: add module title
- library/network.rst: simplify socket import
- add docs for machine.bitstream and neopixel module
- library: fix usage of :term: for frozen module reference
- esp8266: use monospace for software tools
- reference: mention that slicing a memoryview causes allocation
examples: no changes specific to this component/port
tests:
- extmod: make uasyncio_heaplock test more deterministic
- cpydiff/modules_struct_whitespace_in_format: run black
- extmod/ujson: add tests for dump/dumps separators argument
- run-multitests.py: add broadcast and wait facility
- multi_bluetooth/ble_subscribe.py: add test for subscription
- extmod/vfs_fat_finaliser.py: ensure alloc at never-used GC blocks
- basics: split f-string debug printing to separate file with .exp
- pybnative: make while.py test run on boards without pyb.delay
tools:
- autobuild: add scripts to build release firmware
- remove obsolete build-stm-latest.sh script
- ci.sh: run apt-get update in ci_powerpc_setup
- makemanifest.py: allow passing flags to mpy-tool.py
- autobuild: add mimxrt port to build scripts for nightly builds
- pyboard.py: add cmd-line option to make soft reset configurable
- mpremote: swap order of PID and VID in connect-list output
- ci.sh: build unix dev variant as part of macOS CI
- ci.sh: build GENERIC_C3 board as part of esp32 CI
- autobuild: use separate IDF version to build newer esp32 SoCs
- autobuild: add FeatherS2 and TinyS2 to esp32 auto builds
- mpremote: add seek whence for mounted files
- mpremote: raise OSError on unsupported RemoteFile.seek
- autobuild: add the MIMXRT1050_EVKB board to the daily builds
- ci.sh: add mpy-cross build to nrf port
- codeformat.py: include ports/nrf/modules/nrf in code formatting
- gen-cpydiff.py: don't rename foo to ufoo in diff output
- autobuild: add auto build for Silicognition wESP32
- mpremote: fix connect-list in case VID/PID are None
- mpremote: add "devs" shortcut for "connect list"
- mpremote: remove support for pyb.USB_VCP in/out specialisation
- autobuild: don't use "-B" for make, it's already a fresh build
- pyboard.py: move --no-exclusive/--soft-reset out of mutex group
- pyboard.py: make --no-follow use same variable as --follow
- pyboard.py: add --exclusive to match --no-exclusive
- pyboard.py: make --no-soft-reset consistent with other args
- uncrustify: force 1 newline at end of file
- mpremote: bump version to 0.0.6
CI:
- workflows: add workflow to build and test javascript port
- workflows: switch from Coveralls to Codecov
- workflows: switch from lcov to gcov
- workflows: add workflow to build and test unix dev variant
The ports
=========
all ports:
- use common mp_hal_stdout_tx_strn_cooked instead of custom one
- update for move of crypto-algorithms, uzlib to lib
- rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID
bare-arm port: no changes specific to this component/port
cc3200 port: no changes specific to this component/port
esp8266 port:
- add __len__ to NeoPixel driver to support iterating
- Makefile: add more libm files to build
- include hidden networks in WLAN.scan results
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
esp32 port:
- boards/sdkconfig.base: disable MEMPROT_FEATURE to alloc from IRAM
- add __len__ to NeoPixel driver to support iterating
- main: allow MICROPY_DIR to be overridden
- esp32_rmt: fix RMT looping in newer IDF versions
- esp32_rmt: enhance RMT with idle_level and write_pulses modes
- add new machine.I2S class for I2S protocol support
- machine_spi: calculate actual attained baudrate
- machine_hw_spi: use a 2 item SPI queue for long transfers
- machine_dac: add MICROPY_PY_MACHINE_DAC option, enable by default
- machine_i2s: add MICROPY_PY_MACHINE_I2S option, enable by default
- fix use of mp_int_t, size_t and uintptr_t
- add initial support for ESP32C3 SoCs
- boards/GENERIC_C3: add generic C3-based board
- modmachine: release the GIL in machine.idle()
- mphalport: always yield at least once in delay_ms
- machine_uart: add flow kw-arg to enable hardware flow control
- boards: add Silicognition wESP32 board configuration
- mpconfigport.h: enable reverse and inplace special methods
- include hidden networks in WLAN.scan results
- makeimg.py: get bootloader and partition offset from sdkconfig
- enable MICROPY_PY_FSTRINGS by default
- machine_hw_spi: release GIL during transfers
- machine_pin: make check for non-output pins respect chip variant
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
- boards: add GENERIC_C3_USB board with USB serial/JTAG support
javascript port:
- rework Makefile and GC so it works with latest Emscripten
- Makefile: suppress compiler errors from array bounds
- Makefile: change variable to EXPORTED_RUNTIME_METHODS
mimxrt port:
- move calc_weekday helper function to timeutils
- machine_spi: add the SPI class to the machine module
- moduos: seed the PRNG on boot using the TRNG
- boards: set vfs partition start to 1 MBbyte
- main: skip running main.py if boot.py failed
- main: extend the information returned by help()
- mimxrt_flash: remove commented-out code
- modmachine: add a few minor methods to the machine module
- machine_led: use mp_raise_msg_varg helper
- machine_i2c: add hardware-based machine.I2C to machine module
- add support for Hyperflash chips
- boards: add support for the MIMXRT1050_EVKB board
- machine_pin: implement ioctl for Pin
minimal port:
- Makefile: add support for building with user C modules
nrf port:
- modules: replace master/slave with controller/peripheral in SPI
- boards/common.ld: calculate unused flash region
- modules/nrf: add new nrf module with flash block device
- drivers: add support for using flash block device with SoftDevice
- mpconfigport.h: expose nrf module when MICROPY_PY_NRF is set
- README: update README.md to reflect internal file systems
- mpconfigport.h: tune FAT FS configuration
- Makefile: add _fs_size linker script override from make
- modules/uos: allow a board to configure MICROPY_VFS_FAT/LFS1/LFS2
- mpconfigport.h: enable MICROPY_PY_IO_FILEIO when an FS is enabled
- qstrdefsport.h: add entries for in-built FS mount points
- main: add auto mount and auto format hook for internal flash FS
- boards: enable needed features for FAT/LFS1/LFS2
- facilitate use of freeze manifest
- boards: set FROZEN_MANIFEST blank when SD present on nrf51 targets
- modules/scripts: add file system formatting script
- Makefile: set default manifest file for all targets
- mphalport: add dummy function for mp_hal_time_ns()
- boards: enable MICROPY_VFS_LFS2 for all target boards
- modules/uos: add ilistdir to uos module
- modules/nrf: add function to enable/disable DCDC
- enable source line on tracebacks
- set .mpy features consistent with documentation and other ports
pic16bit port: no changes specific to this component/port
powerpc port: no changes specific to this component/port
qemu-arm port: no changes specific to this component/port
rp2 port:
- use 0=Monday datetime convention in RTC
- machine_rtc: in RTC.datetime, compute weekday automatically
- CMakeLists.txt: suppress compiler errors for pico-sdk and tinyusb
- tusb_config.h: set CFG_TUD_CDC_EP_BUFSIZE to 256
- machine_uart: add hardware flow control support
- machine_uart: allow overriding default machine UART pins
- machine_i2c: allow boards to configure I2C pins using new macros
- machine_spi: allow boards to configure SPI pins using new macros
- machine_uart: fix poll ioctl to also check hardware FIFO
- machine_uart: fix read when FIFO has chars but ringbuf doesn't
- tusb_port: allow boards to configure USB VID and PID
- boards/ADAFRUIT_FEATHER_RP2040: configure custom VID/PID
- boards/ADAFRUIT_FEATHER_RP2040: configure I2C/SPI default pins
- boards/SPARKFUN_PROMICRO: configure UART/I2C/SPI default pins
- boards/SPARKFUN_THINGPLUS: configure I2C/SPI default pins
- boards: add Adafruit ItsyBitsy RP2040
- boards: add Adafruit QT Py RP2040
- boards: add Pimoroni Pico LiPo 4MB
- boards: add Pimoroni Pico LiPo 16MB
- boards: add Pimoroni Tiny 2040
- CMakeLists.txt: allow a board's cmake to set the manifest path
- enable MICROPY_PY_FSTRINGS by default
- Makefile: add "submodules" target, to match other ports
- rp2_flash: disable IRQs while calling flash_erase/program
- CMakeLists.txt: add option to enable double tap reset to bootrom
- mpconfigport.h: allow boards to add root pointers
samd port:
- add support for building with user C modules
stm32 port:
- softtimer: add soft_timer_reinsert() helper function
- mpbthciport: change from systick to soft-timer for BT scheduling
- provide a custom BTstack runloop that integrates with soft timer
- usb: make irq's default trigger enable all events
- boardctrl: skip running main.py if boot.py had an error
- sdio: fix undefined reference to DMA stream on H7
- dma: add DMAMUX configuration for H7 to fix dma_nohal_init
- main: call mp_deinit() at end of main
- adc: allow using ADC12 and ADC3 for H7
- adc: define the ADC instance used for internal channels
- adc: simplify and generalise how pin_adcX table is defined
- add new machine.I2S class for I2S protocol support
- boards/NUCLEO_F446RE: fix I2C1 pin assignment to match datasheet
- replace master/slave with controller/peripheral in I2C and SPI
- systick: always POLL_HOOK when delaying for milliseconds
- sdram: make SDRAM test cache aware, and optional failure with msg
- boards/NUCLEO_F446RE: enable CAN bus support
- boards: add support for SparkFun STM32 MicroMod Processor board
- uart: fix LPUART1 baudrate set/get
- uart: support low baudrates on LPUART1
- boards/STM32F429DISC: set correct UART2 pins and add UART3/6
- boards/NUCLEO_F439ZI: add board definition for NUCLEO_F439ZI
- boards/LEGO_HUB_NO6: add board definition for LEGO_HUB_NO6
- Makefile: update to only pull in used Bluetooth library
- README.md: update supported MCUs, and submodule and mboot use
- usbd_desc: rename USBD_xxx descriptor opts to MICROPY_HW_USB_xxx
- usbd_cdc_interface: rename USBD_CDC_xx opts to MICROPY_HW_USB_xx
- powerctrl: support changing frequency on WB MCUs
- boards/NUCLEO_H743ZI2: add modified version of NUCLEO_H743ZI
- mbedtls: fix compile warning about uninitialized val
- enable MICROPY_PY_FSTRINGS by default
- add implementation of machine.bitstream
- Makefile: allow GIT_SUBMODULES and LIBS to be extended
- stm32_it: support TIM17 IRQs on WB MCUs
- disable computed goto on constrained boards
- storage: make extended-block-device more configurable
- boards/LEGO_HUB_NO6: change SPI flash storage to use hardware SPI
- boards/LEGO_HUB_NO6: skip first 1MiB of SPI flash for storage
- boards/LEGO_HUB_NO6: add make commands to backup/restore firmware
teensy port: no changes specific to this component/port
unix port:
- modffi: add option to lock GC in callback, and cfun access
- Makefile: add back LIB_SRC_C to list of object files
- variants: enable help and help("modules") on standard and dev
- Makefile: disable error compression on arm-linux-gnueabi-gcc
windows port:
- Makefile: add .exe extension to executables name
- appveyor: update to VS 2017 and use Python 3.8 for build/test
zephyr port:
- machine_spi: add support for hardware SPI
2021-10-14 15:38:41 -04:00
|
|
|
msgid "raw f-strings are not supported"
|
2020-03-09 09:19:46 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/numpy/fft/fft_tools.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "real and imaginary parts must be of equal length"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/builtinimport.c
|
|
|
|
msgid "relative import"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/obj.c
|
|
|
|
#, c-format
|
|
|
|
msgid "requested length %d but object has length %d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray_operators.c
|
|
|
|
msgid "results cannot be cast to specified type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/compile.c
|
|
|
|
msgid "return annotation must be an identifier"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "return expected '%q' but got '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "rgb_pins[%d] duplicates another pin assignment"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-04-17 19:44:35 -04:00
|
|
|
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
2020-04-14 19:25:21 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "rgb_pins[%d] is not on the same port as clock"
|
|
|
|
msgstr ""
|
2019-08-19 10:25:36 -04:00
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "roll argument must be an ndarray"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "rsplit(None,n)"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/audiocore/RawSample.c
|
|
|
|
msgid ""
|
|
|
|
"sample_source buffer must be a bytearray or array of type 'h', 'H', 'b' or "
|
|
|
|
"'B'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
|
2021-02-23 19:32:16 -05:00
|
|
|
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "sampling rate out of range"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/modmicropython.c
|
2021-04-23 15:26:42 -04:00
|
|
|
msgid "schedule queue full"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
Merge tag 'v1.17' into merge-1.17
F-strings, new machine.I2S class, ESP32-C3 support and LEGO_HUB_NO6 board
This release of MicroPython adds support for f-strings (PEP-498), with a
few limitations compared to normal Python. F-strings are essentially
syntactic sugar for "".format() and make formatting strings a lot more
convenient. Other improvements to the core runtime include pretty printing
OSError when it has two arguments (an errno code and a string), scheduling
of KeyboardInterrupt on the main thread, and support for a single argument
to the optimised form of StopIteration.
In the machine module a new I2S class has been added, with support for
esp32 and stm32 ports. This provides a consistent API for transmit and
receive of audio data in blocking, non-blocking and asyncio-based
operation. Also, the json module has support for the "separators" argument
in the dump and dumps functions, and framebuf now includes a way to blit
between frame buffers of different formats using a palette. A new,
portable machine.bitstream function is also added which can output a stream
of bits with configurable timing, and is used as the basis for driving
WS2812 LEDs in a common way across ports.
There has been some restructuring of the repository directory layout, with
all third-party code now in the lib/ directory. And a new top-level
directory shared/ has been added with first-party code that was previously
in lib/ moved there.
The docs have seen further improvement with enhancements and additions to
the rp2 parts, as well as a new quick reference for the zephyr port.
The terms master/slave have been replaced with controller/peripheral,
mainly relating to I2C and SPI usage. And u-module references have been
replaced with just the module name without the u-prefix to help clear up
the intended usage of modules in MicroPython.
For the esp8266 and esp32 ports, hidden networks are now included in WLAN
scan results. On the esp32 the RMT class is enhanced with idle_level and
write_pulses modes. There is initial support for ESP32-C3 chips with
GENERIC_C3 and GENERIC_C3_USB boards.
The javascript port has had its Makefile and garbage collector
implementation reworked so it compiles and runs with latest the Emscripten
using asyncify.
The mimxrt port sees the addition of hardware I2C and SPI support, as well
as some additional methods to the machine module. There is also support
for Hyperflash chips.
The nrf port now has full VFS storage support, enables source-line on
traceback, and has .mpy features consistent with other ports.
For the rp2 port there is now more configurability for boards, and more
boards added.
The stm32 port has a new LEGO_HUB_NO6 board definition with detailed
information how to get this LEGO Hub running stock MicroPython. There is
also now support to change the CPU frequency on STM32WB MCUs. And USBD_xxx
descriptor options have been renamed to MICROPY_HW_USB_xxx.
Thanks to everyone who contributed to this release: Amir Gonnen, Andrew
Scheller, Bryan Tong Minh, Chris Wilson, Damien George, Daniel Mizyrycki,
David Lechner, David P, Fernando, finefoot, Frank Pilhofer, Glenn Ruben
Bakke, iabdalkader, Jeff Epler, Jim Mussared, Jonathan Hogg, Josh Klar,
Josh Lloyd, Julia Hathaway, Krzysztof Adamski, Matúš Olekšák, Michael
Weiss, Michel Bouwmans, Mike Causer, Mike Teachman, Ned Konz, NitiKaur,
oclyke, Patrick Van Oosterwijck, Peter Hinch, Peter Züger, Philipp
Ebensberger, robert-hh, Roberto Colistete Jr, Sashkoiv, Seon Rozenblum,
Tobias Thyrrestrup, Tom McDermott, Will Sowerbutts, Yonatan Goldschmidt.
What follows is a detailed list of changes, generated from the git commit
history, and organised into sections.
Main components
===============
all:
- fix signed shifts and NULL access errors from -fsanitize=undefined
- update to point to files in new shared/ directory
py core:
- mpstate: make exceptions thread-local
- mpstate: schedule KeyboardInterrupt on main thread
- mperrno: add MP_ECANCELED error code
- makeqstrdefs.py: don't include .h files explicitly in preprocessing
- mark unused arguments from bytecode decoding macros
- objexcept: pretty print OSError also when it has 2 arguments
- makeversionhdr: add --tags arg to git describe
- vm: simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode
- objexcept: make mp_obj_exception_get_value support subclassed excs
- support single argument to optimised MP_OBJ_STOP_ITERATION
- introduce and use mp_raise_type_arg helper
- modsys: optimise sys.exit for code size by using exception helpers
- objexcept: make mp_obj_new_exception_arg1 inline
- obj: fix formatting of comment for mp_obj_is_integer
- emitnative: reuse need_reg_all func in need_stack_settled
- emitnative: ensure stack settling is safe mid-branch
- runtime: fix bool unary op for subclasses of native types
- builtinimport: fix condition for including do_execute_raw_code()
- mkrules: automatically build mpy-cross if it doesn't exist
- implement partial PEP-498 (f-string) support
- lexer: clear fstring_args vstr on lexer free
- mkrules.mk: do submodule sync in "make submodules"
extmod:
- btstack: add missing call to mp_bluetooth_hci_uart_deinit
- btstack: check that BLE is active before performing operations
- uasyncio: get addr and bind server socket before creating task
- axtls-include: add axtls_os_port.h to customise axTLS
- update for move of crypto-algorithms, re1.5, uzlib to lib
- moduselect: conditionally compile select()
- nimble: fix leak in l2cap_send if send-while-stalled
- btstack/btstack.mk: use -Wno-implicit-fallthrough, not =0
- utime: always invoke mp_hal_delay_ms when >= to 0ms
- modbluetooth: clamp MTU values to 32->UINT16_MAX
- nimble: allow modbluetooth binding to hook "sent HCI packet"
- nimble: add "memory stalling" mechanism for l2cap_send
- uasyncio: in open_connection use address info in socket creation
- modujson: add support for dump/dumps separators keyword-argument
- modlwip: fix close and clean up of UDP and raw sockets
- modbluetooth: add send_update arg to gatts_write
- add machine.bitstream
- modframebuf: enable blit between different formats via a palette
lib:
- tinyusb: update to version 0.10.1
- pico-sdk: update to version 1.2.0
- utils/stdout_helpers: make mp_hal_stdout_tx_strn_cooked efficient
- axtls: switch to repo at micropython/axtls
- axtls: update to latest axtls 2.1.5 wih additional commits
- re1.5: move re1.5 code from extmod to lib
- uzlib: move uzlib code from extmod to lib
- crypto-algorithms: move crypto-algorithms code from extmod to lib
- update README's based on contents of these dirs
drivers:
- neopixel: add common machine.bitstream-based neopixel module
- neopixel: optimize fill() for speed
- neopixel: reduce code size of driver
- cyw43: fix cyw43_deinit so it can be called many times in a row
- cyw43: make wifi join fail if interface is not active
mpy-cross:
- disable stack check when building with Emscripten
Support components
==================
docs:
- library: document new esp32.RMT features and fix wait_done
- library: warn that ustruct doesn't handle spaces in format strings
- esp8266/tutorial: change flash mode from dio to dout
- replace master/slave with controller/peripheral in I2C and SPI
- rp2: enhance quickref and change image to Pico pinout
- rp2: update general section to give a brief technical overview
- library/utime.rst: clarify behaviour and precision of sleep ms/us
- library/uasyncio.rst: document stream readexactly() method
- library/machine.I2S.rst: fix use of sd pin in examples
- zephyr: add quick reference for the Zephyr port
- library/zephyr: add libraries specific to the Zephyr port
- templates: add unix and zephyr quickref links to top-index
- rename ufoo.rst to foo.rst
- replace ufoo with foo in all docs
- library/index.rst: clarify module naming and purpose
- library/builtins.rst: add module title
- library/network.rst: simplify socket import
- add docs for machine.bitstream and neopixel module
- library: fix usage of :term: for frozen module reference
- esp8266: use monospace for software tools
- reference: mention that slicing a memoryview causes allocation
examples: no changes specific to this component/port
tests:
- extmod: make uasyncio_heaplock test more deterministic
- cpydiff/modules_struct_whitespace_in_format: run black
- extmod/ujson: add tests for dump/dumps separators argument
- run-multitests.py: add broadcast and wait facility
- multi_bluetooth/ble_subscribe.py: add test for subscription
- extmod/vfs_fat_finaliser.py: ensure alloc at never-used GC blocks
- basics: split f-string debug printing to separate file with .exp
- pybnative: make while.py test run on boards without pyb.delay
tools:
- autobuild: add scripts to build release firmware
- remove obsolete build-stm-latest.sh script
- ci.sh: run apt-get update in ci_powerpc_setup
- makemanifest.py: allow passing flags to mpy-tool.py
- autobuild: add mimxrt port to build scripts for nightly builds
- pyboard.py: add cmd-line option to make soft reset configurable
- mpremote: swap order of PID and VID in connect-list output
- ci.sh: build unix dev variant as part of macOS CI
- ci.sh: build GENERIC_C3 board as part of esp32 CI
- autobuild: use separate IDF version to build newer esp32 SoCs
- autobuild: add FeatherS2 and TinyS2 to esp32 auto builds
- mpremote: add seek whence for mounted files
- mpremote: raise OSError on unsupported RemoteFile.seek
- autobuild: add the MIMXRT1050_EVKB board to the daily builds
- ci.sh: add mpy-cross build to nrf port
- codeformat.py: include ports/nrf/modules/nrf in code formatting
- gen-cpydiff.py: don't rename foo to ufoo in diff output
- autobuild: add auto build for Silicognition wESP32
- mpremote: fix connect-list in case VID/PID are None
- mpremote: add "devs" shortcut for "connect list"
- mpremote: remove support for pyb.USB_VCP in/out specialisation
- autobuild: don't use "-B" for make, it's already a fresh build
- pyboard.py: move --no-exclusive/--soft-reset out of mutex group
- pyboard.py: make --no-follow use same variable as --follow
- pyboard.py: add --exclusive to match --no-exclusive
- pyboard.py: make --no-soft-reset consistent with other args
- uncrustify: force 1 newline at end of file
- mpremote: bump version to 0.0.6
CI:
- workflows: add workflow to build and test javascript port
- workflows: switch from Coveralls to Codecov
- workflows: switch from lcov to gcov
- workflows: add workflow to build and test unix dev variant
The ports
=========
all ports:
- use common mp_hal_stdout_tx_strn_cooked instead of custom one
- update for move of crypto-algorithms, uzlib to lib
- rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID
bare-arm port: no changes specific to this component/port
cc3200 port: no changes specific to this component/port
esp8266 port:
- add __len__ to NeoPixel driver to support iterating
- Makefile: add more libm files to build
- include hidden networks in WLAN.scan results
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
esp32 port:
- boards/sdkconfig.base: disable MEMPROT_FEATURE to alloc from IRAM
- add __len__ to NeoPixel driver to support iterating
- main: allow MICROPY_DIR to be overridden
- esp32_rmt: fix RMT looping in newer IDF versions
- esp32_rmt: enhance RMT with idle_level and write_pulses modes
- add new machine.I2S class for I2S protocol support
- machine_spi: calculate actual attained baudrate
- machine_hw_spi: use a 2 item SPI queue for long transfers
- machine_dac: add MICROPY_PY_MACHINE_DAC option, enable by default
- machine_i2s: add MICROPY_PY_MACHINE_I2S option, enable by default
- fix use of mp_int_t, size_t and uintptr_t
- add initial support for ESP32C3 SoCs
- boards/GENERIC_C3: add generic C3-based board
- modmachine: release the GIL in machine.idle()
- mphalport: always yield at least once in delay_ms
- machine_uart: add flow kw-arg to enable hardware flow control
- boards: add Silicognition wESP32 board configuration
- mpconfigport.h: enable reverse and inplace special methods
- include hidden networks in WLAN.scan results
- makeimg.py: get bootloader and partition offset from sdkconfig
- enable MICROPY_PY_FSTRINGS by default
- machine_hw_spi: release GIL during transfers
- machine_pin: make check for non-output pins respect chip variant
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
- boards: add GENERIC_C3_USB board with USB serial/JTAG support
javascript port:
- rework Makefile and GC so it works with latest Emscripten
- Makefile: suppress compiler errors from array bounds
- Makefile: change variable to EXPORTED_RUNTIME_METHODS
mimxrt port:
- move calc_weekday helper function to timeutils
- machine_spi: add the SPI class to the machine module
- moduos: seed the PRNG on boot using the TRNG
- boards: set vfs partition start to 1 MBbyte
- main: skip running main.py if boot.py failed
- main: extend the information returned by help()
- mimxrt_flash: remove commented-out code
- modmachine: add a few minor methods to the machine module
- machine_led: use mp_raise_msg_varg helper
- machine_i2c: add hardware-based machine.I2C to machine module
- add support for Hyperflash chips
- boards: add support for the MIMXRT1050_EVKB board
- machine_pin: implement ioctl for Pin
minimal port:
- Makefile: add support for building with user C modules
nrf port:
- modules: replace master/slave with controller/peripheral in SPI
- boards/common.ld: calculate unused flash region
- modules/nrf: add new nrf module with flash block device
- drivers: add support for using flash block device with SoftDevice
- mpconfigport.h: expose nrf module when MICROPY_PY_NRF is set
- README: update README.md to reflect internal file systems
- mpconfigport.h: tune FAT FS configuration
- Makefile: add _fs_size linker script override from make
- modules/uos: allow a board to configure MICROPY_VFS_FAT/LFS1/LFS2
- mpconfigport.h: enable MICROPY_PY_IO_FILEIO when an FS is enabled
- qstrdefsport.h: add entries for in-built FS mount points
- main: add auto mount and auto format hook for internal flash FS
- boards: enable needed features for FAT/LFS1/LFS2
- facilitate use of freeze manifest
- boards: set FROZEN_MANIFEST blank when SD present on nrf51 targets
- modules/scripts: add file system formatting script
- Makefile: set default manifest file for all targets
- mphalport: add dummy function for mp_hal_time_ns()
- boards: enable MICROPY_VFS_LFS2 for all target boards
- modules/uos: add ilistdir to uos module
- modules/nrf: add function to enable/disable DCDC
- enable source line on tracebacks
- set .mpy features consistent with documentation and other ports
pic16bit port: no changes specific to this component/port
powerpc port: no changes specific to this component/port
qemu-arm port: no changes specific to this component/port
rp2 port:
- use 0=Monday datetime convention in RTC
- machine_rtc: in RTC.datetime, compute weekday automatically
- CMakeLists.txt: suppress compiler errors for pico-sdk and tinyusb
- tusb_config.h: set CFG_TUD_CDC_EP_BUFSIZE to 256
- machine_uart: add hardware flow control support
- machine_uart: allow overriding default machine UART pins
- machine_i2c: allow boards to configure I2C pins using new macros
- machine_spi: allow boards to configure SPI pins using new macros
- machine_uart: fix poll ioctl to also check hardware FIFO
- machine_uart: fix read when FIFO has chars but ringbuf doesn't
- tusb_port: allow boards to configure USB VID and PID
- boards/ADAFRUIT_FEATHER_RP2040: configure custom VID/PID
- boards/ADAFRUIT_FEATHER_RP2040: configure I2C/SPI default pins
- boards/SPARKFUN_PROMICRO: configure UART/I2C/SPI default pins
- boards/SPARKFUN_THINGPLUS: configure I2C/SPI default pins
- boards: add Adafruit ItsyBitsy RP2040
- boards: add Adafruit QT Py RP2040
- boards: add Pimoroni Pico LiPo 4MB
- boards: add Pimoroni Pico LiPo 16MB
- boards: add Pimoroni Tiny 2040
- CMakeLists.txt: allow a board's cmake to set the manifest path
- enable MICROPY_PY_FSTRINGS by default
- Makefile: add "submodules" target, to match other ports
- rp2_flash: disable IRQs while calling flash_erase/program
- CMakeLists.txt: add option to enable double tap reset to bootrom
- mpconfigport.h: allow boards to add root pointers
samd port:
- add support for building with user C modules
stm32 port:
- softtimer: add soft_timer_reinsert() helper function
- mpbthciport: change from systick to soft-timer for BT scheduling
- provide a custom BTstack runloop that integrates with soft timer
- usb: make irq's default trigger enable all events
- boardctrl: skip running main.py if boot.py had an error
- sdio: fix undefined reference to DMA stream on H7
- dma: add DMAMUX configuration for H7 to fix dma_nohal_init
- main: call mp_deinit() at end of main
- adc: allow using ADC12 and ADC3 for H7
- adc: define the ADC instance used for internal channels
- adc: simplify and generalise how pin_adcX table is defined
- add new machine.I2S class for I2S protocol support
- boards/NUCLEO_F446RE: fix I2C1 pin assignment to match datasheet
- replace master/slave with controller/peripheral in I2C and SPI
- systick: always POLL_HOOK when delaying for milliseconds
- sdram: make SDRAM test cache aware, and optional failure with msg
- boards/NUCLEO_F446RE: enable CAN bus support
- boards: add support for SparkFun STM32 MicroMod Processor board
- uart: fix LPUART1 baudrate set/get
- uart: support low baudrates on LPUART1
- boards/STM32F429DISC: set correct UART2 pins and add UART3/6
- boards/NUCLEO_F439ZI: add board definition for NUCLEO_F439ZI
- boards/LEGO_HUB_NO6: add board definition for LEGO_HUB_NO6
- Makefile: update to only pull in used Bluetooth library
- README.md: update supported MCUs, and submodule and mboot use
- usbd_desc: rename USBD_xxx descriptor opts to MICROPY_HW_USB_xxx
- usbd_cdc_interface: rename USBD_CDC_xx opts to MICROPY_HW_USB_xx
- powerctrl: support changing frequency on WB MCUs
- boards/NUCLEO_H743ZI2: add modified version of NUCLEO_H743ZI
- mbedtls: fix compile warning about uninitialized val
- enable MICROPY_PY_FSTRINGS by default
- add implementation of machine.bitstream
- Makefile: allow GIT_SUBMODULES and LIBS to be extended
- stm32_it: support TIM17 IRQs on WB MCUs
- disable computed goto on constrained boards
- storage: make extended-block-device more configurable
- boards/LEGO_HUB_NO6: change SPI flash storage to use hardware SPI
- boards/LEGO_HUB_NO6: skip first 1MiB of SPI flash for storage
- boards/LEGO_HUB_NO6: add make commands to backup/restore firmware
teensy port: no changes specific to this component/port
unix port:
- modffi: add option to lock GC in callback, and cfun access
- Makefile: add back LIB_SRC_C to list of object files
- variants: enable help and help("modules") on standard and dev
- Makefile: disable error compression on arm-linux-gnueabi-gcc
windows port:
- Makefile: add .exe extension to executables name
- appveyor: update to VS 2017 and use Python 3.8 for build/test
zephyr port:
- machine_spi: add support for hardware SPI
2021-10-14 15:38:41 -04:00
|
|
|
#: py/builtinimport.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "script compilation not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/nativeglue.c
|
|
|
|
msgid "set unsupported"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-02-04 11:24:37 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "shape must be a tuple"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-01-05 14:17:09 -05:00
|
|
|
#: shared-module/msgpack/__init__.c
|
|
|
|
msgid "short read"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "sign not allowed in string format specifier"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "sign not allowed with integer format specifier 'c'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "single '}' encountered in format string"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-03 14:22:28 -04:00
|
|
|
#: extmod/ulab/code/ulab_tools.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "size is defined for ndarrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-18 20:44:34 -05:00
|
|
|
#: shared-bindings/time/__init__.c
|
2019-03-02 06:19:47 -05:00
|
|
|
msgid "sleep length must be non-negative"
|
2018-11-09 19:41:08 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-05-05 09:47:15 -04:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "slice step can't be zero"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-05 09:47:15 -04:00
|
|
|
#: py/objslice.c
|
|
|
|
msgid "slice step cannot be zero"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-04 14:40:55 -04:00
|
|
|
#: py/nativeglue.c
|
|
|
|
msgid "slice unsupported"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objint.c py/sequence.c
|
|
|
|
msgid "small int overflow"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-11-25 15:07:57 -05:00
|
|
|
#: main.c
|
|
|
|
msgid "soft reboot\n"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-02-04 11:24:37 -05:00
|
|
|
msgid "sort argument must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "sos array must be of shape (n_section, 6)"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "sos[:, 3] should be all ones"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "sosfilt requires iterable arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-02-24 00:23:14 -05:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c shared-bindings/displayio/Bitmap.c
|
2020-08-21 22:40:46 -04:00
|
|
|
msgid "source palette too large"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-29 15:01:47 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "source_bitmap must have value_count of 2 or 65536"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "source_bitmap must have value_count of 65536"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "source_bitmap must have value_count of 8"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
msgid "start/end indices"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/displayio/Shape.c
|
|
|
|
msgid "start_x should be an int"
|
2018-07-31 19:53:54 -04:00
|
|
|
msgstr ""
|
2018-11-09 19:41:08 -05:00
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/random/__init__.c
|
|
|
|
msgid "step must be non-zero"
|
2019-01-20 22:46:32 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/random/__init__.c
|
|
|
|
msgid "stop not reachable from start"
|
2018-11-09 19:41:08 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-08-08 05:45:15 -04:00
|
|
|
#: py/stream.c shared-bindings/getpass/__init__.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "stream operation not supported"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstrunicode.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "string indices must be integers, not %q"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/stream.c
|
|
|
|
msgid "string not supported; use bytes or bytearray"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/moductypes.c
|
2021-05-04 14:40:55 -04:00
|
|
|
msgid "struct: can't index"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/moductypes.c
|
|
|
|
msgid "struct: index out of range"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/moductypes.c
|
|
|
|
msgid "struct: no fields"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-07-17 21:03:52 -04:00
|
|
|
#: py/objarray.c py/objstr.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "substring not found"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "super() can't find self"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/modujson.c
|
|
|
|
msgid "syntax error in JSON"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/moductypes.c
|
|
|
|
msgid "syntax error in uctypes descriptor"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/touchio/TouchIn.c
|
|
|
|
msgid "threshold must be in the range 0-65536"
|
2018-11-09 19:41:08 -05:00
|
|
|
msgstr ""
|
2018-12-06 20:04:22 -05:00
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/time/__init__.c
|
|
|
|
msgid "time.struct_time() takes a 9-sequence"
|
2019-01-18 14:44:53 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-10-21 18:07:07 -04:00
|
|
|
#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
|
2020-05-26 23:38:38 -04:00
|
|
|
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
|
2021-01-28 09:32:00 -05:00
|
|
|
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
|
2020-05-26 23:38:38 -04:00
|
|
|
msgid "timeout duration exceeded the maximum supported value"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/busio/UART.c
|
2019-11-27 14:54:35 -05:00
|
|
|
msgid "timeout must be 0.0-100.0 seconds"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2020-12-23 22:52:27 -05:00
|
|
|
#: ports/nrf/common-hal/_bleio/Adapter.c
|
|
|
|
msgid "timeout must be < 655.35 secs"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "timeout waiting for v1 card"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-08-21 22:40:46 -04:00
|
|
|
#: shared-module/sdcardio/SDCard.c
|
2020-05-06 12:04:53 -04:00
|
|
|
msgid "timeout waiting for v2 card"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-05-20 10:10:55 -04:00
|
|
|
#: ports/stm/common-hal/pwmio/PWMOut.c
|
|
|
|
msgid "timer re-init"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/time/__init__.c
|
|
|
|
msgid "timestamp out of range for platform time_t"
|
2019-03-20 14:29:20 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2020-11-15 12:48:53 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "tobytes can be invoked for dense arrays only"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-module/struct/__init__.c
|
|
|
|
msgid "too many arguments provided with the given format"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
|
2021-01-04 13:55:39 -05:00
|
|
|
msgid "too many dimensions"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-02-04 11:24:37 -05:00
|
|
|
#: extmod/ulab/code/ndarray.c
|
|
|
|
msgid "too many indices"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-05-10 18:20:47 -04:00
|
|
|
#: py/asmthumb.c
|
|
|
|
msgid "too many locals for native method"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/runtime.c
|
|
|
|
#, c-format
|
|
|
|
msgid "too many values to unpack (expected %d)"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/approx.c
|
2021-06-10 14:00:21 -04:00
|
|
|
msgid "trapz is defined for 1D arrays of equal length"
|
2021-01-04 13:55:39 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/approx.c
|
2021-06-10 14:00:21 -04:00
|
|
|
msgid "trapz is defined for 1D iterables"
|
2020-07-22 15:02:26 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/obj.c
|
|
|
|
msgid "tuple/list has wrong length"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-10-21 12:30:33 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "twai_driver_install returned esp-idf error #%d"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/canio/CAN.c
|
2020-10-21 12:30:33 -04:00
|
|
|
#, c-format
|
|
|
|
msgid "twai_start returned esp-idf error #%d"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-09-29 01:44:30 -04:00
|
|
|
#: ports/atmel-samd/common-hal/busio/UART.c
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
|
2020-09-21 17:45:51 -04:00
|
|
|
#: shared-bindings/busio/UART.c shared-bindings/canio/CAN.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "tx and rx cannot both be None"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "type '%q' is not an acceptable base type"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c
|
|
|
|
msgid "type is not an acceptable base type"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "type object '%q' has no attribute '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-10-11 02:50:12 -04:00
|
|
|
#: py/objgenerator.c
|
|
|
|
msgid "type object 'generator' has no attribute '__await__'"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objtype.c
|
|
|
|
msgid "type takes 1 or 3 arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objint_longlong.c
|
|
|
|
msgid "ulonglong too large"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitnative.c
|
|
|
|
msgid "unary op %q not implemented"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parse.c
|
|
|
|
msgid "unexpected indent"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c
|
|
|
|
msgid "unexpected keyword argument"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/bc.c py/objnamedtuple.c
|
|
|
|
msgid "unexpected keyword argument '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/lexer.c
|
|
|
|
msgid "unicode name escapes"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/parse.c
|
Merge tag 'v1.17' into merge-1.17
F-strings, new machine.I2S class, ESP32-C3 support and LEGO_HUB_NO6 board
This release of MicroPython adds support for f-strings (PEP-498), with a
few limitations compared to normal Python. F-strings are essentially
syntactic sugar for "".format() and make formatting strings a lot more
convenient. Other improvements to the core runtime include pretty printing
OSError when it has two arguments (an errno code and a string), scheduling
of KeyboardInterrupt on the main thread, and support for a single argument
to the optimised form of StopIteration.
In the machine module a new I2S class has been added, with support for
esp32 and stm32 ports. This provides a consistent API for transmit and
receive of audio data in blocking, non-blocking and asyncio-based
operation. Also, the json module has support for the "separators" argument
in the dump and dumps functions, and framebuf now includes a way to blit
between frame buffers of different formats using a palette. A new,
portable machine.bitstream function is also added which can output a stream
of bits with configurable timing, and is used as the basis for driving
WS2812 LEDs in a common way across ports.
There has been some restructuring of the repository directory layout, with
all third-party code now in the lib/ directory. And a new top-level
directory shared/ has been added with first-party code that was previously
in lib/ moved there.
The docs have seen further improvement with enhancements and additions to
the rp2 parts, as well as a new quick reference for the zephyr port.
The terms master/slave have been replaced with controller/peripheral,
mainly relating to I2C and SPI usage. And u-module references have been
replaced with just the module name without the u-prefix to help clear up
the intended usage of modules in MicroPython.
For the esp8266 and esp32 ports, hidden networks are now included in WLAN
scan results. On the esp32 the RMT class is enhanced with idle_level and
write_pulses modes. There is initial support for ESP32-C3 chips with
GENERIC_C3 and GENERIC_C3_USB boards.
The javascript port has had its Makefile and garbage collector
implementation reworked so it compiles and runs with latest the Emscripten
using asyncify.
The mimxrt port sees the addition of hardware I2C and SPI support, as well
as some additional methods to the machine module. There is also support
for Hyperflash chips.
The nrf port now has full VFS storage support, enables source-line on
traceback, and has .mpy features consistent with other ports.
For the rp2 port there is now more configurability for boards, and more
boards added.
The stm32 port has a new LEGO_HUB_NO6 board definition with detailed
information how to get this LEGO Hub running stock MicroPython. There is
also now support to change the CPU frequency on STM32WB MCUs. And USBD_xxx
descriptor options have been renamed to MICROPY_HW_USB_xxx.
Thanks to everyone who contributed to this release: Amir Gonnen, Andrew
Scheller, Bryan Tong Minh, Chris Wilson, Damien George, Daniel Mizyrycki,
David Lechner, David P, Fernando, finefoot, Frank Pilhofer, Glenn Ruben
Bakke, iabdalkader, Jeff Epler, Jim Mussared, Jonathan Hogg, Josh Klar,
Josh Lloyd, Julia Hathaway, Krzysztof Adamski, Matúš Olekšák, Michael
Weiss, Michel Bouwmans, Mike Causer, Mike Teachman, Ned Konz, NitiKaur,
oclyke, Patrick Van Oosterwijck, Peter Hinch, Peter Züger, Philipp
Ebensberger, robert-hh, Roberto Colistete Jr, Sashkoiv, Seon Rozenblum,
Tobias Thyrrestrup, Tom McDermott, Will Sowerbutts, Yonatan Goldschmidt.
What follows is a detailed list of changes, generated from the git commit
history, and organised into sections.
Main components
===============
all:
- fix signed shifts and NULL access errors from -fsanitize=undefined
- update to point to files in new shared/ directory
py core:
- mpstate: make exceptions thread-local
- mpstate: schedule KeyboardInterrupt on main thread
- mperrno: add MP_ECANCELED error code
- makeqstrdefs.py: don't include .h files explicitly in preprocessing
- mark unused arguments from bytecode decoding macros
- objexcept: pretty print OSError also when it has 2 arguments
- makeversionhdr: add --tags arg to git describe
- vm: simplify handling of MP_OBJ_STOP_ITERATION in yield-from opcode
- objexcept: make mp_obj_exception_get_value support subclassed excs
- support single argument to optimised MP_OBJ_STOP_ITERATION
- introduce and use mp_raise_type_arg helper
- modsys: optimise sys.exit for code size by using exception helpers
- objexcept: make mp_obj_new_exception_arg1 inline
- obj: fix formatting of comment for mp_obj_is_integer
- emitnative: reuse need_reg_all func in need_stack_settled
- emitnative: ensure stack settling is safe mid-branch
- runtime: fix bool unary op for subclasses of native types
- builtinimport: fix condition for including do_execute_raw_code()
- mkrules: automatically build mpy-cross if it doesn't exist
- implement partial PEP-498 (f-string) support
- lexer: clear fstring_args vstr on lexer free
- mkrules.mk: do submodule sync in "make submodules"
extmod:
- btstack: add missing call to mp_bluetooth_hci_uart_deinit
- btstack: check that BLE is active before performing operations
- uasyncio: get addr and bind server socket before creating task
- axtls-include: add axtls_os_port.h to customise axTLS
- update for move of crypto-algorithms, re1.5, uzlib to lib
- moduselect: conditionally compile select()
- nimble: fix leak in l2cap_send if send-while-stalled
- btstack/btstack.mk: use -Wno-implicit-fallthrough, not =0
- utime: always invoke mp_hal_delay_ms when >= to 0ms
- modbluetooth: clamp MTU values to 32->UINT16_MAX
- nimble: allow modbluetooth binding to hook "sent HCI packet"
- nimble: add "memory stalling" mechanism for l2cap_send
- uasyncio: in open_connection use address info in socket creation
- modujson: add support for dump/dumps separators keyword-argument
- modlwip: fix close and clean up of UDP and raw sockets
- modbluetooth: add send_update arg to gatts_write
- add machine.bitstream
- modframebuf: enable blit between different formats via a palette
lib:
- tinyusb: update to version 0.10.1
- pico-sdk: update to version 1.2.0
- utils/stdout_helpers: make mp_hal_stdout_tx_strn_cooked efficient
- axtls: switch to repo at micropython/axtls
- axtls: update to latest axtls 2.1.5 wih additional commits
- re1.5: move re1.5 code from extmod to lib
- uzlib: move uzlib code from extmod to lib
- crypto-algorithms: move crypto-algorithms code from extmod to lib
- update README's based on contents of these dirs
drivers:
- neopixel: add common machine.bitstream-based neopixel module
- neopixel: optimize fill() for speed
- neopixel: reduce code size of driver
- cyw43: fix cyw43_deinit so it can be called many times in a row
- cyw43: make wifi join fail if interface is not active
mpy-cross:
- disable stack check when building with Emscripten
Support components
==================
docs:
- library: document new esp32.RMT features and fix wait_done
- library: warn that ustruct doesn't handle spaces in format strings
- esp8266/tutorial: change flash mode from dio to dout
- replace master/slave with controller/peripheral in I2C and SPI
- rp2: enhance quickref and change image to Pico pinout
- rp2: update general section to give a brief technical overview
- library/utime.rst: clarify behaviour and precision of sleep ms/us
- library/uasyncio.rst: document stream readexactly() method
- library/machine.I2S.rst: fix use of sd pin in examples
- zephyr: add quick reference for the Zephyr port
- library/zephyr: add libraries specific to the Zephyr port
- templates: add unix and zephyr quickref links to top-index
- rename ufoo.rst to foo.rst
- replace ufoo with foo in all docs
- library/index.rst: clarify module naming and purpose
- library/builtins.rst: add module title
- library/network.rst: simplify socket import
- add docs for machine.bitstream and neopixel module
- library: fix usage of :term: for frozen module reference
- esp8266: use monospace for software tools
- reference: mention that slicing a memoryview causes allocation
examples: no changes specific to this component/port
tests:
- extmod: make uasyncio_heaplock test more deterministic
- cpydiff/modules_struct_whitespace_in_format: run black
- extmod/ujson: add tests for dump/dumps separators argument
- run-multitests.py: add broadcast and wait facility
- multi_bluetooth/ble_subscribe.py: add test for subscription
- extmod/vfs_fat_finaliser.py: ensure alloc at never-used GC blocks
- basics: split f-string debug printing to separate file with .exp
- pybnative: make while.py test run on boards without pyb.delay
tools:
- autobuild: add scripts to build release firmware
- remove obsolete build-stm-latest.sh script
- ci.sh: run apt-get update in ci_powerpc_setup
- makemanifest.py: allow passing flags to mpy-tool.py
- autobuild: add mimxrt port to build scripts for nightly builds
- pyboard.py: add cmd-line option to make soft reset configurable
- mpremote: swap order of PID and VID in connect-list output
- ci.sh: build unix dev variant as part of macOS CI
- ci.sh: build GENERIC_C3 board as part of esp32 CI
- autobuild: use separate IDF version to build newer esp32 SoCs
- autobuild: add FeatherS2 and TinyS2 to esp32 auto builds
- mpremote: add seek whence for mounted files
- mpremote: raise OSError on unsupported RemoteFile.seek
- autobuild: add the MIMXRT1050_EVKB board to the daily builds
- ci.sh: add mpy-cross build to nrf port
- codeformat.py: include ports/nrf/modules/nrf in code formatting
- gen-cpydiff.py: don't rename foo to ufoo in diff output
- autobuild: add auto build for Silicognition wESP32
- mpremote: fix connect-list in case VID/PID are None
- mpremote: add "devs" shortcut for "connect list"
- mpremote: remove support for pyb.USB_VCP in/out specialisation
- autobuild: don't use "-B" for make, it's already a fresh build
- pyboard.py: move --no-exclusive/--soft-reset out of mutex group
- pyboard.py: make --no-follow use same variable as --follow
- pyboard.py: add --exclusive to match --no-exclusive
- pyboard.py: make --no-soft-reset consistent with other args
- uncrustify: force 1 newline at end of file
- mpremote: bump version to 0.0.6
CI:
- workflows: add workflow to build and test javascript port
- workflows: switch from Coveralls to Codecov
- workflows: switch from lcov to gcov
- workflows: add workflow to build and test unix dev variant
The ports
=========
all ports:
- use common mp_hal_stdout_tx_strn_cooked instead of custom one
- update for move of crypto-algorithms, uzlib to lib
- rename USBD_VID/PID config macros to MICROPY_HW_USB_VID/PID
bare-arm port: no changes specific to this component/port
cc3200 port: no changes specific to this component/port
esp8266 port:
- add __len__ to NeoPixel driver to support iterating
- Makefile: add more libm files to build
- include hidden networks in WLAN.scan results
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
esp32 port:
- boards/sdkconfig.base: disable MEMPROT_FEATURE to alloc from IRAM
- add __len__ to NeoPixel driver to support iterating
- main: allow MICROPY_DIR to be overridden
- esp32_rmt: fix RMT looping in newer IDF versions
- esp32_rmt: enhance RMT with idle_level and write_pulses modes
- add new machine.I2S class for I2S protocol support
- machine_spi: calculate actual attained baudrate
- machine_hw_spi: use a 2 item SPI queue for long transfers
- machine_dac: add MICROPY_PY_MACHINE_DAC option, enable by default
- machine_i2s: add MICROPY_PY_MACHINE_I2S option, enable by default
- fix use of mp_int_t, size_t and uintptr_t
- add initial support for ESP32C3 SoCs
- boards/GENERIC_C3: add generic C3-based board
- modmachine: release the GIL in machine.idle()
- mphalport: always yield at least once in delay_ms
- machine_uart: add flow kw-arg to enable hardware flow control
- boards: add Silicognition wESP32 board configuration
- mpconfigport.h: enable reverse and inplace special methods
- include hidden networks in WLAN.scan results
- makeimg.py: get bootloader and partition offset from sdkconfig
- enable MICROPY_PY_FSTRINGS by default
- machine_hw_spi: release GIL during transfers
- machine_pin: make check for non-output pins respect chip variant
- replace esp.neopixel with machine.bitstream
- remove dead code for end_ticks in machine_bitstream
- boards: add GENERIC_C3_USB board with USB serial/JTAG support
javascript port:
- rework Makefile and GC so it works with latest Emscripten
- Makefile: suppress compiler errors from array bounds
- Makefile: change variable to EXPORTED_RUNTIME_METHODS
mimxrt port:
- move calc_weekday helper function to timeutils
- machine_spi: add the SPI class to the machine module
- moduos: seed the PRNG on boot using the TRNG
- boards: set vfs partition start to 1 MBbyte
- main: skip running main.py if boot.py failed
- main: extend the information returned by help()
- mimxrt_flash: remove commented-out code
- modmachine: add a few minor methods to the machine module
- machine_led: use mp_raise_msg_varg helper
- machine_i2c: add hardware-based machine.I2C to machine module
- add support for Hyperflash chips
- boards: add support for the MIMXRT1050_EVKB board
- machine_pin: implement ioctl for Pin
minimal port:
- Makefile: add support for building with user C modules
nrf port:
- modules: replace master/slave with controller/peripheral in SPI
- boards/common.ld: calculate unused flash region
- modules/nrf: add new nrf module with flash block device
- drivers: add support for using flash block device with SoftDevice
- mpconfigport.h: expose nrf module when MICROPY_PY_NRF is set
- README: update README.md to reflect internal file systems
- mpconfigport.h: tune FAT FS configuration
- Makefile: add _fs_size linker script override from make
- modules/uos: allow a board to configure MICROPY_VFS_FAT/LFS1/LFS2
- mpconfigport.h: enable MICROPY_PY_IO_FILEIO when an FS is enabled
- qstrdefsport.h: add entries for in-built FS mount points
- main: add auto mount and auto format hook for internal flash FS
- boards: enable needed features for FAT/LFS1/LFS2
- facilitate use of freeze manifest
- boards: set FROZEN_MANIFEST blank when SD present on nrf51 targets
- modules/scripts: add file system formatting script
- Makefile: set default manifest file for all targets
- mphalport: add dummy function for mp_hal_time_ns()
- boards: enable MICROPY_VFS_LFS2 for all target boards
- modules/uos: add ilistdir to uos module
- modules/nrf: add function to enable/disable DCDC
- enable source line on tracebacks
- set .mpy features consistent with documentation and other ports
pic16bit port: no changes specific to this component/port
powerpc port: no changes specific to this component/port
qemu-arm port: no changes specific to this component/port
rp2 port:
- use 0=Monday datetime convention in RTC
- machine_rtc: in RTC.datetime, compute weekday automatically
- CMakeLists.txt: suppress compiler errors for pico-sdk and tinyusb
- tusb_config.h: set CFG_TUD_CDC_EP_BUFSIZE to 256
- machine_uart: add hardware flow control support
- machine_uart: allow overriding default machine UART pins
- machine_i2c: allow boards to configure I2C pins using new macros
- machine_spi: allow boards to configure SPI pins using new macros
- machine_uart: fix poll ioctl to also check hardware FIFO
- machine_uart: fix read when FIFO has chars but ringbuf doesn't
- tusb_port: allow boards to configure USB VID and PID
- boards/ADAFRUIT_FEATHER_RP2040: configure custom VID/PID
- boards/ADAFRUIT_FEATHER_RP2040: configure I2C/SPI default pins
- boards/SPARKFUN_PROMICRO: configure UART/I2C/SPI default pins
- boards/SPARKFUN_THINGPLUS: configure I2C/SPI default pins
- boards: add Adafruit ItsyBitsy RP2040
- boards: add Adafruit QT Py RP2040
- boards: add Pimoroni Pico LiPo 4MB
- boards: add Pimoroni Pico LiPo 16MB
- boards: add Pimoroni Tiny 2040
- CMakeLists.txt: allow a board's cmake to set the manifest path
- enable MICROPY_PY_FSTRINGS by default
- Makefile: add "submodules" target, to match other ports
- rp2_flash: disable IRQs while calling flash_erase/program
- CMakeLists.txt: add option to enable double tap reset to bootrom
- mpconfigport.h: allow boards to add root pointers
samd port:
- add support for building with user C modules
stm32 port:
- softtimer: add soft_timer_reinsert() helper function
- mpbthciport: change from systick to soft-timer for BT scheduling
- provide a custom BTstack runloop that integrates with soft timer
- usb: make irq's default trigger enable all events
- boardctrl: skip running main.py if boot.py had an error
- sdio: fix undefined reference to DMA stream on H7
- dma: add DMAMUX configuration for H7 to fix dma_nohal_init
- main: call mp_deinit() at end of main
- adc: allow using ADC12 and ADC3 for H7
- adc: define the ADC instance used for internal channels
- adc: simplify and generalise how pin_adcX table is defined
- add new machine.I2S class for I2S protocol support
- boards/NUCLEO_F446RE: fix I2C1 pin assignment to match datasheet
- replace master/slave with controller/peripheral in I2C and SPI
- systick: always POLL_HOOK when delaying for milliseconds
- sdram: make SDRAM test cache aware, and optional failure with msg
- boards/NUCLEO_F446RE: enable CAN bus support
- boards: add support for SparkFun STM32 MicroMod Processor board
- uart: fix LPUART1 baudrate set/get
- uart: support low baudrates on LPUART1
- boards/STM32F429DISC: set correct UART2 pins and add UART3/6
- boards/NUCLEO_F439ZI: add board definition for NUCLEO_F439ZI
- boards/LEGO_HUB_NO6: add board definition for LEGO_HUB_NO6
- Makefile: update to only pull in used Bluetooth library
- README.md: update supported MCUs, and submodule and mboot use
- usbd_desc: rename USBD_xxx descriptor opts to MICROPY_HW_USB_xxx
- usbd_cdc_interface: rename USBD_CDC_xx opts to MICROPY_HW_USB_xx
- powerctrl: support changing frequency on WB MCUs
- boards/NUCLEO_H743ZI2: add modified version of NUCLEO_H743ZI
- mbedtls: fix compile warning about uninitialized val
- enable MICROPY_PY_FSTRINGS by default
- add implementation of machine.bitstream
- Makefile: allow GIT_SUBMODULES and LIBS to be extended
- stm32_it: support TIM17 IRQs on WB MCUs
- disable computed goto on constrained boards
- storage: make extended-block-device more configurable
- boards/LEGO_HUB_NO6: change SPI flash storage to use hardware SPI
- boards/LEGO_HUB_NO6: skip first 1MiB of SPI flash for storage
- boards/LEGO_HUB_NO6: add make commands to backup/restore firmware
teensy port: no changes specific to this component/port
unix port:
- modffi: add option to lock GC in callback, and cfun access
- Makefile: add back LIB_SRC_C to list of object files
- variants: enable help and help("modules") on standard and dev
- Makefile: disable error compression on arm-linux-gnueabi-gcc
windows port:
- Makefile: add .exe extension to executables name
- appveyor: update to VS 2017 and use Python 3.8 for build/test
zephyr port:
- machine_spi: add support for hardware SPI
2021-10-14 15:38:41 -04:00
|
|
|
msgid "unindent doesn't match any outer indent level"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
#, c-format
|
|
|
|
msgid "unknown conversion specifier %c"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "unknown format code '%c' for object of type '%q'"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/compile.c
|
|
|
|
msgid "unknown type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-20 21:04:23 -04:00
|
|
|
#: py/compile.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "unknown type '%q'"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objstr.c
|
|
|
|
msgid "unmatched '{' in format"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/objtype.c py/runtime.c
|
|
|
|
msgid "unreadable attribute"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-18 16:33:16 -04:00
|
|
|
#: shared-bindings/displayio/TileGrid.c shared-bindings/vectorio/VectorShape.c
|
2021-08-08 03:14:53 -04:00
|
|
|
#: shared-module/vectorio/Polygon.c shared-module/vectorio/VectorShape.c
|
2019-04-11 07:50:02 -04:00
|
|
|
msgid "unsupported %q type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/emitinlinethumb.c
|
|
|
|
#, c-format
|
|
|
|
msgid "unsupported Thumb instruction '%s' with %d arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/emitinlinextensa.c
|
|
|
|
#, c-format
|
|
|
|
msgid "unsupported Xtensa instruction '%s' with %d arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
Implement gifio.GifWriter
This involves:
* Adding a new "L8" colorspace for colorconverters
* factoring out displayio_colorconverter_convert_pixel
* Making a minimal "colorspace only" version of displayio for the
unix port (testing purposes)
* fixing an error message
I only tested writing B&W animated images, with the following script:
```python
import displayio
import gifio
with gifio.GifWriter("foo.gif", 64, 64, displayio.Colorspace.L8) as g:
for i in range(0, 256, 14):
data = bytes([i, 255-i] * 32 + [255-i, i] * 32) * 32
print("add_frame")
g.add_frame(data)
# expected to raise an error, buffer is not big enough
with gifio.GifWriter("/dev/null", 64, 64, displayio.Colorspace.L8) as g:
g.add_frame(bytes([3,3,3]))
```
2021-10-21 12:45:11 -04:00
|
|
|
#: shared-module/gifio/GifWriter.c
|
|
|
|
msgid "unsupported colorspace for GifWriter"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-10-29 15:01:47 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "unsupported colorspace for dither"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objstr.c
|
|
|
|
#, c-format
|
|
|
|
msgid "unsupported format character '%c' (0x%x) at index %d"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "unsupported type for %q: '%q'"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "unsupported type for operator"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
2020-08-04 14:58:43 -04:00
|
|
|
msgid "unsupported types for %q: '%q', '%q'"
|
2019-08-19 10:25:36 -04:00
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "usecols is too high"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "usecols keyword must be specified"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-08-19 10:25:36 -04:00
|
|
|
#: py/objint.c
|
|
|
|
#, c-format
|
|
|
|
msgid "value must fit in %d byte(s)"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-08-13 11:13:38 -04:00
|
|
|
#: shared-bindings/bitmaptools/__init__.c
|
|
|
|
msgid "value out of range of target"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-02 06:19:47 -05:00
|
|
|
#: shared-bindings/displayio/Bitmap.c
|
|
|
|
msgid "value_count must be > 0"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
|
2020-11-10 06:02:46 -05:00
|
|
|
msgid "watchdog not initialized"
|
|
|
|
msgstr ""
|
|
|
|
|
2020-05-26 23:38:38 -04:00
|
|
|
#: shared-bindings/watchdog/WatchDogTimer.c
|
|
|
|
msgid "watchdog timeout must be greater than 0"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-02-08 22:25:23 -05:00
|
|
|
#: shared-bindings/is31fl3741/FrameBuffer.c
|
2020-09-28 20:03:04 -04:00
|
|
|
msgid "width must be greater than zero"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/wifi/Radio.c
|
2021-01-21 14:54:19 -05:00
|
|
|
msgid "wifi is not enabled"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-10-21 22:50:17 -04:00
|
|
|
#: shared-bindings/_bleio/Adapter.c
|
2019-06-19 10:42:36 -04:00
|
|
|
msgid "window must be <= interval"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/numerical.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "wrong axis index"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c
|
2020-11-15 12:48:53 -05:00
|
|
|
msgid "wrong axis specified"
|
2020-02-04 11:24:37 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/io/io.c
|
|
|
|
msgid "wrong dtype"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/numpy/transform.c
|
|
|
|
msgid "wrong index type"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/create.c
|
|
|
|
#: extmod/ulab/code/numpy/io/io.c extmod/ulab/code/numpy/transform.c
|
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "wrong input type"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/transform.c
|
|
|
|
msgid "wrong length of condition array"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-07-07 14:28:54 -04:00
|
|
|
#: extmod/ulab/code/numpy/transform.c
|
|
|
|
msgid "wrong length of index array"
|
|
|
|
msgstr ""
|
|
|
|
|
2022-01-14 15:15:51 -05:00
|
|
|
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
|
2019-08-19 10:25:36 -04:00
|
|
|
msgid "wrong number of arguments"
|
|
|
|
msgstr ""
|
|
|
|
|
|
|
|
#: py/runtime.c
|
|
|
|
msgid "wrong number of values to unpack"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-07-21 20:38:58 -04:00
|
|
|
#: extmod/ulab/code/numpy/vector.c
|
2020-06-01 20:11:20 -04:00
|
|
|
msgid "wrong output type"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/displayio/Shape.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "x value out of bounds"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2021-09-13 19:44:55 -04:00
|
|
|
#: ports/espressif/common-hal/audiobusio/__init__.c
|
2020-12-29 17:31:29 -05:00
|
|
|
msgid "xTaskCreate failed"
|
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-bindings/displayio/Shape.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "y should be an int"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
|
|
|
|
2019-03-08 15:47:04 -05:00
|
|
|
#: shared-module/displayio/Shape.c
|
2019-02-22 15:04:54 -05:00
|
|
|
msgid "y value out of bounds"
|
2018-12-06 20:04:22 -05:00
|
|
|
msgstr ""
|
2019-08-19 10:25:36 -04:00
|
|
|
|
|
|
|
#: py/objrange.c
|
|
|
|
msgid "zero step"
|
|
|
|
msgstr ""
|
2020-07-01 11:33:38 -04:00
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "zi must be an ndarray"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "zi must be of float type"
|
|
|
|
msgstr ""
|
|
|
|
|
2021-04-01 16:30:22 -04:00
|
|
|
#: extmod/ulab/code/scipy/signal/signal.c
|
2020-07-01 11:33:38 -04:00
|
|
|
msgid "zi must be of shape (n_section, 2)"
|
|
|
|
msgstr ""
|