circuitpython/locale/circuitpython.pot

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4523 lines
104 KiB
Plaintext
Raw Normal View History

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"
#: main.c
msgid ""
"\n"
2020-12-23 18:00:53 -05:00
"Code done running.\n"
msgstr ""
#: main.c
msgid ""
"\n"
"Code stopped by auto-reload.\n"
msgstr ""
#: 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 ""
#: py/obj.c
msgid " File \"%q\""
msgstr ""
#: py/obj.c
msgid " File \"%q\", line %d"
msgstr ""
#: py/builtinhelp.c
msgid " is of type %q\n"
msgstr ""
#: main.c
msgid " not found.\n"
msgstr ""
#: 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 ""
2021-08-17 18:55:26 -04:00
#: shared-bindings/microcontroller/Pin.c
msgid "%q and %q contain duplicate pins"
2021-08-17 18:55:26 -04:00
msgstr ""
#: 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 ""
#: 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 ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
2020-08-04 14:58:43 -04:00
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: 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/obj.c py/objstr.c
#: py/objstrunicode.c
msgid "%q index out of range"
msgstr ""
#: py/obj.c
msgid "%q indices must be integers, not %s"
msgstr ""
#: py/argcheck.c
msgid "%q length must be %d-%d"
msgstr ""
#: shared-bindings/usb_hid/Device.c
msgid "%q length must be >= 1"
msgstr ""
#: py/argcheck.c
msgid "%q must be %d-%d"
msgstr ""
#: py/argcheck.c shared-bindings/gifio/GifWriter.c
msgid "%q must be <= %d"
msgstr ""
#: py/argcheck.c
msgid "%q must be >= %d"
2021-06-14 16:00:15 -04:00
msgstr ""
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
2020-07-17 21:00:58 -04:00
msgid "%q must be >= 0"
msgstr ""
2019-08-29 18:48:52 -04:00
#: shared-bindings/_bleio/CharacteristicBuffer.c
2020-01-07 17:31:58 -05:00
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
2020-07-17 21:00:58 -04:00
#: shared-bindings/displayio/Shape.c
#: shared-bindings/memorymonitor/AllocationAlarm.c
#: 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 ""
#: py/argcheck.c
msgid "%q must be a string"
msgstr ""
2020-05-18 16:33:16 -04:00
#: shared-module/vectorio/Polygon.c
2020-05-09 19:45:55 -04:00
msgid "%q must be a tuple of length 2"
msgstr ""
#: ports/espressif/common-hal/imagecapture/ParallelImageCapture.c
#: shared-module/vectorio/VectorShape.c
msgid "%q must be between %d and %d"
msgstr ""
#: py/argcheck.c
msgid "%q must be of type %q"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
#: shared-bindings/wifi/Monitor.c
msgid "%q out of bounds"
msgstr ""
2021-02-23 19:32:16 -05:00
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
2020-09-21 17:45:51 -04:00
#: shared-bindings/canio/Match.c
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 ""
2019-03-19 21:38:16 -04:00
#: shared-bindings/fontio/BuiltinFont.c
2019-02-22 15:04:54 -05:00
msgid "%q should be an int"
2018-08-16 16:34:12 -04:00
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 ""
#: 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 ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
#, c-format
msgid "%s error 0x%x"
msgstr ""
#: 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 ""
#: 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
msgid "'%s' integer %d isn't within range %d..%d"
msgstr ""
#: py/emitinlinethumb.c
#, c-format
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"
msgstr ""
#: py/objstr.c
msgid "'=' alignment not allowed in string format specifier"
msgstr ""
#: 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 ""
#: 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 ""
#: py/compile.c
2020-07-24 22:58:20 -04:00
msgid "'await', 'async for' or 'async with' outside async function"
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 ""
#: 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 ""
#: py/compile.c
msgid "'yield' outside function"
msgstr ""
#: shared-module/vectorio/VectorShape.c
msgid "(x,y) integers required"
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
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
msgid "A hardware interrupt channel is already in use"
msgstr ""
#: ports/espressif/common-hal/analogio/AnalogIn.c
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
msgid "Address must be %d bytes long"
2018-08-16 16:34:12 -04:00
msgstr ""
2019-08-29 18:48:52 -04:00
#: shared-bindings/_bleio/Address.c
msgid "Address type out of range"
2018-07-31 19:53:54 -04:00
msgstr ""
#: ports/espressif/common-hal/canio/CAN.c
2020-10-21 12:30:33 -04:00
msgid "All CAN peripherals are in use"
msgstr ""
2021-10-09 17:03:42 -04:00
#: ports/espressif/common-hal/busio/I2C.c
#: ports/espressif/common-hal/i2cperipheral/I2CPeripheral.c
#: ports/nrf/common-hal/busio/I2C.c
msgid "All I2C peripherals are in use"
msgstr ""
#: 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
#: ports/espressif/common-hal/canio/Listener.c
#: ports/stm/common-hal/canio/Listener.c
2020-09-21 17:45:51 -04:00
msgid "All RX FIFOs in use"
msgstr ""
#: ports/espressif/common-hal/busio/SPI.c ports/nrf/common-hal/busio/SPI.c
msgid "All SPI peripherals are in use"
msgstr ""
#: 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
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 ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "All event channels in use"
msgstr ""
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
msgid "All state machines in use"
msgstr ""
#: ports/atmel-samd/audio_dma.c
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
#: 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
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/cxd56/common-hal/pulseio/PulseOut.c
#: 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
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
#: 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 ""
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 ""
#: ports/espressif/common-hal/wifi/Radio.c
2020-09-29 01:44:30 -04:00
msgid "Already scanning for wifi networks"
msgstr ""
#: ports/cxd56/common-hal/analogio/AnalogIn.c
msgid "AnalogIn not supported on given pin"
msgstr ""
#: ports/cxd56/common-hal/analogio/AnalogOut.c
#: ports/mimxrt10xx/common-hal/analogio/AnalogOut.c
#: ports/nrf/common-hal/analogio/AnalogOut.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/analogio/AnalogOut.c
msgid "AnalogOut functionality not supported"
msgstr ""
#: shared-bindings/analogio/AnalogOut.c
msgid "AnalogOut is only 16 bits. Value must be less than 65536."
msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c
msgid "AnalogOut not supported on given pin"
msgstr ""
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
msgid "Another PWMAudioOut is already active"
msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/cxd56/common-hal/pulseio/PulseOut.c
msgid "Another send is already active"
msgstr ""
#: 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 ""
#: 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 ""
#: supervisor/shared/safe_mode.c
msgid "Attempted heap allocation when VM not running."
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 ""
2020-08-25 19:40:45 -04:00
#: shared-bindings/wifi/Radio.c
msgid "Authentication failure"
msgstr ""
#: 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 ""
#: 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 ""
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Bit clock and word select must share a clock unit"
msgstr ""
2020-11-09 10:49:43 -05:00
#: shared-bindings/rgbmatrix/RGBMatrix.c
#, c-format
msgid "Bit depth must be from 1 to 6 inclusive, not %d"
msgstr ""
#: shared-bindings/audiobusio/PDMIn.c
msgid "Bit depth must be multiple of 8."
msgstr ""
#: shared-bindings/bitmaptools/__init__.c
msgid "Bitmap size and bits per value must match"
msgstr ""
#: 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 ""
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
msgid "Both pins must support hardware interrupts"
msgstr ""
#: shared-bindings/displayio/Display.c
2020-04-14 19:25:21 -04:00
#: shared-bindings/framebufferio/FramebufferDisplay.c
2020-04-17 19:44:35 -04:00
#: shared-bindings/rgbmatrix/RGBMatrix.c
msgid "Brightness must be 0-1.0"
msgstr ""
#: shared-bindings/supervisor/__init__.c
2019-02-22 15:04:54 -05:00
msgid "Brightness must be between 0 and 255"
2018-07-31 19:53:54 -04:00
msgstr ""
#: 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 ""
#: shared-module/usb_hid/Device.c
2018-09-21 12:24:04 -04:00
#, c-format
2019-02-22 15:04:54 -05:00
msgid "Buffer incorrect size. Should be %d bytes."
2018-09-21 12:24:04 -04:00
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 ""
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
#, 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
msgid "Buffer length must be a multiple of 512"
msgstr ""
2020-07-30 08:19:19 -04:00
#: ports/stm/common-hal/sdioio/SDCard.c
msgid "Buffer must be a multiple of 512 bytes"
msgstr ""
2020-12-08 18:57:19 -05:00
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
2019-02-22 15:04:54 -05:00
msgid "Buffer must be at least length 1"
2018-07-31 19:53:54 -04:00
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
#: 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
#, 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-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 "Bytes must be between 0 and 255."
2018-07-31 19:53:54 -04:00
msgstr ""
#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "CRC or checksum was invalid"
msgstr ""
#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr ""
#: 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 ""
#: 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 ""
#: 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 ""
2019-08-29 18:48:52 -04:00
#: ports/nrf/common-hal/_bleio/Characteristic.c
msgid "Can't set CCCD on local Characteristic"
msgstr ""
#: ports/espressif/common-hal/wifi/Radio.c
msgid "Can't change MAC address while station is started"
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
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 ""
#: ports/atmel-samd/common-hal/digitalio/DigitalInOut.c
#: ports/mimxrt10xx/common-hal/digitalio/DigitalInOut.c
#: ports/nrf/common-hal/digitalio/DigitalInOut.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/digitalio/DigitalInOut.c
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 ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Cannot output both channels on the same pin"
msgstr ""
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
2020-12-23 18:00:53 -05:00
msgid "Cannot pull on input-only pin."
msgstr ""
#: shared-module/bitbangio/SPI.c
2019-02-22 15:04:54 -05:00
msgid "Cannot read without MISO pin."
2018-07-31 19:53:54 -04:00
msgstr ""
#: shared-bindings/audiobusio/PDMIn.c
msgid "Cannot record to a file"
msgstr ""
#: 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 ""
#: ports/atmel-samd/common-hal/microcontroller/__init__.c
#: ports/cxd56/common-hal/microcontroller/__init__.c
#: ports/mimxrt10xx/common-hal/microcontroller/__init__.c
msgid "Cannot reset into bootloader because no bootloader is present."
msgstr ""
#: ports/espressif/common-hal/socketpool/Socket.c
msgid "Cannot set socket options"
msgstr ""
#: 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 ""
#: 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 ""
#: py/objslice.c
msgid "Cannot subclass slice"
msgstr ""
#: shared-module/bitbangio/SPI.c
2019-02-22 15:04:54 -05: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
msgid "Cannot vary frequency on a timer that is already in use"
msgstr ""
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
2021-02-21 01:37:51 -05:00
#: ports/nrf/common-hal/alarm/pin/PinAlarm.c
2020-12-23 18:00:53 -05:00
msgid "Cannot wake on pin edge. Only level."
msgstr ""
#: shared-module/bitbangio/SPI.c
2019-02-22 15:04:54 -05:00
msgid "Cannot write without MOSI pin."
2018-08-16 16:34:12 -04:00
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 ""
#: supervisor/shared/safe_mode.c
msgid "CircuitPython core code crashed hard. Whoops!\n"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CircuitPython was unable to allocate the heap."
2020-09-09 17:34:57 -04:00
msgstr ""
#: shared-module/bitbangio/SPI.c
2019-02-22 15:04:54 -05:00
msgid "Clock pin init failed."
2018-08-16 16:34:12 -04:00
msgstr ""
#: 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 ""
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Clock unit in use"
msgstr ""
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
2021-09-06 06:58:00 -04:00
#: shared-bindings/paralleldisplay/ParallelBus.c
2019-02-22 15:04:54 -05:00
msgid "Command must be an int between 0 and 255"
2018-08-16 16:34:12 -04:00
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 ""
#: py/persistentcode.c
msgid "Corrupt .mpy file"
msgstr ""
2020-09-02 09:44:51 -04:00
#: ports/cxd56/common-hal/camera/Camera.c
msgid "Could not initialize Camera"
msgstr ""
2020-06-17 02:03:14 -04:00
#: ports/cxd56/common-hal/gnss/GNSS.c
msgid "Could not initialize GNSS"
msgstr ""
2020-07-02 09:26:05 -04:00
#: ports/cxd56/common-hal/sdioio/SDCard.c
msgid "Could not initialize SDCard"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c ports/cxd56/common-hal/busio/UART.c
#: ports/espressif/common-hal/busio/UART.c
msgid "Could not initialize UART"
msgstr ""
2020-08-25 19:40:45 -04:00
#: ports/stm/common-hal/pwmio/PWMOut.c
msgid "Could not re-init channel"
msgstr ""
2020-08-25 19:40:45 -04:00
#: ports/stm/common-hal/pwmio/PWMOut.c
msgid "Could not re-init timer"
msgstr ""
2020-08-25 19:40:45 -04:00
#: ports/stm/common-hal/pwmio/PWMOut.c
msgid "Could not restart PWM"
msgstr ""
#: 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
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
msgid "Couldn't allocate decoder"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
2020-01-13 18:29:34 -05:00
#: shared-module/audiomp3/MP3Decoder.c
2019-02-22 15:04:54 -05:00
msgid "Couldn't allocate first buffer"
2018-08-16 16:34:12 -04:00
msgstr ""
2020-01-13 18:29:34 -05:00
#: shared-module/audiomp3/MP3Decoder.c
msgid "Couldn't allocate input buffer"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-module/audiocore/WaveFile.c shared-module/audiomixer/Mixer.c
2020-01-13 18:29:34 -05:00
#: shared-module/audiomp3/MP3Decoder.c
2019-02-22 15:04:54 -05:00
msgid "Couldn't allocate second buffer"
2018-08-16 16:34:12 -04:00
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "Crash into the HardFault_Handler."
2018-08-16 16:34:12 -04:00
msgstr ""
#: 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 ""
#: 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
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 ""
#: ports/nrf/common-hal/_bleio/Adapter.c
msgid "Data not supported with directed advertising"
msgstr ""
2019-10-21 22:50:17 -04:00
#: ports/nrf/common-hal/_bleio/Adapter.c
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 ""
#: 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 ""
#: ports/cxd56/common-hal/digitalio/DigitalInOut.c
msgid "DigitalInOut not supported on given pin"
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 ""
#: 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 ""
#: 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 ""
#: shared-bindings/aesio/aes.c
msgid "ECB only operates on 16 bytes at a time"
msgstr ""
#: 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 ""
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
msgid "EXTINT channel already in use"
msgstr ""
#: shared-module/synthio/MidiTrack.c
#, c-format
msgid "Error in MIDI stream at position %d"
msgstr ""
#: extmod/modure.c
msgid "Error in regex"
msgstr ""
#: 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 ""
#: shared-module/adafruit_pixelbuf/PixelBuf.c
2019-02-22 15:04:54 -05:00
#, c-format
msgid "Expected tuple of length %d, got %d"
msgstr ""
#: 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
msgid "FFT is implemented for linear arrays only"
msgstr ""
#: 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 ""
#: ports/nrf/sd_mutex.c
#, c-format
msgid "Failed to acquire mutex, err 0x%04x"
2018-08-16 16:34:12 -04:00
msgstr ""
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: ports/raspberrypi/common-hal/busio/UART.c
msgid "Failed to allocate RX buffer"
2018-08-16 16:34:12 -04:00
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/espressif/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
2021-03-14 16:03:00 -04:00
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
#: ports/stm/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
2018-08-16 16:34:12 -04:00
msgstr ""
#: ports/espressif/common-hal/wifi/__init__.c
2020-09-29 01:44:30 -04:00
msgid "Failed to allocate Wifi memory"
msgstr ""
#: ports/espressif/common-hal/wifi/ScannedNetworks.c
2020-09-29 01:44:30 -04:00
msgid "Failed to allocate wifi scan memory"
msgstr ""
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
msgid "Failed to buffer the sample"
msgstr ""
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
msgid "Failed to connect: timeout"
2018-09-25 15:10:44 -04:00
msgstr ""
#: ports/espressif/common-hal/wifi/__init__.c
2020-09-29 01:44:30 -04:00
msgid "Failed to init wifi"
msgstr ""
2020-01-13 18:29:34 -05:00
#: shared-module/audiomp3/MP3Decoder.c
msgid "Failed to parse MP3 file"
msgstr ""
#: ports/nrf/sd_mutex.c
#, c-format
msgid "Failed to release mutex, err 0x%04x"
2018-09-25 15:10:44 -04:00
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "Failed to write internal flash."
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "Fatal error."
msgstr ""
#: py/moduerrno.c
msgid "File exists"
msgstr ""
2020-09-21 17:45:51 -04:00
#: ports/atmel-samd/common-hal/canio/Listener.c
#: ports/espressif/common-hal/canio/Listener.c
#: ports/stm/common-hal/canio/Listener.c
2020-09-21 17:45:51 -04:00
msgid "Filters too complex"
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
2020-12-23 22:52:27 -05:00
msgid "Firmware image is invalid"
msgstr ""
#: 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 ""
2020-08-11 16:37:10 -04:00
#: shared-module/framebufferio/FramebufferDisplay.c
#, c-format
msgid "Framebuffer requires %d bytes"
msgstr ""
2021-03-18 23:42:24 -04:00
#: shared-bindings/pwmio/PWMOut.c
msgid "Frequency must match existing PWMOut using this timer"
msgstr ""
#: 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 ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Generic Failure"
msgstr ""
#: 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
msgid "Group already used"
msgstr ""
2020-05-12 00:41:28 -04:00
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/stm/common-hal/busio/I2C.c
#: ports/stm/common-hal/busio/SPI.c ports/stm/common-hal/canio/CAN.c
#: ports/stm/common-hal/sdioio/SDCard.c
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
msgid "Hardware in use, try alternative pins"
msgstr ""
2020-10-13 04:52:02 -04:00
#: shared-bindings/wifi/Radio.c
2020-10-15 06:38:01 -04:00
msgid "Hostname must be between 1 and 253 characters"
2020-10-13 04:52:02 -04:00
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file"
msgstr ""
#: ports/stm/common-hal/busio/I2C.c
msgid "I2C Init Error"
msgstr ""
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/busio/I2C.c
msgid "I2C peripheral in use"
msgstr ""
2020-07-28 14:15:33 -04:00
#: shared-bindings/audiobusio/I2SOut.c
msgid "I2SOut not available"
msgstr ""
#: 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 ""
#: 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 ""
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
2020-11-10 06:02:46 -05:00
msgid "Initialization failed due to lack of memory"
msgstr ""
#: shared-bindings/bitops/__init__.c
#, c-format
msgid "Input buffer length (%d) must be a multiple of the strand count (%d)"
msgstr ""
2020-08-01 14:45:31 -04:00
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
msgid "Input taking too long"
msgstr ""
#: ports/espressif/common-hal/neopixel_write/__init__.c py/moduerrno.c
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 ""
#: 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 ""
#: 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 ""
#: ports/stm/common-hal/busio/UART.c
msgid "Internal define error"
msgstr ""
#: 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 ""
#: shared-bindings/sdioio/SDCard.c shared-module/usb_hid/Device.c
msgid "Invalid %q"
msgstr ""
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
#: ports/mimxrt10xx/common-hal/busio/UART.c
msgid "Invalid %q pin"
msgstr ""
2020-07-30 08:19:19 -04:00
#: ports/stm/common-hal/busio/I2C.c ports/stm/common-hal/busio/SPI.c
#: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/canio/CAN.c
#: ports/stm/common-hal/sdioio/SDCard.c
2020-07-30 08:19:19 -04:00
msgid "Invalid %q pin selection"
msgstr ""
#: ports/stm/common-hal/analogio/AnalogIn.c
msgid "Invalid ADC Unit value"
msgstr ""
#: ports/espressif/common-hal/wifi/Radio.c
2021-04-30 07:54:36 -04:00
msgid "Invalid AuthMode"
msgstr ""
2021-05-19 17:09:11 -04:00
#: ports/nrf/common-hal/_bleio/__init__.c
msgid "Invalid BLE parameter"
msgstr ""
#: shared-module/displayio/OnDiskBitmap.c
msgid "Invalid BMP file"
msgstr ""
2020-09-16 20:08:11 -04:00
#: shared-bindings/wifi/Radio.c
msgid "Invalid BSSID"
msgstr ""
#: ports/espressif/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied"
msgstr ""
#: shared-bindings/synthio/__init__.c
msgid "Invalid MIDI file"
msgstr ""
2020-08-25 19:40:45 -04:00
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
2021-04-02 15:34:16 -04:00
#: ports/cxd56/common-hal/pwmio/PWMOut.c
#: ports/espressif/common-hal/pwmio/PWMOut.c
2021-04-02 15:34:16 -04:00
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
#: ports/nrf/common-hal/pwmio/PWMOut.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
msgid "Invalid PWM frequency"
msgstr ""
#: ports/espressif/common-hal/analogio/AnalogIn.c
2020-12-08 18:57:19 -05:00
msgid "Invalid Pin"
msgstr ""
2021-10-09 17:03:42 -04:00
#: ports/espressif/bindings/espidf/__init__.c
#: ports/espressif/common-hal/busio/I2C.c
#: ports/espressif/common-hal/i2cperipheral/I2CPeripheral.c
#: ports/espressif/esp_error.c py/moduerrno.c
#: shared-module/rgbmatrix/RGBMatrix.c
msgid "Invalid argument"
msgstr ""
#: shared-module/displayio/Bitmap.c
msgid "Invalid bits per value"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c ports/raspberrypi/common-hal/busio/UART.c
#: ports/stm/common-hal/busio/UART.c
msgid "Invalid buffer size"
msgstr ""
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
2019-10-03 19:42:40 -04:00
msgid "Invalid byteorder string"
msgstr ""
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/espressif/common-hal/frequencyio/FrequencyIn.c
msgid "Invalid capture period. Valid range: 1 - 500"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-bindings/audiomixer/Mixer.c
msgid "Invalid channel count"
msgstr ""
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
#, c-format
msgid "Invalid data_count %d"
msgstr ""
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
#, c-format
msgid "Invalid data_pins[%d]"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Invalid direction."
msgstr ""
#: shared-module/audiocore/WaveFile.c
msgid "Invalid file"
msgstr ""
#: shared-module/audiocore/WaveFile.c
msgid "Invalid format chunk size"
msgstr ""
#: shared-bindings/wifi/Radio.c
msgid ""Invalid MAC address""
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "Invalid memory access."
msgstr ""
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
msgid "Invalid number of bits"
msgstr ""
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
2020-04-09 16:16:32 -04:00
#: shared-bindings/displayio/FourWire.c
msgid "Invalid phase"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
2020-11-01 07:30:07 -05:00
#: ports/atmel-samd/common-hal/touchio/TouchIn.c
#: ports/espressif/common-hal/alarm/touch/TouchAlarm.c
#: ports/espressif/common-hal/touchio/TouchIn.c
2021-02-25 11:28:13 -05:00
#: ports/nrf/common-hal/alarm/pin/PinAlarm.c shared-bindings/pwmio/PWMOut.c
2020-08-25 19:40:45 -04:00
#: shared-module/rgbmatrix/RGBMatrix.c
msgid "Invalid pin"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Invalid pin for left channel"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Invalid pin for right channel"
msgstr ""
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
2020-06-23 15:15:45 -04:00
#: ports/atmel-samd/common-hal/i2cperipheral/I2CPeripheral.c
#: ports/cxd56/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/SPI.c
2020-07-02 09:26:05 -04:00
#: ports/cxd56/common-hal/busio/UART.c ports/cxd56/common-hal/sdioio/SDCard.c
#: ports/espressif/common-hal/busio/I2C.c
#: ports/espressif/common-hal/busio/SPI.c
#: ports/espressif/common-hal/busio/UART.c
#: ports/espressif/common-hal/canio/CAN.c
2021-10-09 17:03:42 -04:00
#: ports/espressif/common-hal/i2cperipheral/I2CPeripheral.c
2020-07-02 09:26:05 -04:00
#: ports/mimxrt10xx/common-hal/busio/I2C.c
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/nrf/common-hal/busio/I2C.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/busio/I2C.c
#: ports/raspberrypi/common-hal/busio/SPI.c
#: ports/raspberrypi/common-hal/busio/UART.c shared-bindings/busio/SPI.c
#: shared-bindings/busio/UART.c
msgid "Invalid pins"
msgstr ""
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
2020-04-09 16:16:32 -04:00
#: shared-bindings/displayio/FourWire.c
msgid "Invalid polarity"
msgstr ""
2019-08-29 18:48:52 -04:00
#: shared-bindings/_bleio/Characteristic.c
msgid "Invalid properties"
msgstr ""
#: shared-bindings/microcontroller/__init__.c
msgid "Invalid run mode."
msgstr ""
2019-08-29 18:48:52 -04:00
#: shared-module/_bleio/Attribute.c
msgid "Invalid security_mode"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Invalid size"
msgstr ""
#: ports/espressif/common-hal/ssl/SSLContext.c
2020-12-21 14:14:31 -05:00
msgid "Invalid socket for TLS"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Invalid state"
msgstr ""
2019-08-29 23:17:28 -04:00
#: shared-bindings/audiomixer/Mixer.c
msgid "Invalid voice"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-bindings/audiomixer/Mixer.c
msgid "Invalid voice count"
msgstr ""
#: shared-module/audiocore/WaveFile.c
msgid "Invalid wave file"
msgstr ""
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
msgid "Invalid word/bit length"
msgstr ""
#: shared-bindings/aesio/aes.c
msgid "Key must be 16, 24, or 32 bytes long"
msgstr ""
#: py/compile.c
msgid "LHS of keyword arg must be an id"
msgstr ""
#: shared-module/displayio/Group.c
msgid "Layer already in a group."
msgstr ""
#: shared-module/displayio/Group.c
msgid "Layer must be a Group or TileGrid subclass."
msgstr ""
#: ports/espressif/common-hal/wifi/Radio.c
msgid "MAC address can't be a multicast address"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "MAC address was invalid"
msgstr ""
#: shared-module/bitbangio/SPI.c
msgid "MISO pin init failed."
msgstr ""
#: shared-module/bitbangio/SPI.c
msgid "MOSI pin init failed."
msgstr ""
#: shared-module/displayio/Shape.c
#, c-format
msgid "Maximum x value when mirrored is %d"
msgstr ""
2020-09-21 17:45:51 -04:00
#: shared-bindings/canio/Message.c
msgid "Messages limited to 8 bytes"
msgstr ""
#: shared-bindings/audiobusio/PDMIn.c
msgid "Microphone startup delay must be in range 0.0 to 1.0"
msgstr ""
2020-05-12 00:41:28 -04:00
#: ports/mimxrt10xx/common-hal/busio/SPI.c 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-28 10:31:47 -04:00
#: shared-module/usb_hid/Device.c
#, c-format
msgid "More than %d report ids not supported"
msgstr ""
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
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
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 ""
#: supervisor/shared/safe_mode.c
msgid "NLR jump failed. Likely memory corruption."
msgstr ""
#: ports/espressif/common-hal/nvm/ByteArray.c
2020-11-11 12:41:12 -05:00
msgid "NVS Error"
msgstr ""
#: py/qstr.c
2020-03-02 10:13:06 -05:00
msgid "Name too long"
msgstr ""
2019-08-29 18:48:52 -04:00
#: ports/nrf/common-hal/_bleio/Characteristic.c
msgid "No CCCD for this Characteristic"
msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c
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
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 ""
2020-12-08 18:57:19 -05:00
#: shared-module/adafruit_bus_device/I2CDevice.c
2020-10-26 17:54:24 -04:00
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
#: ports/espressif/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/stm/common-hal/busio/SPI.c
msgid "No MISO Pin"
msgstr ""
#: ports/espressif/common-hal/busio/SPI.c
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/stm/common-hal/busio/SPI.c
msgid "No MOSI Pin"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/espressif/common-hal/busio/UART.c
#: 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
msgid "No RX pin"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/espressif/common-hal/busio/UART.c
#: 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
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 ""
#: shared-bindings/_bleio/PacketBuffer.c
2020-05-04 19:52:24 -04:00
msgid "No connection: length cannot be determined"
msgstr ""
#: shared-bindings/board/__init__.c
msgid "No default %q bus"
2019-03-27 23:47:58 -04:00
msgstr ""
#: 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 ""
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
msgid "No hardware support on clk pin"
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
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
msgid "No hardware support on pin"
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 ""
#: 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 ""
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/espressif/common-hal/busio/I2C.c
#: 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 ""
#: py/moduerrno.c
msgid "No space left on device"
msgstr ""
#: 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 ""
#: supervisor/shared/safe_mode.c
2021-04-02 15:34:16 -04:00
msgid "Nordic system firmware failure assertion."
msgstr ""
#: ports/nrf/common-hal/_bleio/__init__.c
2021-04-02 15:34:16 -04:00
msgid "Nordic system firmware out of memory"
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 ""
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 ""
#: shared-bindings/audiobusio/I2SOut.c shared-bindings/audioio/AudioOut.c
#: 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 ""
#: 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 ""
#: ports/nrf/common-hal/busio/UART.c
msgid "Odd parity is not supported"
msgstr ""
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
2021-02-23 19:32:16 -05:00
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c
msgid "Only 8 or 16 bit mono with "
msgstr ""
#: ports/espressif/common-hal/wifi/__init__.c
2020-09-29 01:44:30 -04:00
msgid "Only IPv4 addresses supported"
msgstr ""
#: ports/espressif/common-hal/socketpool/SocketPool.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 ""
#: 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 ""
#: 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 ""
#: ports/espressif/common-hal/alarm/touch/TouchAlarm.c
msgid "Only one TouchAlarm can be set in deep sleep."
2020-11-27 23:57:59 -05:00
msgstr ""
2021-10-09 17:03:42 -04:00
#: ports/espressif/common-hal/i2cperipheral/I2CPeripheral.c
msgid "Only one address is allowed"
msgstr ""
2021-07-23 14:09:28 -04:00
#: ports/atmel-samd/common-hal/alarm/time/TimeAlarm.c
#: ports/espressif/common-hal/alarm/time/TimeAlarm.c
2021-02-21 01:37:51 -05:00
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
2021-04-21 17:34:13 -04:00
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
msgid "Only one alarm.time alarm can be set."
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 ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Operation or feature not supported"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Operation timed out"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Out of memory"
msgstr ""
#: ports/espressif/common-hal/socketpool/SocketPool.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 ""
#: shared-bindings/bitops/__init__.c
#, c-format
msgid "Output buffer must be at least %d bytes"
msgstr ""
#: 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 duty_cycle must be between 0 and 65535 inclusive (16 bit resolution)"
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 ""
2021-02-27 16:17:27 -05:00
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "PWM slice already in use"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "PWM slice channel A already in use"
msgstr ""
#: ports/espressif/common-hal/audiobusio/__init__.c
2020-12-29 17:31:29 -05:00
msgid "Peripheral in use"
msgstr ""
#: py/moduerrno.c
msgid "Permission denied"
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
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/bindings/rp2pio/StateMachine.c
msgid "Pin count must be at least 1"
msgstr ""
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
msgid "Pin count too large"
msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogIn.c
#: ports/cxd56/common-hal/analogio/AnalogIn.c
#: ports/espressif/common-hal/analogio/AnalogIn.c
#: ports/mimxrt10xx/common-hal/analogio/AnalogIn.c
#: ports/nrf/common-hal/analogio/AnalogIn.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/analogio/AnalogIn.c
#: ports/stm/common-hal/analogio/AnalogIn.c
msgid "Pin does not have ADC capabilities"
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 ""
2020-12-08 18:57:19 -05:00
#: shared-bindings/adafruit_bus_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 ""
#: 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 ""
#: 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 ""
#: main.c
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"
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 must contain at least one 16-bit instruction."
msgstr ""
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "Program size invalid"
msgstr ""
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "Program too large"
msgstr ""
2019-03-27 23:47:58 -04:00
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pull not used when direction is output."
msgstr ""
#: 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 ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG Init Error"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c ports/raspberrypi/common-hal/busio/UART.c
2021-01-17 22:30:41 -05:00
msgid "RS485 Not yet supported on this device"
msgstr ""
#: 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 ""
#: ports/cxd56/common-hal/rtc/RTC.c ports/espressif/common-hal/rtc/RTC.c
2020-09-29 01:44:30 -04:00
#: ports/mimxrt10xx/common-hal/rtc/RTC.c ports/nrf/common-hal/rtc/RTC.c
2021-02-01 13:30:00 -05:00
#: ports/raspberrypi/common-hal/rtc/RTC.c
msgid "RTC calibration is not supported on this board"
msgstr ""
2020-11-27 23:57:59 -05:00
#: shared-bindings/alarm/time/TimeAlarm.c shared-bindings/time/__init__.c
msgid "RTC is not supported on this board"
2019-01-18 14:44:53 -05:00
msgstr ""
2020-02-19 03:45:07 -05:00
#: ports/atmel-samd/common-hal/busio/UART.c ports/cxd56/common-hal/busio/UART.c
2021-01-17 22:30:41 -05:00
#: ports/stm/common-hal/busio/UART.c
2020-02-19 03:45:07 -05:00
msgid "RTS/CTS/RS485 Not yet supported on this device"
msgstr ""
#: 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
#: shared-bindings/pulseio/PulseIn.c
msgid "Read-only"
msgstr ""
#: extmod/vfs_fat.c py/moduerrno.c
msgid "Read-only filesystem"
msgstr ""
#: shared-module/displayio/Bitmap.c
msgid "Read-only object"
2019-01-31 12:38:29 -05:00
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Received response was invalid"
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 ""
#: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Requested resource not found"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
msgid "Right channel unsupported"
msgstr ""
#: main.c
msgid "Running in safe mode! Not running saved code.\n"
msgstr ""
2020-08-21 22:40:46 -04:00
#: shared-module/sdcardio/SDCard.c
msgid "SD card CSD format not supported"
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 ""
#: ports/stm/common-hal/busio/SPI.c
msgid "SPI Init Error"
msgstr ""
#: ports/stm/common-hal/busio/SPI.c
msgid "SPI Re-initialization error"
msgstr ""
#: ports/espressif/common-hal/busio/SPI.c
msgid "SPI configuration failed"
msgstr ""
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/busio/SPI.c
msgid "SPI peripheral in use"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-bindings/audiomixer/Mixer.c
msgid "Sample rate must be positive"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#, c-format
msgid "Sample rate too high. It must be less than %d"
msgstr ""
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 ""
#: 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 ""
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "Set pin count must be between 1 and 5"
msgstr ""
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "Side set pin count must be between 1 and 5"
msgstr ""
2020-09-02 09:44:51 -04:00
#: ports/cxd56/common-hal/camera/Camera.c
msgid "Size not supported"
msgstr ""
2021-07-23 14:09:28 -04:00
#: ports/atmel-samd/common-hal/alarm/SleepMemory.c
#: 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
msgid "Slice and value different lengths."
2018-08-20 12:39:11 -04:00
msgstr ""
#: 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
msgid "Slices not supported"
2018-08-20 12:39:11 -04:00
msgstr ""
#: 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 ""
#: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length"
msgstr ""
#: shared-bindings/paralleldisplay/ParallelBus.c
msgid "Specify exactly one of data0 or data_pins"
msgstr ""
#: extmod/modure.c
msgid "Splitting with sub-captures"
msgstr ""
#: shared-bindings/supervisor/__init__.c
msgid "Stack size must be at least 256"
2018-08-20 12:39:11 -04:00
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 ""
#: 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
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 ""
#: ports/stm/common-hal/microcontroller/Processor.c
msgid "Temperature read timed out"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid ""
"The CircuitPython heap was corrupted because the stack was too small.\n"
"Increase the stack size if you know how. If not:"
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 "
"exit safe mode."
2019-05-10 13:09:56 -04:00
msgstr ""
#: 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 ""
"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 "
"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 ""
#: 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-08-22 15:59:17 -04:00
#: shared-bindings/displayio/TileGrid.c
2019-07-19 13:38:59 -04:00
msgid "Tile value out of bounds"
2019-03-27 23:47:58 -04:00
msgstr ""
#: 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 ""
#: 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 ""
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
2021-02-23 19:32:16 -05:00
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
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 ""
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
msgid "Total data to write is larger than %q"
msgstr ""
2021-07-23 14:09:28 -04:00
#: ports/atmel-samd/common-hal/alarm/touch/TouchAlarm.c
#: 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 ""
#: 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 ""
#: ports/stm/common-hal/busio/UART.c
msgid "UART Buffer allocation error"
msgstr ""
#: ports/stm/common-hal/busio/UART.c
msgid "UART De-init error"
msgstr ""
#: ports/stm/common-hal/busio/UART.c
msgid "UART Init Error"
msgstr ""
#: ports/stm/common-hal/busio/UART.c
msgid "UART Re-init error"
msgstr ""
#: ports/stm/common-hal/busio/UART.c
msgid "UART write error"
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
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 ""
#: 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
msgid "Unable to allocate buffers for signed conversion"
msgstr ""
#: ports/espressif/common-hal/busio/I2C.c
2020-09-29 01:44:30 -04:00
msgid "Unable to create lock"
msgstr ""
2019-07-17 15:00:58 -04:00
#: shared-module/displayio/I2CDisplay.c
#, c-format
msgid "Unable to find I2C Display at %x"
msgstr ""
#: 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 ""
#: 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
msgid "Unexpected nrfx uuid type"
msgstr ""
#: 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 ""
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 ""
#: ports/nrf/common-hal/_bleio/__init__.c
#, c-format
msgid "Unknown gatt error: 0x%04x"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "Unknown reason."
msgstr ""
#: ports/nrf/common-hal/_bleio/__init__.c
#, c-format
msgid "Unknown security error: 0x%04x"
msgstr ""
#: ports/nrf/common-hal/_bleio/__init__.c
#, c-format
2021-04-02 15:34:16 -04:00
msgid "Unknown system firmware error: %04x"
msgstr ""
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
#, 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 ""
#: ports/atmel-samd/common-hal/busio/I2C.c ports/cxd56/common-hal/busio/I2C.c
#: ports/espressif/common-hal/busio/UART.c
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/common-hal/busio/I2C.c ports/stm/common-hal/busio/I2C.c
msgid "Unsupported baudrate"
msgstr ""
#: 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 ""
2021-05-19 17:09:11 -04:00
#: py/moduerrno.c
msgid "Unsupported operation"
msgstr ""
2019-03-27 23:47:58 -04:00
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
2020-12-23 22:52:27 -05:00
msgid "Update Failed"
msgstr ""
2019-08-29 18:48:52 -04:00
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
msgid "Value length != required fixed length"
msgstr ""
2019-08-29 18:48:52 -04:00
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
msgid "Value length > max_length"
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
2020-12-29 17:31:29 -05:00
msgid "Version was invalid"
msgstr ""
#: ports/stm/common-hal/microcontroller/Processor.c
msgid "Voltage read timed out"
msgstr ""
#: main.c
msgid "WARNING: Your code filename has two extensions\n"
msgstr ""
#: 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
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 ""
#: supervisor/shared/safe_mode.c
msgid "Watchdog timer expired."
msgstr ""
#: py/builtinhelp.c
#, c-format
msgid ""
"Welcome to Adafruit CircuitPython %s!\n"
"\n"
"Visit circuitpython.org for more information.\n"
"\n"
"To list built-in modules type `help(\"modules\")`.\n"
2019-08-15 21:54:52 -04:00
msgstr ""
2020-08-25 19:40:45 -04:00
#: shared-bindings/wifi/Radio.c
2020-09-03 19:32:12 -04:00
msgid "WiFi password must be between 8 and 63 characters"
2020-08-25 19:40:45 -04:00
msgstr ""
#: main.c
msgid "Woken up by alarm.\n"
msgstr ""
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
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 ""
#: 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'"
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
msgid "a bytes-like object is required"
msgstr ""
2020-06-23 15:15:45 -04:00
#: shared-bindings/i2cperipheral/I2CPeripheral.c
msgid "address out of bounds"
msgstr ""
2020-06-23 15:15:45 -04:00
#: shared-bindings/i2cperipheral/I2CPeripheral.c
msgid "addresses is empty"
msgstr ""
#: py/compile.c
msgid "annotation must be an identifier"
msgstr ""
#: py/modbuiltins.c
msgid "arg is an empty sequence"
msgstr ""
#: 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
msgid "argsort is not implemented for flattened arrays"
msgstr ""
#: py/runtime.c shared-bindings/supervisor/__init__.c
msgid "argument has wrong type"
msgstr ""
#: py/compile.c
msgid "argument name reused"
msgstr ""
#: py/argcheck.c shared-bindings/_stage/__init__.c
2021-07-29 23:06:24 -04:00
#: shared-bindings/digitalio/DigitalInOut.c
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 ""
#: extmod/ulab/code/ndarray.c
msgid "array and index length must be equal"
msgstr ""
2020-12-14 11:49:01 -05:00
#: py/objarray.c shared-bindings/alarm/SleepMemory.c
#: shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/numerical.c
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 ""
#: py/objstr.c
msgid "attributes not supported yet"
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/numerical.c
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
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
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 ""
#: 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
msgid "bad typecode"
msgstr ""
#: py/emitnative.c
msgid "binary op %q not implemented"
msgstr ""
#: 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 ""
#: shared-bindings/busio/UART.c
msgid "bits must be in range 5 to 9"
msgstr ""
2019-08-25 00:37:42 -04:00
#: shared-bindings/audiomixer/Mixer.c
msgid "bits_per_sample must be 8 or 16"
msgstr ""
#: py/emitinlinethumb.c
msgid "branch not in range"
msgstr ""
2021-04-03 14:22:28 -04:00
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
2021-01-14 15:16:11 -05:00
msgid "buffer is smaller than requested size"
msgstr ""
2021-04-03 14:22:28 -04:00
#: extmod/ulab/code/ulab_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 ""
#: 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 ""
#: 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 ""
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
2019-10-03 19:42:40 -04:00
msgid "byteorder is not a string"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/espressif/common-hal/busio/UART.c
msgid "bytes > 8 bits not supported"
msgstr ""
2020-09-12 16:11:02 -04:00
#: py/objarray.c
msgid "bytes length not a multiple of item size"
msgstr ""
#: py/objstr.c
msgid "bytes value out of range"
msgstr ""
2020-08-04 14:58:43 -04:00
#: ports/atmel-samd/bindings/samd/Clock.c ports/atmel-samd/common-hal/rtc/RTC.c
msgid "calibration is out of range"
msgstr ""
#: ports/atmel-samd/bindings/samd/Clock.c
msgid "calibration is read only"
msgstr ""
#: ports/atmel-samd/common-hal/rtc/RTC.c
msgid "calibration value out of range +/-127"
msgstr ""
#: 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 ""
#: extmod/moduasyncio.c
msgid "can't cancel self"
msgstr ""
2020-08-21 22:40:46 -04:00
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
#: shared-module/adafruit_pixelbuf/PixelBuf.c
2020-08-04 14:58:43 -04:00
msgid "can't convert %q to %q"
msgstr ""
#: py/runtime.c
msgid "can't convert %q to int"
msgstr ""
#: py/obj.c
#, c-format
msgid "can't convert %s to complex"
msgstr ""
#: py/objstr.c
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: py/obj.c
2020-08-04 14:58:43 -04:00
msgid "can't convert to %q"
msgstr ""
#: py/obj.c
msgid "can't convert to complex"
msgstr ""
#: py/runtime.c
msgid "can't convert to int"
msgstr ""
#: 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 ""
#: 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
msgid "can't set 512 block size"
msgstr ""
#: 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 ""
#: extmod/ulab/code/ndarray_operators.c
msgid "cannot cast output with casting rule"
msgstr ""
#: 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 ""
#: py/builtinimport.c
msgid "cannot perform relative import"
msgstr ""
#: extmod/moductypes.c
msgid "cannot unambiguously get sizeof scalar"
msgstr ""
#: py/emitnative.c
msgid "casting"
msgstr ""
#: 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 ""
2020-05-09 19:45:55 -04:00
#: shared-module/vectorio/Circle.c
msgid "circle can only be registered in one parent"
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 ""
#: 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"
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 ""
#: py/emitnative.c
msgid "comparison of int and uint"
msgstr ""
#: py/objcomplex.c
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
msgid "complex values not supported"
msgstr ""
#: extmod/moduzlib.c
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 ""
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
msgid "couldn't determine SD card version"
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/numerical.c
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 ""
#: 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 ""
#: 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 ""
#: 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
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 ""
#: 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
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
#: ports/espressif/common-hal/rotaryio/IncrementalEncoder.c
msgid "divisor must be 4"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
#: extmod/moduasyncio.c extmod/moduheapq.c extmod/modutimeq.c
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 ""
#: ports/nrf/common-hal/busio/UART.c
#, c-format
msgid "error = 0x%08lX"
msgstr ""
#: 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 ""
#: 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 ""
#: 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
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/synthio/__init__.c
#: shared-module/gifio/GifWriter.c
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 ""
#: 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 ""
#: extmod/ulab/code/ulab_create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/vector.c
msgid "first argument must be an ndarray"
msgstr ""
#: 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 ""
#: py/objint.c
msgid "float too big"
msgstr ""
#: py/nativeglue.c
msgid "float unsupported"
msgstr ""
#: shared-bindings/_stage/Text.c
msgid "font must be 2048 bytes long"
msgstr ""
#: py/objstr.c
msgid "format requires a dict"
msgstr ""
#: py/objdeque.c
msgid "full"
msgstr ""
#: py/argcheck.c
msgid "function doesn't take keyword arguments"
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 ""
#: extmod/ulab/code/ndarray.c
msgid "function is defined for ndarrays only"
2020-04-27 21:35:11 -04:00
msgstr ""
#: 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
#, 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 ""
#: py/objgenerator.c py/runtime.c
msgid "generator raised StopIteration"
msgstr ""
#: 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 ""
#: 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 ""
#: py/compile.c
msgid "import * not at module level"
msgstr ""
#: py/persistentcode.c
msgid "incompatible native .mpy architecture"
msgstr ""
#: py/objstr.c
msgid "incomplete format"
msgstr ""
#: py/objstr.c
msgid "incomplete format key"
msgstr ""
#: extmod/modubinascii.c
msgid "incorrect padding"
msgstr ""
2020-02-04 11:24:37 -05:00
#: extmod/ulab/code/ndarray.c
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
#: ports/espressif/common-hal/pulseio/PulseIn.c py/obj.c
#: shared-bindings/bitmaptools/__init__.c
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 ""
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 ""
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_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 ""
#: extmod/ulab/code/ulab_create.c
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 ""
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 ""
2021-06-10 14:00:21 -04:00
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr ""
#: extmod/ulab/code/ulab_create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
2021-04-01 16:30:22 -04:00
#: extmod/ulab/code/scipy/signal/signal.c
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
msgid "inputs are not iterable"
msgstr ""
#: 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
#, c-format
msgid "interval must be in range %s-%s"
msgstr ""
#: 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 ""
#: 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 ""
#: py/compile.c
msgid "invalid micropython decorator"
msgstr ""
#: 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 ""
#: py/objexcept.c
2021-08-04 02:52:21 -04:00
msgid "invalid traceback"
msgstr ""
#: 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 ""
#: 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 ""
#: 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 ""
#: ports/espressif/common-hal/canio/CAN.c
2020-10-21 12:30:33 -04:00
msgid "loopback + silent mode not supported by peripheral"
msgstr ""
2020-03-09 09:19:46 -04:00
#: py/parse.c
msgid "malformed f-string"
msgstr ""
#: 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
msgid "matrix is not positive definite"
msgstr ""
2019-08-29 18:48:52 -04:00
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
msgid "max_length must be 0-%d when fixed_length is %s"
msgstr ""
2020-08-21 11:37:15 -04:00
#: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c
2020-12-23 22:52:27 -05:00
msgid "max_length must be >= 0"
2020-08-21 11:37:15 -04:00
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "maximum number of dimensions is 4"
msgstr ""
#: 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 ""
#: 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 ""
#: py/builtinimport.c
msgid "module not found"
msgstr ""
#: 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 ""
#: 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 ""
#: py/runtime.c
msgid "name '%q' is not defined"
2019-03-27 23:47:58 -04:00
msgstr ""
#: py/runtime.c
msgid "name not defined"
2019-03-27 23:47:58 -04:00
msgstr ""
#: py/asmthumb.c
msgid "native method too big"
msgstr ""
#: py/emitnative.c
msgid "native yield"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/runtime.c
#, c-format
msgid "need more than %d values to unpack"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/modmath.c
msgid "negative factorial"
msgstr ""
#: 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 ""
#: 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
msgid "no SD card"
msgstr ""
#: py/vm.c
msgid "no active exception to reraise"
2018-07-31 19:53:54 -04:00
msgstr ""
#: 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 ""
#: extmod/modurandom.c
msgid "no default seed"
msgstr ""
#: 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
msgid "no response from SD card"
msgstr ""
#: py/objobject.c py/runtime.c
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 ""
2019-10-21 22:50:17 -04:00
#: ports/nrf/common-hal/_bleio/Connection.c
msgid "non-UUID found in service_uuids_whitelist"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/compile.c
msgid "non-default argument follows default argument"
2018-07-31 19:53:54 -04:00
msgstr ""
#: extmod/modubinascii.c
msgid "non-hex digit found"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/compile.c
msgid "non-keyword arg after */**"
2018-07-31 19:53:54 -04:00
msgstr ""
#: 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"
msgstr ""
2019-08-29 18:48:52 -04:00
#: shared-bindings/_bleio/UUID.c
msgid "not a 128-bit UUID"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/objstr.c
msgid "not all arguments converted during string formatting"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/objstr.c
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
2020-02-04 11:24:37 -05:00
msgid "number of points must be at least 2"
msgstr ""
#: py/builtinhelp.c
msgid "object "
msgstr ""
#: py/obj.c
#, c-format
msgid "object '%s' isn't a tuple or list"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/obj.c
msgid "object doesn't support item assignment"
msgstr ""
#: py/obj.c
msgid "object doesn't support item deletion"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/obj.c
msgid "object has no len"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/obj.c
msgid "object isn't subscriptable"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/runtime.c
msgid "object not an iterator"
2018-07-31 19:53:54 -04:00
msgstr ""
#: py/objtype.c py/runtime.c
msgid "object not callable"
2018-07-31 19:53:54 -04:00
msgstr ""
#: 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 ""
#: py/runtime.c
msgid "object not iterable"
msgstr ""
#: py/obj.c
#, c-format
msgid "object of type '%s' has no len()"
msgstr ""
#: py/obj.c
msgid "object with buffer protocol required"
msgstr ""
#: extmod/modubinascii.c
msgid "odd-length string"
msgstr ""
2021-04-03 14:22:28 -04:00
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
2020-12-23 22:52:27 -05:00
#: shared-bindings/dualbank/__init__.c
msgid "offset must be >= 0"
msgstr ""
2021-01-14 15:16:11 -05:00
#: extmod/ulab/code/ulab_create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
#: 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 ""
2020-05-09 19:45:55 -04:00
#: shared-module/vectorio/Polygon.c
msgid "polygon can only be registered in one parent"
msgstr ""
#: ports/espressif/common-hal/pulseio/PulseIn.c
2020-09-29 01:44:30 -04:00
msgid "pop from an empty PulseIn"
msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: 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
msgid "pop from empty %q"
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 ""
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
#: py/objint_mpz.c
msgid "pow() with 3 arguments requires integers"
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/boards/adafruit_feather_esp32s2/mpconfigboard.h
#: ports/espressif/boards/adafruit_feather_esp32s2_nopsram/mpconfigboard.h
#: ports/espressif/boards/adafruit_feather_esp32s2_tftback_nopsram/mpconfigboard.h
#: ports/espressif/boards/adafruit_funhouse/mpconfigboard.h
#: ports/espressif/boards/adafruit_magtag_2.9_grayscale/mpconfigboard.h
#: ports/espressif/boards/adafruit_metro_esp32s2/mpconfigboard.h
2021-10-09 17:03:42 -04:00
#: ports/espressif/boards/ai_thinker_esp32-c3s/mpconfigboard.h
#: ports/espressif/boards/ai_thinker_esp_12k_nodemcu/mpconfigboard.h
#: ports/espressif/boards/artisense_rd00/mpconfigboard.h
#: ports/espressif/boards/atmegazero_esp32s2/mpconfigboard.h
#: ports/espressif/boards/crumpspace_crumps2/mpconfigboard.h
#: ports/espressif/boards/electroniccats_bastwifi/mpconfigboard.h
#: ports/espressif/boards/espressif_hmi_devkit_1/mpconfigboard.h
#: ports/espressif/boards/espressif_kaluga_1.3/mpconfigboard.h
#: ports/espressif/boards/espressif_kaluga_1/mpconfigboard.h
#: ports/espressif/boards/espressif_saola_1_wroom/mpconfigboard.h
#: ports/espressif/boards/espressif_saola_1_wrover/mpconfigboard.h
#: ports/espressif/boards/franzininho_wifi_wroom/mpconfigboard.h
#: ports/espressif/boards/franzininho_wifi_wrover/mpconfigboard.h
#: ports/espressif/boards/gravitech_cucumber_m/mpconfigboard.h
#: ports/espressif/boards/gravitech_cucumber_ms/mpconfigboard.h
#: ports/espressif/boards/gravitech_cucumber_r/mpconfigboard.h
#: ports/espressif/boards/gravitech_cucumber_rs/mpconfigboard.h
#: ports/espressif/boards/lilygo_ttgo_t8_s2_st7789/mpconfigboard.h
#: ports/espressif/boards/lolin_s2_mini/mpconfigboard.h
#: ports/espressif/boards/lolin_s2_pico/mpconfigboard.h
2021-10-09 17:03:42 -04:00
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
#: ports/espressif/boards/muselab_nanoesp32_s2_wroom/mpconfigboard.h
#: ports/espressif/boards/muselab_nanoesp32_s2_wrover/mpconfigboard.h
#: ports/espressif/boards/odt_pixelwing_esp32_s2/mpconfigboard.h
#: ports/espressif/boards/targett_module_clip_wroom/mpconfigboard.h
#: ports/espressif/boards/targett_module_clip_wrover/mpconfigboard.h
#: ports/espressif/boards/unexpectedmaker_feathers2/mpconfigboard.h
#: ports/espressif/boards/unexpectedmaker_feathers2_neo/mpconfigboard.h
#: ports/espressif/boards/unexpectedmaker_feathers2_prerelease/mpconfigboard.h
#: ports/espressif/boards/unexpectedmaker_tinys2/mpconfigboard.h
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 ""
#: 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 ""
2021-02-23 20:26:11 -05:00
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "pull_threshold must be between 1 and 32"
msgstr ""
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
msgid "push_threshold must be between 1 and 32"
msgstr ""
#: 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 ""
#: py/builtinimport.c
msgid "relative import"
msgstr ""
#: py/obj.c
#, c-format
msgid "requested length %d but object has length %d"
msgstr ""
#: extmod/ulab/code/ndarray_operators.c
msgid "results cannot be cast to specified type"
msgstr ""
#: 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 ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/numerical.c
msgid "roll argument must be an ndarray"
2020-02-04 11:24:37 -05:00
msgstr ""
#: 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
msgid "sampling rate out of range"
msgstr ""
#: py/modmicropython.c
msgid "schedule queue full"
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
msgid "script compilation not supported"
msgstr ""
#: py/nativeglue.c
msgid "set unsupported"
msgstr ""
2020-02-04 11:24:37 -05:00
#: extmod/ulab/code/ndarray.c
msgid "shape must be a tuple"
2020-02-04 11:24:37 -05:00
msgstr ""
#: shared-module/msgpack/__init__.c
msgid "short read"
msgstr ""
#: 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
msgid "sleep length must be non-negative"
msgstr ""
#: extmod/ulab/code/ndarray.c
2020-07-01 11:33:38 -04:00
msgid "slice step can't be zero"
msgstr ""
#: py/objslice.c
msgid "slice step cannot be zero"
msgstr ""
#: py/nativeglue.c
msgid "slice unsupported"
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 ""
#: 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 ""
#: py/objstr.c
msgid "start/end indices"
msgstr ""
#: shared-bindings/displayio/Shape.c
msgid "start_x should be an int"
2018-07-31 19:53:54 -04:00
msgstr ""
#: shared-bindings/random/__init__.c
msgid "step must be non-zero"
2019-01-20 22:46:32 -05:00
msgstr ""
#: shared-bindings/busio/UART.c
msgid "stop must be 1 or 2"
msgstr ""
#: shared-bindings/random/__init__.c
msgid "stop not reachable from start"
msgstr ""
2021-08-08 05:45:15 -04:00
#: py/stream.c shared-bindings/getpass/__init__.c
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"
msgstr ""
#: py/stream.c
msgid "string not supported; use bytes or bytearray"
msgstr ""
#: extmod/moductypes.c
msgid "struct: can't index"
msgstr ""
#: extmod/moductypes.c
msgid "struct: index out of range"
msgstr ""
#: extmod/moductypes.c
msgid "struct: no fields"
msgstr ""
2020-07-17 21:03:52 -04:00
#: py/objarray.c py/objstr.c
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 ""
#: shared-bindings/touchio/TouchIn.c
msgid "threshold must be in the range 0-65536"
msgstr ""
2018-12-06 20:04:22 -05:00
2021-01-26 16:04:45 -05:00
#: shared-bindings/rgbmatrix/RGBMatrix.c
2021-01-26 16:05:24 -05:00
msgid "tile must be greater than zero"
2021-01-26 16:04:45 -05:00
msgstr ""
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
2019-01-18 14:44:53 -05:00
msgstr ""
#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
2021-01-28 09:32:00 -05:00
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "timeout duration exceeded the maximum supported value"
msgstr ""
#: 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 ""
2019-08-29 18:48:52 -04:00
#: shared-bindings/_bleio/CharacteristicBuffer.c
msgid "timeout must be >= 0.0"
2018-12-06 20:04:22 -05:00
msgstr ""
2020-08-21 22:40:46 -04:00
#: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v1 card"
msgstr ""
2020-08-21 22:40:46 -04:00
#: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v2 card"
msgstr ""
#: shared-bindings/time/__init__.c
msgid "timestamp out of range for platform time_t"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "tobytes can be invoked for dense arrays only"
msgstr ""
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
2018-12-06 20:04:22 -05:00
msgstr ""
2021-04-01 16:30:22 -04:00
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_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 ""
#: py/asmthumb.c
msgid "too many locals for native method"
msgstr ""
#: 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"
msgstr ""
#: py/obj.c
msgid "tuple/list has wrong length"
msgstr ""
#: 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 ""
#: 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
#: 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
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 ""
#: 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"
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'"
msgstr ""
#: py/compile.c
msgid "unknown type"
msgstr ""
#: py/compile.c
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
#: shared-module/vectorio/Polygon.c shared-module/vectorio/VectorShape.c
2019-04-11 07:50:02 -04:00
msgid "unsupported %q type"
msgstr ""
#: 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 ""
#: shared-module/gifio/GifWriter.c
msgid "unsupported colorspace for GifWriter"
msgstr ""
#: shared-bindings/bitmaptools/__init__.c
msgid "unsupported colorspace for dither"
msgstr ""
#: 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'"
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'"
msgstr ""
#: 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 ""
#: shared-bindings/displayio/Bitmap.c
msgid "value_count must be > 0"
2018-12-06 20:04:22 -05:00
msgstr ""
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
2020-11-10 06:02:46 -05:00
msgid "watchdog not initialized"
msgstr ""
#: shared-bindings/watchdog/WatchDogTimer.c
msgid "watchdog timeout must be greater than 0"
msgstr ""
#: shared-bindings/bitops/__init__.c
2021-02-18 18:23:55 -05:00
#, c-format
msgid "width must be from 2 to 8 (inclusive), not %d"
msgstr ""
#: shared-bindings/rgbmatrix/RGBMatrix.c
msgid "width must be greater than zero"
msgstr ""
#: ports/espressif/common-hal/wifi/Radio.c
msgid "wifi is not enabled"
msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "wifi ssid must be between 1 and 32 characters"
msgstr ""
2019-10-21 22:50:17 -04:00
#: shared-bindings/_bleio/Adapter.c
msgid "window must be <= interval"
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/numerical.c
msgid "wrong axis index"
2020-02-04 11:24:37 -05:00
msgstr ""
#: extmod/ulab/code/ulab_create.c
msgid "wrong axis specified"
2020-02-04 11:24:37 -05:00
msgstr ""
2021-07-21 20:38:58 -04:00
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
2020-06-01 20:11:20 -04:00
msgid "wrong input type"
msgstr ""
2021-07-07 10:08:04 -04:00
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
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 ""
#: 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 ""
#: ports/espressif/common-hal/audiobusio/__init__.c
2020-12-29 17:31:29 -05:00
msgid "xTaskCreate failed"
msgstr ""
#: 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 ""
#: 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 ""
#: 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 ""