Merge branch 'main' into board-bus

This commit is contained in:
microDev 2022-01-21 10:08:39 +05:30
commit 67293c265c
No known key found for this signature in database
GPG Key ID: 2C0867BE60967730
396 changed files with 11570 additions and 2048 deletions

View File

@ -30,10 +30,10 @@ jobs:
with:
submodules: false
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- name: Get CP deps
run: python tools/ci_fetch_deps.py test ${{ github.sha }}
- name: CircuitPython version
@ -136,10 +136,10 @@ jobs:
with:
submodules: false
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- name: Get CP deps
run: python tools/ci_fetch_deps.py mpy-cross-mac ${{ github.sha }}
- name: CircuitPython version
@ -202,10 +202,10 @@ jobs:
run: |
git describe --dirty --tags
echo >>$GITHUB_ENV CP_VERSION=$(git describe --dirty --tags)
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- name: Install dependencies
run: |
sudo apt-get update
@ -241,7 +241,7 @@ jobs:
zip -9r circuitpython-stubs.zip circuitpython-stubs
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs/dist/*.tar.gz s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
- name: Upload stubs to PyPi
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
if: github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested')
env:
TWINE_USERNAME: ${{ secrets.pypi_username }}
TWINE_PASSWORD: ${{ secrets.pypi_password }}
@ -260,10 +260,10 @@ jobs:
board: ${{ fromJSON(needs.test.outputs.boards-arm) }}
if: ${{ needs.test.outputs.boards-arm != '[]' }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- uses: actions/checkout@v2.2.0
with:
submodules: false
@ -312,10 +312,10 @@ jobs:
board: ${{ fromJSON(needs.test.outputs.boards-riscv) }}
if: ${{ needs.test.outputs.boards-riscv != '[]' }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- uses: actions/checkout@v2.2.0
with:
submodules: false
@ -364,10 +364,10 @@ jobs:
board: ${{ fromJSON(needs.test.outputs.boards-espressif) }}
if: ${{ needs.test.outputs.boards-espressif != '[]' }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- uses: actions/checkout@v2.2.0
with:
submodules: false
@ -451,10 +451,10 @@ jobs:
board: ${{ fromJSON(needs.test.outputs.boards-aarch) }}
if: ${{ needs.test.outputs.boards-aarch != '[]' }}
steps:
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- uses: actions/checkout@v2.2.0
with:
submodules: false

View File

@ -20,10 +20,10 @@ jobs:
with:
submodules: false
fetch-depth: 1
- name: Set up Python 3.8
uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.x"
- name: Get CP deps
run: python tools/ci_fetch_deps.py website ${{ github.sha }}
- name: Install deps

View File

@ -13,7 +13,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2.2.0
- uses: actions/setup-python@v1
- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install deps
run: |
sudo apt-add-repository -y -u ppa:pybricks/ppa

2
.gitmodules vendored
View File

@ -148,7 +148,7 @@
url = https://github.com/adafruit/Adafruit_CircuitPython_RFM69.git
[submodule "ports/espressif/esp-idf"]
path = ports/espressif/esp-idf
url = https://github.com/espressif/esp-idf.git
url = https://github.com/adafruit/esp-idf.git
branch = release/v4.4
[submodule "ports/espressif/certificates/nina-fw"]
path = ports/espressif/certificates/nina-fw

View File

@ -4,7 +4,7 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v4.0.1
hooks:
- id: check-yaml
- id: end-of-file-fixer

View File

@ -11,7 +11,7 @@ version: 2
build:
os: ubuntu-20.04
tools:
python: "3.9"
python: "3"
submodules:
include:
@ -22,4 +22,4 @@ formats:
python:
install:
- requirements: docs/requirements.txt
- requirements: requirements-doc.txt

View File

@ -15,7 +15,7 @@ https://learn.adafruit.com/building-circuitpython/
## Setup
Please ensure you setup your build environment appropriately, as per the guide. You will need:
Please ensure you set up your build environment appropriately, as per the guide. You will need:
* Linux: https://learn.adafruit.com/building-circuitpython/linux
* MacOS: https://learn.adafruit.com/building-circuitpython/macos
@ -25,8 +25,9 @@ Please ensure you setup your build environment appropriately, as per the guide.
This project has a bunch of git submodules. You will need to update them regularly.
git submodule sync
git submodule update --init
In the root folder of the CircuitPython repository, execute the following:
make fetch-submodules
### Required Python Packages
@ -100,7 +101,7 @@ We apply code quality checks using pre-commit. Install pre-commit once per syst
Activate it once per git clone with
pre-commit --install
pre-commit install
Pre-commit also requires some additional programs to be installed through your package manager:

View File

@ -95,11 +95,11 @@ Supported operators and special sequences are:
Example::
import ure
import re
# As ure doesn't support escapes itself, use of r"" strings is not
# As re doesn't support escapes itself, use of r"" strings is not
# recommended.
regex = ure.compile("[\r\n]")
regex = re.compile("[\r\n]")
regex.split("line1\rline2\nline3\r\n")

View File

@ -1,8 +0,0 @@
sphinx<4
myst-parser==0.14.0
sphinxcontrib-svg2pdfconverter==0.1.0
astroid
sphinx-autoapi
isort
black
readthedocs-sphinx-search

4
docs/templates/breadcrumbs.html vendored Normal file
View File

@ -0,0 +1,4 @@
{%- extends "sphinx_rtd_theme/breadcrumbs.html" %}
{% block breadcrumbs_aside %}
{% endblock %}

@ -1 +1 @@
Subproject commit c03990cc56283417e752246c2738199f65d1b7ef
Subproject commit 0c7c6b88f3ec1b1d11d2f7d8b185e28ac657c06d

@ -1 +1 @@
Subproject commit 781f46b73f71817b709d2e279fc188a7c1e69423
Subproject commit a695cde1b1cc957bcd10875b12ae82d1deeb0157

@ -1 +1 @@
Subproject commit 92a6ce1da70c0c4f69ef34fc0d7ec7155cc2441f
Subproject commit 4fc5a32763c4a6eac3a9446e296a9e925cc29a5c

@ -1 +1 @@
Subproject commit 313c17cbb590ef8d505845369eb3b78c25c97fae
Subproject commit 993bd12e1747ec117e8d104a5e9f4659c8a347a3

@ -1 +1 @@
Subproject commit ca141954c0b39cc0343c63bedb64c02f307159b9
Subproject commit 0ec87891f9a28ee3c5ae3b020b60d361684f466d

@ -1 +1 @@
Subproject commit e25c1801c5428598f543873bb846851b78efb329
Subproject commit de4829a027a45882ae5477e50a75985e0e59f759

@ -1 +1 @@
Subproject commit ed41dd44605110f1d1411ed694ec2b5676dd8d9c
Subproject commit 8fc5eaecb3e24e4109bcc788f41461f1c45c3719

@ -1 +1 @@
Subproject commit daff8cdca78637915bea2f3a120cc84578516195
Subproject commit ebbe69667d53ae76bc6d82e5296f87520ffbb5ae

@ -1 +1 @@
Subproject commit 9873446ebde5779c03c2bd4e3e544a801fb27bd5
Subproject commit f94ef67425516f23c889d217ffe5a3a710c1d278

@ -1 +1 @@
Subproject commit 88e5ae51427aa690de129c157223e93bf936ac41
Subproject commit 9995c45a5ed1d455a4a8b7bfb9eb134de7f2b9db

@ -1 +1 @@
Subproject commit e4f7cd083dea8eb103954e7703bbb487491b433f
Subproject commit 4ac43288938abb4c3db127eeb79ef0d4ea4c16ea

@ -1 +1 @@
Subproject commit 70ef86dc1a42138efcab01945d5a421e45f2408e
Subproject commit 9ac490905834466319279a3390c914f1fd83733f

@ -1 +1 @@
Subproject commit 379209dd7e4374c262b84256778d7895693e7fb6
Subproject commit 0df4521b4a04ca1236960ff889ede118ec4305b5

@ -1 +1 @@
Subproject commit 5b699a609197fb42aa059788c7c824c346d57c4e
Subproject commit 755784b6acc8ba419a085bee2d2dc4374f0d0030

@ -1 +1 @@
Subproject commit 0450119e163df782930a887022e197d6d25ca666
Subproject commit f06ac21e96321724258e00f7596d874eff53f0b8

@ -1 +1 @@
Subproject commit 7fe6406affb1376193102cf76ded06e61316d7e6
Subproject commit d0a07e14adcd71a7c22bcceb16c55aadb5e0d104

View File

@ -420,7 +420,10 @@ static sdmmc_err_t cis_tuple_func_manfid(const void* p, uint8_t* data, FILE* fp)
int size = *(data++);
fprintf(fp, "TUPLE: %s, size: %d\n", tuple->name, size);
CIS_CHECK_SIZE(size, 4);
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
fprintf(fp, " MANF: %04X, CARD: %04X\n", *(uint16_t*)(data), *(uint16_t*)(data+2));
#pragma GCC diagnostic pop
return SDMMC_OK;
}
@ -480,7 +483,10 @@ static sdmmc_err_t cis_tuple_func_cftable_entry(const void* p, uint8_t* data, FI
CIS_CHECK_SIZE(size, 2);
size-=2;
CIS_CHECK_UNSUPPORTED(mem_space==1); //other cases not handled yet
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wcast-align"
int len = *(uint16_t*)data;
#pragma GCC diagnostic pop
fprintf(fp, " LEN: %04X\n", len);
data+=2;
}

@ -1 +1 @@
Subproject commit ae73873b5cba0eb11c89165f4559964940430d44
Subproject commit 3b09b82123a50bef6b18cf90c2734ae7581da4a3

View File

@ -152,6 +152,10 @@ msgstr "%q harus antara %d dan %d"
msgid "%q must be of type %q"
msgstr "%q harus bertipe %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q harus pangkat 2"
@ -669,6 +673,10 @@ msgstr "Bytes harus di antara 0 dan 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Blok CBC harus merupakan kelipatan 16 byte"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1613,7 +1621,7 @@ msgstr "tidak ada channel DMA ditemukan"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1920,7 +1928,7 @@ msgstr "Pin tidak mempunya kemampuan untuk ADC (Analog Digital Converter)"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -2007,6 +2015,10 @@ msgstr "Pull tidak digunakan saat arah output."
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "Kesalahan DeInit RNG"
@ -2480,10 +2492,6 @@ msgstr "Format tidak didukung"
msgid "Unsupported operation"
msgstr "Operasi yang tidak didukung"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Nilai tarikan yang tidak didukung."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2653,7 +2661,7 @@ msgstr "berusaha mendapatkan argmin/argmax dari urutan kosong"
msgid "attributes not supported yet"
msgstr "atribut belum didukung"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2709,11 +2717,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2763,6 +2771,10 @@ msgstr "kalibrasi adalah read only"
msgid "calibration value out of range +/-127"
msgstr "nilai kalibrasi keluar dari jangkauan +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "hanya mampu memiliki hingga 4 parameter untuk Thumb assembly"
@ -2801,6 +2813,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2895,6 +2911,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3086,6 +3110,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3189,7 +3217,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3254,6 +3282,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3367,7 +3399,7 @@ msgstr "inline assembler harus sebuah fungsi"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3375,7 +3407,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3383,6 +3415,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3392,18 +3428,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3774,7 +3818,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3832,7 +3880,7 @@ msgstr ""
msgid "odd-length string"
msgstr "panjang data string memiliki keganjilan (odd-length)"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3840,7 +3888,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3995,7 +4043,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4010,7 +4060,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4319,7 +4368,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4520,7 +4569,7 @@ msgstr "jendela harus <= interval"
msgid "wrong axis index"
msgstr "indeks sumbu salah"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "sumbu yang ditentukan salah"
@ -4528,7 +4577,11 @@ msgstr "sumbu yang ditentukan salah"
msgid "wrong input type"
msgstr "tipe input salah"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "jumlah argumen salah"
@ -4572,6 +4625,9 @@ msgstr "zi harus berjenis float"
msgid "zi must be of shape (n_section, 2)"
msgstr "Zi harus berbentuk (n_section, 2)"
#~ msgid "Unsupported pull value."
#~ msgstr "Nilai tarikan yang tidak didukung."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -144,6 +144,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -659,6 +663,10 @@ msgstr ""
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1592,7 +1600,7 @@ msgstr ""
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1892,7 +1900,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1974,6 +1982,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2443,10 +2455,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2616,7 +2624,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2672,11 +2680,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2726,6 +2734,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2764,6 +2776,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2858,6 +2874,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3049,6 +3073,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3152,7 +3180,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3217,6 +3245,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3330,7 +3362,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3338,7 +3370,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3346,6 +3378,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3355,18 +3391,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3737,7 +3781,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3795,7 +3843,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3803,7 +3851,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3957,7 +4005,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3972,7 +4022,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4281,7 +4330,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4482,7 +4531,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4490,7 +4539,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -6,27 +6,31 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
"PO-Revision-Date: 2020-12-04 18:33+0000\n"
"Last-Translator: vkuthan <vit.kuthan@seznam.cz>\n"
"PO-Revision-Date: 2021-12-23 01:53+0000\n"
"Last-Translator: dronecz <mzuzelka@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: cs\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
"X-Generator: Weblate 4.4-dev\n"
"X-Generator: Weblate 4.10.1\n"
#: main.c
msgid ""
"\n"
"Code done running.\n"
msgstr ""
"\n"
"Program byl dokončen.\n"
#: main.c
msgid ""
"\n"
"Code stopped by auto-reload.\n"
msgstr ""
"\n"
"Program byl zastaven automatickým načtením.\n"
#: supervisor/shared/safe_mode.c
msgid ""
@ -35,7 +39,7 @@ msgid ""
"https://github.com/adafruit/circuitpython/issues\n"
msgstr ""
"\n"
"Založte prosím problém s obsahem vaší jednotky CIRCUITPY na adrese\n"
"Prosím vytvořte tiket s obsahem vaší jednotky CIRCUITPY na adrese\n"
"https://github.com/adafruit/circuitpython/issues\n"
#: py/obj.c
@ -48,11 +52,11 @@ msgstr " Soubor \"%q\", řádek %d"
#: py/builtinhelp.c
msgid " is of type %q\n"
msgstr ""
msgstr " je typu %q\n"
#: main.c
msgid " not found.\n"
msgstr ""
msgstr " nenalezen\n"
#: main.c
msgid " output:\n"
@ -67,23 +71,23 @@ msgstr "%%c vyžaduje int nebo char"
#, c-format
msgid ""
"%d address pins, %d rgb pins and %d tiles indicate a height of %d, not %d"
msgstr ""
msgstr "%d adresní pin, %d rgb pin a %d dlaždice indikuje výšku %d, ne %d"
#: shared-bindings/microcontroller/Pin.c
msgid "%q and %q contain duplicate pins"
msgstr ""
msgstr "%q a %q obsahují duplicitní piny"
#: shared-bindings/microcontroller/Pin.c
msgid "%q contains duplicate pins"
msgstr ""
msgstr "%q obsahuje duplicitní piny"
#: ports/atmel-samd/common-hal/sdioio/SDCard.c
msgid "%q failure: %d"
msgstr "Selhání %q: %d"
msgstr "%q: selhání %d"
#: shared-bindings/microcontroller/Pin.c
msgid "%q in use"
msgstr "Používá se %q"
msgstr "%q se právě používá"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
@ -100,23 +104,23 @@ msgstr "Indexy %q musí být celá čísla, nikoli %s"
#: py/argcheck.c
msgid "%q length must be %d-%d"
msgstr ""
msgstr "%q délka musí být %d-%d"
#: shared-bindings/usb_hid/Device.c
msgid "%q length must be >= 1"
msgstr ""
msgstr "%q délka musí být >= 1"
#: py/argcheck.c
msgid "%q must be %d-%d"
msgstr ""
msgstr "%q musí být %d-%d"
#: py/argcheck.c shared-bindings/gifio/GifWriter.c
msgid "%q must be <= %d"
msgstr ""
msgstr "%q musí být <= %d"
#: py/argcheck.c
msgid "%q must be >= %d"
msgstr ""
msgstr "%q musí být >= %d"
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
msgid "%q must be >= 0"
@ -132,7 +136,7 @@ msgstr "%q musí být > = 1"
#: py/argcheck.c
msgid "%q must be a string"
msgstr ""
msgstr "%q musí být string"
#: shared-module/vectorio/Polygon.c
msgid "%q must be a tuple of length 2"
@ -141,19 +145,23 @@ msgstr "%q musí být n-tice délky 2"
#: ports/espressif/common-hal/imagecapture/ParallelImageCapture.c
#: shared-module/vectorio/VectorShape.c
msgid "%q must be between %d and %d"
msgstr ""
msgstr "%q musí být mezi %d a %d"
#: py/argcheck.c
msgid "%q must be of type %q"
msgstr "%q musí být typu %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
msgstr "%q musí být mocnina 2"
#: shared-bindings/wifi/Monitor.c
msgid "%q out of bounds"
msgstr ""
msgstr "%q je mimo hranice"
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
#: shared-bindings/canio/Match.c
@ -162,7 +170,7 @@ msgstr "%q je mimo rozsah"
#: ports/atmel-samd/common-hal/microcontroller/Pin.c
msgid "%q pin invalid"
msgstr "Pin %q není platný"
msgstr "pin %q není platný"
#: shared-bindings/fontio/BuiltinFont.c
msgid "%q should be an int"
@ -170,7 +178,7 @@ msgstr "%q by měl být int"
#: shared-bindings/usb_hid/Device.c
msgid "%q with a report ID of 0 must be of length 1"
msgstr ""
msgstr "%q s ID 0 musím být délky 1"
#: py/bc.c py/objnamedtuple.c
msgid "%q() takes %d positional arguments but %d were given"
@ -178,12 +186,12 @@ msgstr "%q() vyžaduje %d pozičních argumentů, ale %d jich bylo zadáno"
#: shared-bindings/usb_hid/Device.c
msgid "%q, %q, and %q must all be the same length"
msgstr ""
msgstr "%q, %q, a %q musí mít všechny shodnou délku"
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
#, c-format
msgid "%s error 0x%x"
msgstr ""
msgstr "%s chyba 0x%x"
#: py/argcheck.c
msgid "'%q' argument required"
@ -199,7 +207,7 @@ msgstr "Objekt '%q' není iterátor"
#: py/objtype.c py/runtime.c shared-module/atexit/__init__.c
msgid "'%q' object is not callable"
msgstr "Objekt '%q' nelze volat"
msgstr "Objekt '%q' nelze zavolat"
#: py/runtime.c
msgid "'%q' object is not iterable"
@ -208,17 +216,17 @@ msgstr "Objekt '%q' není iterovatelný"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
msgstr "'%s' očekává popisek"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#, c-format
msgid "'%s' expects a register"
msgstr ""
msgstr "'%s' očekává register"
#: py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a special register"
msgstr ""
msgstr "'%s' očekává speciální register"
#: py/emitinlinethumb.c
#, c-format
@ -238,7 +246,7 @@ msgstr "'%s' očekává integer (celé číslo)"
#: py/emitinlinethumb.c
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
msgstr "'%s' očekává nejvíce r%d"
#: py/emitinlinethumb.c
#, c-format
@ -248,31 +256,31 @@ msgstr "'%s' očekává {r0, r1, ...}"
#: py/emitinlinextensa.c
#, c-format
msgid "'%s' integer %d isn't within range %d..%d"
msgstr ""
msgstr "'%s' integer %d není v rozsahu %d..%d"
#: py/emitinlinethumb.c
#, c-format
msgid "'%s' integer 0x%x doesn't fit in mask 0x%x"
msgstr ""
msgstr "'%s' integer 0x%x nepatří do masky 0x%x"
#: py/obj.c
#, c-format
msgid "'%s' object doesn't support item assignment"
msgstr ""
msgstr "'%s' objekt nepodporuje přiřazení položky"
#: py/obj.c
#, c-format
msgid "'%s' object doesn't support item deletion"
msgstr ""
msgstr "'%s' objekt nepodporuje smazání položky"
#: py/runtime.c
msgid "'%s' object has no attribute '%q'"
msgstr ""
msgstr "'%s' objekt nemá žádný atribut '%q'"
#: py/obj.c
#, c-format
msgid "'%s' object isn't subscriptable"
msgstr ""
msgstr "'%s' objekt není vložitelný"
#: py/objstr.c
msgid "'=' alignment not allowed in string format specifier"
@ -340,7 +348,7 @@ msgstr ""
#: py/obj.c
msgid ", in %q\n"
msgstr ""
msgstr ", v %q\n"
#: py/objcomplex.c
msgid "0.0 to a complex power"
@ -525,13 +533,15 @@ msgstr ""
#: main.c
msgid "Auto-reload is off.\n"
msgstr ""
msgstr "Automatické načtení je vypnuté.\n"
#: main.c
msgid ""
"Auto-reload is on. Simply save files over USB to run them or enter REPL to "
"disable.\n"
msgstr ""
"Automatické načtení je zapnuté. Stačí uložit soubory na USB nebo vstoupit "
"do REPLu pro jeho zakázání.\n"
#: ports/espressif/common-hal/canio/CAN.c
msgid "Baudrate not supported by peripheral"
@ -662,6 +672,10 @@ msgstr ""
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1595,7 +1609,7 @@ msgstr ""
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1895,7 +1909,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1943,10 +1957,12 @@ msgstr ""
#: main.c
msgid "Press any key to enter the REPL. Use CTRL-D to reload.\n"
msgstr ""
"Zmáčkněte jakoukoli klávesu pro spuštění REPLu. Použijte CTRL-D pro opětovné "
"načtení.\n"
#: main.c
msgid "Pretending to deep sleep until alarm, CTRL-C or file write.\n"
msgstr ""
msgstr "Předstírám hluboký spánek do alarmu, CTRL-C nebo zápisu souboru.\n"
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
msgid "Program does IN without loading ISR"
@ -1977,6 +1993,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2446,10 +2466,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2619,7 +2635,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2675,11 +2691,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2729,6 +2745,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2767,6 +2787,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2861,6 +2885,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3052,6 +3084,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3155,7 +3191,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3220,6 +3256,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3333,7 +3373,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3341,7 +3381,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3349,6 +3389,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3358,18 +3402,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3740,7 +3792,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3798,7 +3854,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3806,7 +3862,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3960,7 +4016,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3975,7 +4033,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4284,7 +4341,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4485,7 +4542,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4493,7 +4550,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -152,6 +152,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -670,6 +674,10 @@ msgstr "Ein Bytes kann nur Werte zwischen 0 und 255 annehmen."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBC-Blöcke müssen ein Vielfaches von 16 Bytes sein"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC oder Checksumme ungültig"
@ -1613,7 +1621,7 @@ msgstr "Kein DMA Kanal gefunden"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1919,7 +1927,7 @@ msgstr "Pin hat keine ADC Funktionalität"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Pin kann nur als Eingang verwendet werden"
@ -2006,6 +2014,10 @@ msgstr "Pull wird nicht verwendet, wenn die Richtung output ist."
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG DeInit-Fehler"
@ -2482,10 +2494,6 @@ msgstr "Nicht unterstütztes Format"
msgid "Unsupported operation"
msgstr "Nicht unterstützte Operation"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Nicht unterstützter Pull-Wert."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "Update fehlgeschlagen"
@ -2658,7 +2666,7 @@ msgstr "Sie haben versucht argmin/argmax einer leeren Sequenz zu erhalten"
msgid "attributes not supported yet"
msgstr "Attribute werden noch nicht unterstützt"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "Achse außerhalb des Wertebereichs"
@ -2714,11 +2722,11 @@ msgstr "Es müssen 8 oder 16 bits_per_sample sein"
msgid "branch not in range"
msgstr "Zweig ist außerhalb der Reichweite"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "Der Puffer ist kleiner als die angefragte Größe"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "Die Puffergröße muss ein vielfaches der Elementgröße sein"
@ -2768,6 +2776,10 @@ msgstr "Kalibrierung ist Schreibgeschützt"
msgid "calibration value out of range +/-127"
msgstr "Kalibrierwert nicht im Bereich von +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "kann nur bis zu 4 Parameter für die Thumb assembly haben"
@ -2808,6 +2820,10 @@ msgstr "kann %s nicht nach complex konvertieren"
msgid "can't convert '%q' object to %q implicitly"
msgstr "Kann '%q' Objekt nicht implizit nach %q konvertieren"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "kann nicht zu %q konvertieren"
@ -2908,6 +2924,14 @@ msgstr "Kann neue shape nicht zuweisen"
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "Kann '%q' Instanzen nicht erstellen"
@ -3103,6 +3127,10 @@ msgstr "Division durch Null"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "leer"
@ -3206,7 +3234,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3271,6 +3299,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3386,7 +3418,7 @@ msgstr "inline assembler muss eine function sein"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "das Eingabeargument muss ein Integer, Tupel oder eine Liste sein"
@ -3394,7 +3426,7 @@ msgstr "das Eingabeargument muss ein Integer, Tupel oder eine Liste sein"
msgid "input array length must be power of 2"
msgstr "Die Länge des Eingabearrays muss eine Potenz von 2 sein"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "Eingabe-Arrays sind nicht kompatibel"
@ -3402,6 +3434,10 @@ msgstr "Eingabe-Arrays sind nicht kompatibel"
msgid "input data must be an iterable"
msgstr "Eingabedaten müssen iterierbar sein"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "Eingabematrix ist asymmetrisch"
@ -3411,18 +3447,26 @@ msgstr "Eingabematrix ist asymmetrisch"
msgid "input matrix is singular"
msgstr "Eingabematrix ist singulär"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "die Eingabe muss ein-Dimensional sein"
@ -3800,7 +3844,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "Nicht genügend Argumente für den Formatierungs-String"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "Die Anzahl der Punkte muss mindestens 2 betragen"
@ -3858,7 +3906,7 @@ msgstr "Objekt mit Pufferprotokoll (buffer protocol) erforderlich"
msgid "odd-length string"
msgstr "String mit ungerader Länge"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3866,7 +3914,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -4023,7 +4071,9 @@ msgstr "pow() mit 3 Argumenten erfordert Integer"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4038,7 +4088,6 @@ msgstr "pow() mit 3 Argumenten erfordert Integer"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4350,7 +4399,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr "zu viele Argumente mit dem angegebenen Format"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "zu viele Dimensionen"
@ -4553,7 +4602,7 @@ msgstr "Fenster muss <= Intervall sein"
msgid "wrong axis index"
msgstr "falscher Achsenindex"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "falsche Achse gewählt"
@ -4561,7 +4610,11 @@ msgstr "falsche Achse gewählt"
msgid "wrong input type"
msgstr "falscher Eingabetyp"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "falsche Anzahl an Argumenten"
@ -4605,6 +4658,9 @@ msgstr "zi muss eine Gleitkommazahl sein"
msgid "zi must be of shape (n_section, 2)"
msgstr ""
#~ msgid "Unsupported pull value."
#~ msgstr "Nicht unterstützter Pull-Wert."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -144,6 +144,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -659,6 +663,10 @@ msgstr ""
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1592,7 +1600,7 @@ msgstr ""
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1892,7 +1900,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1974,6 +1982,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2443,10 +2455,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2616,7 +2624,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2672,11 +2680,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2726,6 +2734,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2764,6 +2776,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2858,6 +2874,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3049,6 +3073,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3152,7 +3180,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3217,6 +3245,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3330,7 +3362,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3338,7 +3370,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3346,6 +3378,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3355,18 +3391,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3737,7 +3781,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3795,7 +3843,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3803,7 +3851,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3957,7 +4005,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3972,7 +4022,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4281,7 +4330,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4482,7 +4531,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4490,7 +4539,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -153,6 +153,10 @@ msgstr "%q must be between %d and %d"
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q must be power of 2"
@ -670,6 +674,10 @@ msgstr "Bytes must be between 0 and 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBC blocks must be multiples of 16 bytes"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC or checksum was invalid"
@ -1607,7 +1615,7 @@ msgstr "No DMA channel found"
msgid "No DMA pacing timer found"
msgstr "No DMA pacing timer found"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "No I2C device at address: %x"
@ -1913,7 +1921,7 @@ msgstr "Pin does not have ADC capabilities"
msgid "Pin interrupt already in use"
msgstr "Pin interrupt already in use"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Pin is input only"
@ -1998,6 +2006,10 @@ msgstr "Pull not used when direction is output."
msgid "RAISE mode is not implemented"
msgstr "RAISE mode is not implemented"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG deinit Error"
@ -2476,10 +2488,6 @@ msgstr "Unsupported format"
msgid "Unsupported operation"
msgstr "Unsupported operation"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Unsupported pull value."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "Update failed"
@ -2650,7 +2658,7 @@ msgstr "attempt to get argmin/argmax of an empty sequence"
msgid "attributes not supported yet"
msgstr "attributes not supported yet"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "axis is out of bounds"
@ -2706,11 +2714,11 @@ msgstr "bits_per_sample must be 8 or 16"
msgid "branch not in range"
msgstr "Branch not in range"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "Buffer is smaller than requested size"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "Buffer size must be a multiple of element size"
@ -2760,6 +2768,10 @@ msgstr "Calibration is read only"
msgid "calibration value out of range +/-127"
msgstr "Calibration value out of range +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "Can only have up to 4 parameters to thumb assembly"
@ -2798,6 +2810,10 @@ msgstr "can't convert %s to complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "Can't convert '%q' object to %q implicitly"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "Can't convert to %q"
@ -2894,6 +2910,14 @@ msgstr "cannot assign new shape"
msgid "cannot cast output with casting rule"
msgstr "can't cast output with casting rule"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "can't create '%q' instances"
@ -3086,6 +3110,10 @@ msgstr "division by zero"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "empty"
@ -3189,7 +3217,7 @@ msgstr "first argument must be a callable"
msgid "first argument must be a function"
msgstr "first argument must be a function"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "first argument must be a tuple of ndarrays"
@ -3254,6 +3282,10 @@ msgstr "function has the same sign at the ends of interval"
msgid "function is defined for ndarrays only"
msgstr "function is defined for ndarrays only"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3367,7 +3399,7 @@ msgstr "inline assembler must be a function"
msgid "input and output shapes are not compatible"
msgstr "input and output shapes are not compatible"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "input argument must be an integer, a tuple, or a list"
@ -3375,7 +3407,7 @@ msgstr "input argument must be an integer, a tuple, or a list"
msgid "input array length must be power of 2"
msgstr "input array length must be power of 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "input arrays are not compatible"
@ -3383,6 +3415,10 @@ msgstr "input arrays are not compatible"
msgid "input data must be an iterable"
msgstr "input data must be an iterable"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "input matrix is asymmetric"
@ -3392,18 +3428,26 @@ msgstr "input matrix is asymmetric"
msgid "input matrix is singular"
msgstr "input matrix is singular"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "input must be a dense ndarray"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "input must be a tensor of rank 2"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "input must be an ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "input must be one-dimensional"
@ -3774,7 +3818,11 @@ msgstr "not all arguments converted during string formatting"
msgid "not enough arguments for format string"
msgstr "not enough arguments for format string"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "number of points must be at least 2"
@ -3832,7 +3880,7 @@ msgstr "object with buffer protocol required"
msgid "odd-length string"
msgstr "odd-length string"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "offset is too large"
@ -3840,7 +3888,7 @@ msgstr "offset is too large"
msgid "offset must be >= 0"
msgstr "offset must be >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "offset must be non-negative and not greater than buffer length"
@ -3994,7 +4042,9 @@ msgstr "pow() with 3 arguments requires integers"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4009,7 +4059,6 @@ msgstr "pow() with 3 arguments requires integers"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4320,7 +4369,7 @@ msgstr "tobytes can be invoked for dense arrays only"
msgid "too many arguments provided with the given format"
msgstr "too many arguments provided with the given format"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "too many dimensions"
@ -4521,7 +4570,7 @@ msgstr "window must be <= interval"
msgid "wrong axis index"
msgstr "wrong axis index"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "wrong axis specified"
@ -4529,7 +4578,11 @@ msgstr "wrong axis specified"
msgid "wrong input type"
msgstr "wrong input type"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "wrong number of arguments"
@ -4573,6 +4626,9 @@ msgstr "zi must be of float type"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi must be of shape (n_section, 2)"
#~ msgid "Unsupported pull value."
#~ msgstr "Unsupported pull value."
#~ msgid "%q must <= %d"
#~ msgstr "%q must <= %d"

View File

@ -155,6 +155,10 @@ msgstr "%q debe estar entre %d y %d"
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -675,6 +679,10 @@ msgstr "Bytes debe estar entre 0 y 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Los bloques CBC deben ser múltiplos de 16 bytes"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC o suma de comprobación inválida"
@ -1629,7 +1637,7 @@ msgstr "No se encontró el canal DMA"
msgid "No DMA pacing timer found"
msgstr "timer por establecedor de paso DMA no encontrado"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "No hay dispositivo I2C en la dirección: %x"
@ -1937,7 +1945,7 @@ msgstr "Pin no tiene capacidad ADC"
msgid "Pin interrupt already in use"
msgstr "Interrupción de Pin ya está en uso"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "El pin es solo de entrada"
@ -2025,6 +2033,10 @@ msgstr "Pull no se usa cuando la dirección es output."
msgid "RAISE mode is not implemented"
msgstr "El modo RAISE no esta implementado"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "Error de desinicialización de RNG"
@ -2507,10 +2519,6 @@ msgstr "Formato no soportado"
msgid "Unsupported operation"
msgstr "Operación no soportada"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "valor pull no soportado."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "La actualización fallo"
@ -2685,7 +2693,7 @@ msgstr "intento de obtener argmin/argmax de una secuencia vacía"
msgid "attributes not supported yet"
msgstr "atributos aún no soportados"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "Eje está fuera de sus límites"
@ -2741,11 +2749,11 @@ msgstr "bits_per_sample debe ser 8 ó 16"
msgid "branch not in range"
msgstr "la rama no está dentro del rango"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "El buffer es mas pequeño que el requerido"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "El tamaño del buffer debe ser un múltiplo del tamaño del elemento"
@ -2795,6 +2803,10 @@ msgstr "calibration es de solo lectura"
msgid "calibration value out of range +/-127"
msgstr "Valor de calibración fuera del rango +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "solo puede tener hasta 4 parámetros para ensamblar Thumb"
@ -2833,6 +2845,10 @@ msgstr "no se puede convertir %s a complejo"
msgid "can't convert '%q' object to %q implicitly"
msgstr "no se puede convertir el objeto '%q' a %q implícitamente"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "no puede convertir a %q"
@ -2932,6 +2948,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr "No se puede realizar cast de la salida sin una regla de cast"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "no se pueden crear '%q' instancias"
@ -3125,6 +3149,10 @@ msgstr "división por cero"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "vacío"
@ -3228,7 +3256,7 @@ msgstr "se debe poder llamar al primer argumento"
msgid "first argument must be a function"
msgstr "el primer argumento debe ser una función"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "Primer argumento tiene que ser una tupla de ndarrays"
@ -3293,6 +3321,10 @@ msgstr "la función tiene el mismo signo a extremos del intervalo"
msgid "function is defined for ndarrays only"
msgstr "Función solo definida para ndarrays"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3406,7 +3438,7 @@ msgstr "ensamblador en línea debe ser una función"
msgid "input and output shapes are not compatible"
msgstr "Formas de entrada y salida no son compatibles"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "argumento de entrada debe ser un entero, una tupla o una lista"
@ -3414,7 +3446,7 @@ msgstr "argumento de entrada debe ser un entero, una tupla o una lista"
msgid "input array length must be power of 2"
msgstr "el tamaño del arreglo de entrada debe ser potencia de 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "Arrays de entrada no son compactibles"
@ -3422,6 +3454,10 @@ msgstr "Arrays de entrada no son compactibles"
msgid "input data must be an iterable"
msgstr "los datos de entrada deben ser iterables"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "la matriz de entrada es asimétrica"
@ -3431,18 +3467,26 @@ msgstr "la matriz de entrada es asimétrica"
msgid "input matrix is singular"
msgstr "la matriz de entrada es singular"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "Entrada tiene que ser un ndarray denso"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "Entrada tiene que ser un tensor de rango 2"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "Entrada tiene que ser un ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "Entrada tiene que ser unidimensional"
@ -3820,7 +3864,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "no suficientes argumentos para format string"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "el número de puntos debe ser al menos 2"
@ -3878,7 +3926,7 @@ msgstr "objeto con protocolo de buffer requerido"
msgid "odd-length string"
msgstr "string de longitud impar"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "offset es demasiado grande"
@ -3886,7 +3934,7 @@ msgstr "offset es demasiado grande"
msgid "offset must be >= 0"
msgstr "offset debe ser >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "offset debe ser non-negative y no mayo que la longitud del buffer"
@ -4040,7 +4088,9 @@ msgstr "pow() con 3 argumentos requiere enteros"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4055,7 +4105,6 @@ msgstr "pow() con 3 argumentos requiere enteros"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4367,7 +4416,7 @@ msgstr "tobytes solo pueden ser invocados por arrays densos"
msgid "too many arguments provided with the given format"
msgstr "demasiados argumentos provistos con el formato dado"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "demasiadas dimensiones"
@ -4568,7 +4617,7 @@ msgstr "la ventana debe ser <= intervalo"
msgid "wrong axis index"
msgstr "indice de eje erróneo"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "eje especificado erróneo"
@ -4576,7 +4625,11 @@ msgstr "eje especificado erróneo"
msgid "wrong input type"
msgstr "tipo de entrada incorrecta"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "numero erroneo de argumentos"
@ -4620,6 +4673,9 @@ msgstr "zi debe ser de tipo flotante"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi debe ser una forma (n_section,2)"
#~ msgid "Unsupported pull value."
#~ msgstr "valor pull no soportado."
#~ msgid "%q must <= %d"
#~ msgstr "%q debe ser <= %d"

View File

@ -146,6 +146,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -667,6 +671,10 @@ msgstr "Sa gitna ng 0 o 255 dapat ang bytes."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1607,7 +1615,7 @@ msgstr "Walang DMA channel na mahanap"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1911,7 +1919,7 @@ msgstr "Ang pin ay walang kakayahan sa ADC"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1993,6 +2001,10 @@ msgstr "Pull hindi ginagamit kapag ang direksyon ay output."
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2465,10 +2477,6 @@ msgstr "Hindi supportadong format"
msgid "Unsupported operation"
msgstr "Hindi sinusuportahang operasyon"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Hindi suportado ang pull value."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2638,7 +2646,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "attributes hindi sinusuportahan"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2694,11 +2702,11 @@ msgstr "bits_per_sample ay dapat 8 o 16"
msgid "branch not in range"
msgstr "branch wala sa range"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2749,6 +2757,10 @@ msgstr "pagkakalibrate ay basahin lamang"
msgid "calibration value out of range +/-127"
msgstr "ang halaga ng pagkakalibrate ay wala sa sakop +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "maaari lamang magkaroon ng hanggang 4 na parameter sa Thumb assembly"
@ -2788,6 +2800,10 @@ msgstr "hindi ma-convert %s sa complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "hindi maaaring i-convert ang '%q' na bagay sa %q nang walang pahiwatig"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2887,6 +2903,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "hindi magawa '%q' instances"
@ -3082,6 +3106,10 @@ msgstr "dibisyon ng zero"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "walang laman"
@ -3186,7 +3214,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3251,6 +3279,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3365,7 +3397,7 @@ msgstr "inline assembler ay dapat na function"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3373,7 +3405,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3381,6 +3413,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3390,18 +3426,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3776,7 +3820,11 @@ msgstr "hindi lahat ng arguments na i-convert habang string formatting"
msgid "not enough arguments for format string"
msgstr "kulang sa arguments para sa format string"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3834,7 +3882,7 @@ msgstr "object na may buffer protocol kinakailangan"
msgid "odd-length string"
msgstr "odd-length string"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3842,7 +3890,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3998,7 +4046,9 @@ msgstr "pow() na may 3 argumento kailangan ng integers"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4013,7 +4063,6 @@ msgstr "pow() na may 3 argumento kailangan ng integers"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4326,7 +4375,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr "masyadong maraming mga argumento na ibinigay sa ibinigay na format"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4527,7 +4576,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4535,7 +4584,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "mali ang bilang ng argumento"
@ -4581,6 +4634,9 @@ msgstr ""
msgid "zi must be of shape (n_section, 2)"
msgstr ""
#~ msgid "Unsupported pull value."
#~ msgstr "Hindi suportado ang pull value."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -8,8 +8,8 @@ msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
"PO-Revision-Date: 2021-11-26 13:46+0000\n"
"Last-Translator: Maxime Leroy <lisacintosh@gmail.com>\n"
"PO-Revision-Date: 2021-12-13 05:53+0000\n"
"Last-Translator: Jeff Epler <jepler@gmail.com>\n"
"Language: fr\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
@ -155,6 +155,10 @@ msgstr "%q doit être entre %d et %d"
msgid "%q must be of type %q"
msgstr "%q doit être du type %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q doit être une puissance de 2"
@ -676,6 +680,10 @@ msgstr "Les octets 'bytes' doivent être entre 0 et 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Les blocs CBC doivent être des multiples de 16 octets"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC ou somme de contrôle invalide"
@ -1640,7 +1648,7 @@ msgstr "Aucun canal DMA trouvé"
msgid "No DMA pacing timer found"
msgstr "Aucun minuteur de rythme DMA trouvé"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "Pas de dispositif I2C à l'adresse : %x"
@ -1950,7 +1958,7 @@ msgstr "La broche 'pin' ne supporte pas les capacitées ADC"
msgid "Pin interrupt already in use"
msgstr "L'interruption de cette broche est déjà utilisée"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "La broche est entrée uniquement"
@ -2038,6 +2046,10 @@ msgstr "Le tirage 'pull' n'est pas utilisé quand la direction est 'output'."
msgid "RAISE mode is not implemented"
msgstr "Mode RAISE n'est pas implémenté"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "Erreur de désinitialisation du RNG"
@ -2524,10 +2536,6 @@ msgstr "Format non supporté"
msgid "Unsupported operation"
msgstr "Opération non supportée"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Valeur de tirage 'pull' non supportée."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "Mise-à-jour échouée"
@ -2708,7 +2716,7 @@ msgstr "tenter d'obtenir argmin / argmax d'une séquence vide"
msgid "attributes not supported yet"
msgstr "attribut pas encore supporté"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "axis est hors limites"
@ -2764,11 +2772,11 @@ msgstr "'bits_per_sample' doivent être 8 ou 16"
msgid "branch not in range"
msgstr "branche hors-bornes"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "tampon est plus petit que la taille demandée"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "taille du tampon doit être un multiple de la taille de l'élement"
@ -2818,6 +2826,10 @@ msgstr "étalonnage en lecture seule"
msgid "calibration value out of range +/-127"
msgstr "valeur de étalonnage hors bornes +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "il peut y avoir jusqu'à 4 paramètres pour l'assemblage Thumb"
@ -2857,6 +2869,10 @@ msgstr "ne peut convertir %s en nombre complexe"
msgid "can't convert '%q' object to %q implicitly"
msgstr "impossible de convertir l'objet '%q' en '%q' implicitement"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "impossible de convertir en %q"
@ -2957,6 +2973,14 @@ msgstr "ne peut assigner une nouvelle forme"
msgid "cannot cast output with casting rule"
msgstr "output ne peut être projeté sans règle de projection"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "ne peut pas créer une instance de '%q'"
@ -3152,6 +3176,10 @@ msgstr "division par zéro"
msgid "divisor must be 4"
msgstr "le diviseur doit être 4"
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "vide"
@ -3255,7 +3283,7 @@ msgstr "le premier argument doit être un appelable"
msgid "first argument must be a function"
msgstr "le premier argument doit être une fonction"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "le premier paramêtre doit être un tuple de ndarrays"
@ -3320,6 +3348,10 @@ msgstr "la fonction a le même signe aux extrémités de lintervalle"
msgid "function is defined for ndarrays only"
msgstr "fonction définie que pour les ndarrays"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3434,7 +3466,7 @@ msgstr "l'assembleur doit être une fonction"
msgid "input and output shapes are not compatible"
msgstr "les formes d'entrée et de sortie ne sont pas compatibles"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "Paramètre entrant doit être un chiffre entier, un tuple, ou une liste"
@ -3442,7 +3474,7 @@ msgstr "Paramètre entrant doit être un chiffre entier, un tuple, ou une liste"
msgid "input array length must be power of 2"
msgstr "longueur de la matrice d'entrée doit être une puissance de 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "les matrices d'entrée ne sont pas compatibles"
@ -3450,6 +3482,10 @@ msgstr "les matrices d'entrée ne sont pas compatibles"
msgid "input data must be an iterable"
msgstr "les données d'entrée doivent être un itérable"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "la matrice d'entrée est asymétrique"
@ -3459,18 +3495,26 @@ msgstr "la matrice d'entrée est asymétrique"
msgid "input matrix is singular"
msgstr "la matrice d'entrée est singulière"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "l'entrée doit être un ndarray dense"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "l'entrée doit être un tenseur de rang 2"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "l'entrée doit être un ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "l'entrée doit être uni-dimensionelle"
@ -3566,7 +3610,6 @@ msgid "invalid syntax for number"
msgstr "syntaxe invalide pour un nombre"
#: py/objexcept.c
#, fuzzy
msgid "invalid traceback"
msgstr "traceback invalide"
@ -3849,7 +3892,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "pas assez d'arguments pour la chaîne de format"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "le nombre de points doit être d'au moins 2"
@ -3907,7 +3954,7 @@ msgstr "un objet avec un protocole de tampon est nécessaire"
msgid "odd-length string"
msgstr "chaîne de longueur impaire"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "offset est trop large"
@ -3915,7 +3962,7 @@ msgstr "offset est trop large"
msgid "offset must be >= 0"
msgstr "offset doit être >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "offset doit être non-négatif, et au plus la taille du tampon"
@ -4072,7 +4119,9 @@ msgstr "pow() avec 3 arguments nécessite des entiers"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4087,7 +4136,6 @@ msgstr "pow() avec 3 arguments nécessite des entiers"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4399,7 +4447,7 @@ msgstr "tobytes ne peut être appelée que pour des matrices dense"
msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "Trop de dimensions"
@ -4600,7 +4648,7 @@ msgstr "la fenêtre (window) doit être <= intervalle (interval)"
msgid "wrong axis index"
msgstr "index d'axe incorrecte"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "axe incorrecte spécifiée"
@ -4608,7 +4656,11 @@ msgstr "axe incorrecte spécifiée"
msgid "wrong input type"
msgstr "type d'entrée incorrect"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "mauvais nombres d'arguments"
@ -4652,6 +4704,9 @@ msgstr "zi doit être de type float"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi doit être de forme (n_section, 2)"
#~ msgid "Unsupported pull value."
#~ msgstr "Valeur de tirage 'pull' non supportée."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -144,6 +144,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -659,6 +663,10 @@ msgstr ""
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1592,7 +1600,7 @@ msgstr ""
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1892,7 +1900,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1974,6 +1982,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2443,10 +2455,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2616,7 +2624,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2672,11 +2680,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2726,6 +2734,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2764,6 +2776,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2858,6 +2874,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3049,6 +3073,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3152,7 +3180,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3217,6 +3245,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3330,7 +3362,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3338,7 +3370,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3346,6 +3378,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3355,18 +3391,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3737,7 +3781,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3795,7 +3843,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3803,7 +3851,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3957,7 +4005,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3972,7 +4022,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4281,7 +4330,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4482,7 +4531,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4490,7 +4539,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -154,6 +154,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -674,6 +678,10 @@ msgstr "I byte devono essere compresi tra 0 e 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "I blocchi CBC devono essere multipli di 16 bytes"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC o controllo totale è risultato non valido"
@ -1618,7 +1626,7 @@ msgstr "Nessun canale DMA trovato"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1927,7 +1935,7 @@ msgstr "Il pin non ha capacità di ADC"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -2010,6 +2018,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2484,10 +2496,6 @@ msgstr "Formato non supportato"
msgid "Unsupported operation"
msgstr "Operazione non supportata"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Valore di pull non supportato."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2657,7 +2665,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "attributi non ancora supportati"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2715,11 +2723,11 @@ msgstr "i bit devono essere 7, 8 o 9"
msgid "branch not in range"
msgstr "argomento di chr() non è in range(256)"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2770,6 +2778,10 @@ msgstr "la calibrazione è in sola lettura"
msgid "calibration value out of range +/-127"
msgstr "valore di calibrazione fuori intervallo +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
#, fuzzy
msgid "can only have up to 4 parameters to Thumb assembly"
@ -2809,6 +2821,10 @@ msgstr "non è possibile convertire a complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "impossibile convertire l'oggetto '%q' implicitamente in %q"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2903,6 +2919,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "creare '%q' istanze"
@ -3099,6 +3123,10 @@ msgstr "divisione per zero"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "vuoto"
@ -3203,7 +3231,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3268,6 +3296,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3382,7 +3414,7 @@ msgstr "inline assembler deve essere una funzione"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3390,7 +3422,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3398,6 +3430,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3407,18 +3443,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3796,7 +3840,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "argomenti non sufficienti per la stringa di formattazione"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3854,7 +3902,7 @@ msgstr ""
msgid "odd-length string"
msgstr "stringa di lunghezza dispari"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3862,7 +3910,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -4020,7 +4068,9 @@ msgstr "pow() con 3 argomenti richiede interi"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4035,7 +4085,6 @@ msgstr "pow() con 3 argomenti richiede interi"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4348,7 +4397,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr "troppi argomenti forniti con il formato specificato"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4549,7 +4598,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4557,7 +4606,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "numero di argomenti errato"
@ -4603,6 +4656,9 @@ msgstr ""
msgid "zi must be of shape (n_section, 2)"
msgstr ""
#~ msgid "Unsupported pull value."
#~ msgstr "Valore di pull non supportato."
#~ msgid "integer required"
#~ msgstr "intero richiesto"

View File

@ -149,6 +149,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -666,6 +670,10 @@ msgstr "バイト値は0から255の間でなければなりません"
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBCブロックは16バイトの整数倍でなければなりません"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1603,7 +1611,7 @@ msgstr "DMAチャネルが見つかりません"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1906,7 +1914,7 @@ msgstr "ピンにADCの能力がありません"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "ピンは入力専用"
@ -1988,6 +1996,10 @@ msgstr "方向がoutputのときpullは使われません"
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG解体エラー"
@ -2458,10 +2470,6 @@ msgstr "非対応の形式"
msgid "Unsupported operation"
msgstr "非対応の操作"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "非対応のpull値"
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2631,7 +2639,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "属性は未対応です"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2687,11 +2695,11 @@ msgstr "bits_per_sampleは8または16でなければなりません"
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2741,6 +2749,10 @@ msgstr "calibrationは読み込み専用"
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2779,6 +2791,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr "オブジェクト '%q' を %q に暗黙に変換できません"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "%q に変換できません"
@ -2873,6 +2889,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3068,6 +3092,10 @@ msgstr "ゼロ除算 (division by zero)"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3171,7 +3199,7 @@ msgstr "1つ目の引数は呼び出し可能でなければなりません"
msgid "first argument must be a function"
msgstr "1つ目の引数は関数でなければなりません"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3236,6 +3264,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3350,7 +3382,7 @@ msgstr "インラインアセンブラは関数でなければなりません"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3358,7 +3390,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr "入力array長は2の累乗でなければなりません"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3366,6 +3398,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "入力行列が非対称"
@ -3375,18 +3411,26 @@ msgstr "入力行列が非対称"
msgid "input matrix is singular"
msgstr "入力が非正則行列"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3757,7 +3801,11 @@ msgstr "文字列書式化で全ての引数が使われていません"
msgid "not enough arguments for format string"
msgstr "書式化文字列への引数が足りません"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3815,7 +3863,7 @@ msgstr ""
msgid "odd-length string"
msgstr "奇数長の文字列"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3823,7 +3871,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3979,7 +4027,9 @@ msgstr "pow()の第3引数には整数が必要"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3994,7 +4044,6 @@ msgstr "pow()の第3引数には整数が必要"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4304,7 +4353,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr "指定された書式に対して引数が多すぎます"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4505,7 +4554,7 @@ msgstr "windowはinterval以下でなければなりません"
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4513,7 +4562,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@ -4557,6 +4610,9 @@ msgstr "ziはfloat値でなければなりません"
msgid "zi must be of shape (n_section, 2)"
msgstr ""
#~ msgid "Unsupported pull value."
#~ msgstr "非対応のpull値"
#~ msgid "integer required"
#~ msgstr "整数が必要"

View File

@ -145,6 +145,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -662,6 +666,10 @@ msgstr "바이트는 0에서 255 사이 여야합니다."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr ""
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1595,7 +1603,7 @@ msgstr ""
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1895,7 +1903,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1977,6 +1985,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2447,10 +2459,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2620,7 +2628,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2676,11 +2684,11 @@ msgstr "bits_per_sample은 8 또는 16이어야합니다."
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2730,6 +2738,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2768,6 +2780,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2862,6 +2878,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3053,6 +3077,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3156,7 +3184,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3221,6 +3249,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3334,7 +3366,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3342,7 +3374,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3350,6 +3382,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3359,18 +3395,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3741,7 +3785,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3799,7 +3847,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3807,7 +3855,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3961,7 +4009,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3976,7 +4026,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4285,7 +4334,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4486,7 +4535,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4494,7 +4543,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -147,6 +147,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -664,6 +668,10 @@ msgstr "Bytes moeten tussen 0 en 255 liggen."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBC blocks moeten meervouden van 16 bytes zijn"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1604,7 +1612,7 @@ msgstr "Geen DMA kanaal gevonden"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "Geen I2C-apparaat op adres: %x"
@ -1913,7 +1921,7 @@ msgstr "Pin heeft geen ADC mogelijkheden"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Pin kan alleen voor invoer gebruikt worden"
@ -2000,6 +2008,10 @@ msgstr "Pull niet gebruikt wanneer de richting output is."
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG DeInit Fout"
@ -2471,10 +2483,6 @@ msgstr "Niet-ondersteunde format"
msgid "Unsupported operation"
msgstr "Niet-ondersteunde operatie"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Niet-ondersteunde pull-waarde."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "Update Mislukt"
@ -2648,7 +2656,7 @@ msgstr "poging om argmin/argmax van een lege sequentie te krijgen"
msgid "attributes not supported yet"
msgstr "attributen nog niet ondersteund"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "as is buiten bereik"
@ -2704,11 +2712,11 @@ msgstr "bits_per_sample moet 8 of 16 zijn"
msgid "branch not in range"
msgstr "pad (branch) niet binnen bereik"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2758,6 +2766,10 @@ msgstr "calibration is alleen-lezen"
msgid "calibration value out of range +/-127"
msgstr "calibration waarde buiten bereik +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "kan slechts 4 parameters aan Thumb assembly geven"
@ -2797,6 +2809,10 @@ msgstr "kan %s niet converteren naar een complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "kan '%q' object niet omzetten naar %q impliciet"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "kan niet naar %q converteren"
@ -2891,6 +2907,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr "kan uitvoer niet converteren zonder conversieregel"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "kan geen instanties van '%q' creëren"
@ -3085,6 +3109,10 @@ msgstr "deling door nul"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "leeg"
@ -3188,7 +3216,7 @@ msgstr "eerste argument moet een aanroepbare (callable) zijn"
msgid "first argument must be a function"
msgstr "eerste argument moet een functie zijn"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "eerste argument moet een tupel van ndarrays zijn"
@ -3253,6 +3281,10 @@ msgstr "functie heeft hetzelfde teken aan beide uiteinden van het interval"
msgid "function is defined for ndarrays only"
msgstr "functie is alleen gedefinieerd voor ndarrays"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3367,7 +3399,7 @@ msgstr "inline assembler moet een functie zijn"
msgid "input and output shapes are not compatible"
msgstr "in- en uitvoervormen zijn niet compatibel"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3375,7 +3407,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr "invoer array lengte moet een macht van 2 zijn"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "input arrays zijn niet compatibel"
@ -3383,6 +3415,10 @@ msgstr "input arrays zijn niet compatibel"
msgid "input data must be an iterable"
msgstr "invoerdata moet itereerbaar zijn"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "invoermatrix is asymmetrisch"
@ -3392,18 +3428,26 @@ msgstr "invoermatrix is asymmetrisch"
msgid "input matrix is singular"
msgstr "invoermatrix is singulier"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "invoer moet een gesloten ndarray zijn"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "invoer moet een tensor van rang 2 zijn"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "invoer moet een ndarray zijn"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "invoer moet eendimensionaal zijn"
@ -3777,7 +3821,11 @@ msgstr "niet alle argumenten omgezet bij formattering van string"
msgid "not enough arguments for format string"
msgstr "niet genoeg argumenten om string te formatteren"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "aantal punten moet minimaal 2 zijn"
@ -3835,7 +3883,7 @@ msgstr "object met buffer protocol vereist"
msgid "odd-length string"
msgstr "string met oneven lengte"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "compensatie is te groot"
@ -3843,7 +3891,7 @@ msgstr "compensatie is te groot"
msgid "offset must be >= 0"
msgstr "compensatie moet groter of gelijk 0 zijn"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3998,7 +4046,9 @@ msgstr "pow() met 3 argumenten vereist integers"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4013,7 +4063,6 @@ msgstr "pow() met 3 argumenten vereist integers"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4324,7 +4373,7 @@ msgstr "tobytes kunnen alleen ingeroepen worden voor gesloten arrays"
msgid "too many arguments provided with the given format"
msgstr "te veel argumenten opgegeven bij dit formaat"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4525,7 +4574,7 @@ msgstr "window moet <= interval zijn"
msgid "wrong axis index"
msgstr "foute index voor as"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "onjuiste as gespecificeerd"
@ -4533,7 +4582,11 @@ msgstr "onjuiste as gespecificeerd"
msgid "wrong input type"
msgstr "onjuist invoertype"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "onjuist aantal argumenten"
@ -4577,6 +4630,9 @@ msgstr "zi moet van type float zijn"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi moet vorm (n_section, 2) hebben"
#~ msgid "Unsupported pull value."
#~ msgstr "Niet-ondersteunde pull-waarde."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -149,6 +149,10 @@ msgstr ""
msgid "%q must be of type %q"
msgstr ""
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr ""
@ -666,6 +670,10 @@ msgstr "Bytes musi być między 0 a 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Bloki CBC muszą być wielokrotnościami 16 bajtów"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr ""
@ -1603,7 +1611,7 @@ msgstr "Nie znaleziono kanału DMA"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr ""
@ -1903,7 +1911,7 @@ msgstr "Nóżka nie obsługuje ADC"
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -1985,6 +1993,10 @@ msgstr "Podciągnięcie nieużywane w trybie wyjścia."
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2454,10 +2466,6 @@ msgstr "Zły format"
msgid "Unsupported operation"
msgstr "Zła operacja"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Zła wartość podciągnięcia."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2627,7 +2635,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "atrybuty nie są jeszcze obsługiwane"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2683,11 +2691,11 @@ msgstr "bits_per_sample musi być 8 lub 16"
msgid "branch not in range"
msgstr "skok poza zakres"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2737,6 +2745,10 @@ msgstr "kalibracja tylko do odczytu"
msgid "calibration value out of range +/-127"
msgstr "wartość kalibracji poza zakresem +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "asembler Thumb może przyjąć do 4 parameterów"
@ -2775,6 +2787,10 @@ msgstr "nie można skonwertować %s do complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "nie można automatycznie skonwertować '%q' do '%q'"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2869,6 +2885,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "nie można tworzyć instancji '%q'"
@ -3061,6 +3085,10 @@ msgstr "dzielenie przez zero"
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "puste"
@ -3164,7 +3192,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr "pierwszy argument musi być funkcją"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3229,6 +3257,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3342,7 +3374,7 @@ msgstr "wtrącony asembler musi być funkcją"
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3350,7 +3382,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr "długość tablicy wejściowej musi być potęgą 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3358,6 +3390,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3367,18 +3403,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3749,7 +3793,11 @@ msgstr "nie wszystkie argumenty wykorzystane w formatowaniu"
msgid "not enough arguments for format string"
msgstr "nie dość argumentów przy formatowaniu"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "liczba punktów musi wynosić co najmniej 2"
@ -3807,7 +3855,7 @@ msgstr "wymagany obiekt z protokołem buforu"
msgid "odd-length string"
msgstr "łańcuch o nieparzystej długości"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3815,7 +3863,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -3970,7 +4018,9 @@ msgstr "trzyargumentowe pow() wymaga liczb całkowitych"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -3985,7 +4035,6 @@ msgstr "trzyargumentowe pow() wymaga liczb całkowitych"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4295,7 +4344,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr "zbyt wiele argumentów podanych dla tego formatu"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4496,7 +4545,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4504,7 +4553,11 @@ msgstr ""
msgid "wrong input type"
msgstr "nieprawidłowy typ wejścia"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "zła liczba argumentów"
@ -4548,6 +4601,9 @@ msgstr ""
msgid "zi must be of shape (n_section, 2)"
msgstr ""
#~ msgid "Unsupported pull value."
#~ msgstr "Zła wartość podciągnięcia."
#, c-format
#~ msgid ""
#~ "Welcome to Adafruit CircuitPython %s!\n"

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
"PO-Revision-Date: 2021-11-24 23:51+0000\n"
"PO-Revision-Date: 2022-01-19 23:56+0000\n"
"Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n"
"Language-Team: \n"
"Language: pt_BR\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.10-dev\n"
"X-Generator: Weblate 4.11-dev\n"
#: main.c
msgid ""
@ -153,6 +153,10 @@ msgstr "%q deve estar entre %d e %d"
msgid "%q must be of type %q"
msgstr "%q deve ser do tipo %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr "%q deve ser do tipo %q ou nenhum"
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q deve ser a potência de 2"
@ -679,6 +683,10 @@ msgstr "Os bytes devem estar entre 0 e 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Os blocos CBC devem ter múltiplos de 16 bytes"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr "A unidade CIRCUITPY não pôde ser encontrada nem criada."
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC ou checksum inválido"
@ -1629,7 +1637,7 @@ msgstr "Nenhum canal DMA foi encontrado"
msgid "No DMA pacing timer found"
msgstr "Nenhum temporizador DMA foi encontrado"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "Nenhum dispositivo I2C no endereço: %x"
@ -1940,7 +1948,7 @@ msgstr "O pino não tem recursos de ADC"
msgid "Pin interrupt already in use"
msgstr "A interrupção do pino já está em uso"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Apenas o pino de entrada"
@ -2030,6 +2038,10 @@ msgstr "O Pull não foi usado quando a direção for gerada."
msgid "RAISE mode is not implemented"
msgstr "O modo RAISE não foi implementado"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr "RISE_AND_FALL não está disponível neste chip"
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "Erro DeInit RNG"
@ -2516,10 +2528,6 @@ msgstr "Formato não suportado"
msgid "Unsupported operation"
msgstr "Operação não suportada"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "O valor pull não é compatível."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "A atualização falou"
@ -2700,7 +2708,7 @@ msgstr "tente obter argmin/argmax de uma sequência vazia"
msgid "attributes not supported yet"
msgstr "atributos ainda não suportados"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "o eixo está fora dos limites"
@ -2756,11 +2764,11 @@ msgstr "bits_per_sample deve ser 8 ou 16"
msgid "branch not in range"
msgstr "ramo fora do alcance"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "o tamanho do buffer é menor do que o tamanho que foi solicitado"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "o tamanho do buffer deve ser um múltiplo do tamanho do elemento"
@ -2810,6 +2818,10 @@ msgstr "Calibração é somente leitura"
msgid "calibration value out of range +/-127"
msgstr "Valor de calibração fora do intervalo +/- 127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr "pode ser registrado apenas numa principal"
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "só pode haver até 4 parâmetros para a montagem Thumb"
@ -2848,6 +2860,10 @@ msgstr "Não é possível converter %s para complex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "não é possível converter implicitamente o objeto '%q' para %q"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr "não foi possível converter complexo em flutuante"
#: py/obj.c
msgid "can't convert to %q"
msgstr "não é possível converter para %q"
@ -2946,6 +2962,14 @@ msgstr "não é possível atribuir uma nova forma"
msgid "cannot cast output with casting rule"
msgstr "não pode lançar a saída com a regra de fundição"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr "não foi possível converter complexo em dtype"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr "não foi possível converter o tipo complexo"
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "não é possível criar instâncias '%q'"
@ -3142,6 +3166,10 @@ msgstr "divisão por zero"
msgid "divisor must be 4"
msgstr "o divisor deve ser 4"
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr "dtype deve ser flutuante ou complexo"
#: py/objdeque.c
msgid "empty"
msgstr "vazio"
@ -3245,7 +3273,7 @@ msgstr "o primeiro argumento deve ser chamável"
msgid "first argument must be a function"
msgstr "o primeiro argumento deve ser uma função"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "o primeiro argumento deve ser um tuple de ndarrays"
@ -3310,6 +3338,10 @@ msgstr "a função tem o mesmo sinal nas extremidades do intervalo"
msgid "function is defined for ndarrays only"
msgstr "A função é definida apenas para ndarrays"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr "a função está implementada apenas para ndarrays"
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3423,7 +3455,7 @@ msgstr "o assembler em linha deve ser uma função"
msgid "input and output shapes are not compatible"
msgstr "as formas de entrada e saída não são compatíveis"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
"argumento da entrada deve ser um número inteiro, uma tupla ou uma lista"
@ -3432,7 +3464,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr "comprimento da matriz da entrada deve ter potência de 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "as matrizes da entrada não são compatíveis"
@ -3440,6 +3472,10 @@ msgstr "as matrizes da entrada não são compatíveis"
msgid "input data must be an iterable"
msgstr "os dados da entrada devem ser iteráveis"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr "o tipo da entrada dtype deve ser flutuante ou complexo"
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "a matriz da entrada é assimétrica"
@ -3449,18 +3485,26 @@ msgstr "a matriz da entrada é assimétrica"
msgid "input matrix is singular"
msgstr "a matriz da entrada é singular"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr "a entrada deve ser um 1D ndarray"
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "a entrada deve ser um ndarray denso"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "a entrada dos dados deve ser um tensor de nível 2"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "a entrada deve ser um ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr "a entrada deve ser um ndarray ou um escalar"
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "a entrada deve ser unidimensional"
@ -3836,7 +3880,11 @@ msgstr "nem todos os argumentos são convertidos durante a formatação da strin
msgid "not enough arguments for format string"
msgstr "argumentos insuficientes para o formato da string"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr "não foi implementado para dtype complexo"
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "a quantidade dos pontos deve ser pelo menos 2"
@ -3894,7 +3942,7 @@ msgstr "é necessário objeto com protocolo do buffer"
msgid "odd-length string"
msgstr "sequência com comprimento ímpar"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "o offset é muito grande"
@ -3902,7 +3950,7 @@ msgstr "o offset é muito grande"
msgid "offset must be >= 0"
msgstr "o offset deve ser >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "o offset deve ser positivo e não maior do que o comprimento do buffer"
@ -4061,7 +4109,9 @@ msgstr "o pow() com 3 argumentos requer números inteiros"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4076,7 +4126,6 @@ msgstr "o pow() com 3 argumentos requer números inteiros"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4387,7 +4436,7 @@ msgstr "os tobytes podem ser invocados apenas nas matrizes densas"
msgid "too many arguments provided with the given format"
msgstr "Muitos argumentos fornecidos com o formato dado"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "dimensões demais"
@ -4588,7 +4637,7 @@ msgstr "a janela deve ser <= intervalo"
msgid "wrong axis index"
msgstr "índice do eixo errado"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "um eixo errado foi definido"
@ -4596,7 +4645,11 @@ msgstr "um eixo errado foi definido"
msgid "wrong input type"
msgstr "tipo da entrada incorreta"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr "comprimento errado na condição da matriz"
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "quantidade errada dos argumentos"
@ -4640,6 +4693,9 @@ msgstr "zi deve ser de um tipo float"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi deve estar na forma (n_section, 2)"
#~ msgid "Unsupported pull value."
#~ msgstr "O valor pull não é compatível."
#~ msgid "Station must be started"
#~ msgstr "A estação deve ser iniciada"

View File

@ -156,6 +156,10 @@ msgstr "%q должен быть между %d и %d"
msgid "%q must be of type %q"
msgstr "%q должен быть типа %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr ""
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q должен быть во 2-й степени"
@ -677,6 +681,10 @@ msgstr "Bytes должен быть в диапазоне от 0 до 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "Блоки CBC должны быть кратны 16 байтам"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr ""
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC или контрольная сумма неправильная"
@ -1637,7 +1645,7 @@ msgstr "Канал DMA не найден"
msgid "No DMA pacing timer found"
msgstr ""
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "Нет устройства I2C по адресу: %x"
@ -1945,7 +1953,7 @@ msgstr ""
msgid "Pin interrupt already in use"
msgstr ""
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr ""
@ -2029,6 +2037,10 @@ msgstr ""
msgid "RAISE mode is not implemented"
msgstr ""
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr ""
@ -2498,10 +2510,6 @@ msgstr ""
msgid "Unsupported operation"
msgstr ""
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr ""
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr ""
@ -2671,7 +2679,7 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr ""
@ -2727,11 +2735,11 @@ msgstr ""
msgid "branch not in range"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr ""
@ -2781,6 +2789,10 @@ msgstr ""
msgid "calibration value out of range +/-127"
msgstr ""
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr ""
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
@ -2819,6 +2831,10 @@ msgstr ""
msgid "can't convert '%q' object to %q implicitly"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr ""
@ -2913,6 +2929,14 @@ msgstr ""
msgid "cannot cast output with casting rule"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr ""
@ -3104,6 +3128,10 @@ msgstr ""
msgid "divisor must be 4"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr ""
@ -3207,7 +3235,7 @@ msgstr ""
msgid "first argument must be a function"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr ""
@ -3272,6 +3300,10 @@ msgstr ""
msgid "function is defined for ndarrays only"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3385,7 +3417,7 @@ msgstr ""
msgid "input and output shapes are not compatible"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr ""
@ -3393,7 +3425,7 @@ msgstr ""
msgid "input array length must be power of 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr ""
@ -3401,6 +3433,10 @@ msgstr ""
msgid "input data must be an iterable"
msgstr ""
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr ""
@ -3410,18 +3446,26 @@ msgstr ""
msgid "input matrix is singular"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: 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
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr ""
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr ""
@ -3792,7 +3836,11 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr ""
@ -3850,7 +3898,7 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr ""
@ -3858,7 +3906,7 @@ msgstr ""
msgid "offset must be >= 0"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr ""
@ -4012,7 +4060,9 @@ msgstr ""
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4027,7 +4077,6 @@ msgstr ""
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4336,7 +4385,7 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr ""
@ -4537,7 +4586,7 @@ msgstr ""
msgid "wrong axis index"
msgstr ""
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr ""
@ -4545,7 +4594,11 @@ msgstr ""
msgid "wrong input type"
msgstr ""
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr ""

View File

@ -6,7 +6,7 @@ msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
"PO-Revision-Date: 2021-11-25 00:02+0000\n"
"PO-Revision-Date: 2022-01-19 23:56+0000\n"
"Last-Translator: Jonny Bergdahl <jonny@bergdahl.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: sv\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.10-dev\n"
"X-Generator: Weblate 4.11-dev\n"
#: main.c
msgid ""
@ -152,6 +152,10 @@ msgstr "%q måste vara mellan %d och %d"
msgid "%q must be of type %q"
msgstr "%q måste vara av typen %q"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr "%q måste vara av typen %q eller None"
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q måste vara en potens av 2"
@ -669,6 +673,10 @@ msgstr "Bytes måste vara mellan 0 och 255."
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBC-block måste vara multiplar om 16 byte"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr "CIRCUITPY-enheten kunde inte hittas eller skapas."
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC eller checksumma var ogiltig"
@ -1612,7 +1620,7 @@ msgstr "Ingen DMA-kanal hittades"
msgid "No DMA pacing timer found"
msgstr "Ingen DMA pacing timer hittades"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "Ingen I2C-enhet på adress: %x"
@ -1919,7 +1927,7 @@ msgstr "Pinnen har inte ADC-funktionalitet"
msgid "Pin interrupt already in use"
msgstr "Pinnavbrott används redan"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Pinnen är enbart ingång"
@ -2006,6 +2014,10 @@ msgstr "Pull används inte när riktningen är output."
msgid "RAISE mode is not implemented"
msgstr "RAISE-läge är inte implementerat"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr "RISE_AND_FALL är inte tillgängligt på detta chip"
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG DeInit-fel"
@ -2487,10 +2499,6 @@ msgstr "Formatet stöds inte"
msgid "Unsupported operation"
msgstr "Åtgärd som inte stöds"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Ogiltigt Pull-värde."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "Uppdateringen misslyckades"
@ -2668,7 +2676,7 @@ msgstr "försök att få argmin/argmax för en tom sekvens"
msgid "attributes not supported yet"
msgstr "attribut stöds inte än"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "axis är utanför gränsen"
@ -2724,11 +2732,11 @@ msgstr "bits_per_sample måste vara 8 eller 16"
msgid "branch not in range"
msgstr "branch utanför räckvidd"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "bufferten är mindre än begärd storlek"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "buffertstorlek måste vara en multipel av elementstorlek"
@ -2778,6 +2786,10 @@ msgstr "kalibrering är skrivskyddad"
msgid "calibration value out of range +/-127"
msgstr "kalibreringsvärde utanför intervallet +/- 127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr "kan endast registreras med en förälder"
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "kan bara ha upp till 4 parametrar för Thumbs assembly"
@ -2816,6 +2828,10 @@ msgstr "kan inte konvertera %s till komplex"
msgid "can't convert '%q' object to %q implicitly"
msgstr "kan inte konvertera '%q' objekt implicit till %q"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr "kan inte konvertera complex till float"
#: py/obj.c
msgid "can't convert to %q"
msgstr "kan inte konvertera till %q"
@ -2912,6 +2928,14 @@ msgstr "kan inte tilldela en ny form"
msgid "cannot cast output with casting rule"
msgstr "kan inte casta utdata med regel"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr "kan inte konvertera komplex till dtype"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr "kan inte konvertera complex typer"
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "kan inte skapa instanser av '%q'"
@ -3106,6 +3130,10 @@ msgstr "division med noll"
msgid "divisor must be 4"
msgstr "divisor måste vara 4"
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr "dtype måste vara float eller complex"
#: py/objdeque.c
msgid "empty"
msgstr "tom"
@ -3209,7 +3237,7 @@ msgstr "första argumentet måste vara en callable"
msgid "first argument must be a function"
msgstr "första argumentet måste vara en funktion"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "första argumentet måste vara en tupel av ndarray"
@ -3274,6 +3302,10 @@ msgstr "funktionen har samma teckenvärden vid slutet av intervall"
msgid "function is defined for ndarrays only"
msgstr "funktionen är enbart definierad för ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr "funktionen är bara implementerad för ndarrays"
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3387,7 +3419,7 @@ msgstr "inline assembler måste vara en funktion"
msgid "input and output shapes are not compatible"
msgstr "indata- och utdataformer är inte kompatibla"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "indataargument måste vara integer, en tuple eller list"
@ -3395,7 +3427,7 @@ msgstr "indataargument måste vara integer, en tuple eller list"
msgid "input array length must be power of 2"
msgstr "indataarraylängden måste vara en multipel av 2"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "indatamatriser är inte kompatibla"
@ -3403,6 +3435,10 @@ msgstr "indatamatriser är inte kompatibla"
msgid "input data must be an iterable"
msgstr "indata måste vara en iterable"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr "indatatyp måste vara float eller complex"
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "indatamatrisen är asymmetrisk"
@ -3412,18 +3448,26 @@ msgstr "indatamatrisen är asymmetrisk"
msgid "input matrix is singular"
msgstr "indatamatrisen är singulär"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr "indata måste vara en 1D ndarray"
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "indata måste vara en dense ndarray"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "indata måste vara en tensor av rank 2"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "indata måste vara en ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr "indata måste vara en ndarray eller en scalar"
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "indata måste vara endimensionell"
@ -3797,7 +3841,11 @@ msgstr "inte alla argument omvandlade under strängformatering"
msgid "not enough arguments for format string"
msgstr "inte tillräckligt med argument för formatsträng"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr "inte implementerat för complex dtype"
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "antal punkter måste vara minst 2"
@ -3855,7 +3903,7 @@ msgstr "objekt med buffertprotokoll krävs"
msgid "odd-length string"
msgstr "sträng har udda längd"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "offset är för stor"
@ -3863,7 +3911,7 @@ msgstr "offset är för stor"
msgid "offset must be >= 0"
msgstr "offset måste vara >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "offset måste vara icke-negativt och inte längre än buffertlängd"
@ -4018,7 +4066,9 @@ msgstr "pow() med 3 argument kräver heltal"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4033,7 +4083,6 @@ msgstr "pow() med 3 argument kräver heltal"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4344,7 +4393,7 @@ msgstr "tobyte kan enbart anropas för täta matriser"
msgid "too many arguments provided with the given format"
msgstr "för många argument för det givna formatet"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "för många dimensioner"
@ -4545,7 +4594,7 @@ msgstr "window måste vara <= interval"
msgid "wrong axis index"
msgstr "fel axelindex"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "fel axel angiven"
@ -4553,7 +4602,11 @@ msgstr "fel axel angiven"
msgid "wrong input type"
msgstr "fel indatatyp"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr "fel längd på villkorsmatrisen"
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "fel antal argument"
@ -4597,6 +4650,9 @@ msgstr "zi måste vara av typ float"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi måste vara i formen (n_section, 2)"
#~ msgid "Unsupported pull value."
#~ msgstr "Ogiltigt Pull-värde."
#~ msgid "Station must be started"
#~ msgstr "Stationen måste startas"

4606
locale/tr.po Normal file

File diff suppressed because it is too large Load Diff

View File

@ -7,15 +7,15 @@ msgstr ""
"Project-Id-Version: circuitpython-cn\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
"PO-Revision-Date: 2021-11-16 01:34+0000\n"
"Last-Translator: River Wang <urfdvw@gmail.com>\n"
"PO-Revision-Date: 2022-01-11 14:56+0000\n"
"Last-Translator: hexthat <hexthat@gmail.com>\n"
"Language-Team: Chinese Hanyu Pinyin\n"
"Language: zh_Latn_pinyin\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.9.1-dev\n"
"X-Generator: Weblate 4.10.1\n"
#: main.c
msgid ""
@ -69,12 +69,12 @@ msgid "%%c requires int or char"
msgstr "%%c xūyào zhěngshù huòzhě zìfú"
#: shared-bindings/rgbmatrix/RGBMatrix.c
#, fuzzy, c-format
#, c-format
msgid ""
"%d address pins, %d rgb pins and %d tiles indicate a height of %d, not %d"
msgstr ""
"%d de zhǐ yǐn jiǎo , %d rgb yǐn jiǎo hé %d qiē piàn biǎo shì %d de gāo dù, "
"ér bù shì %d"
"%d de zhǐ yǐn jiǎo, %d rgb yǐn jiǎo hé %d qiē piàn biǎo shì %d de gāo dù, ér "
"bù shì %d"
#: shared-bindings/microcontroller/Pin.c
msgid "%q and %q contain duplicate pins"
@ -154,6 +154,10 @@ msgstr "%q bì xū zài %d hé %d zhī jiān"
msgid "%q must be of type %q"
msgstr "%q bì xū shì %q lèi xíng"
#: shared-bindings/digitalio/Pull.c
msgid "%q must be of type %q or None"
msgstr "%q lèi xíng bì xū wéi %q huò wú"
#: ports/atmel-samd/common-hal/busio/UART.c
msgid "%q must be power of 2"
msgstr "%q bì xū shì 2 de zhěng shù cì fāng"
@ -641,20 +645,20 @@ msgstr "Huǎnchōngqū chángdù bìxū wéi 512 de bèishù"
#: ports/stm/common-hal/sdioio/SDCard.c
msgid "Buffer must be a multiple of 512 bytes"
msgstr "Huǎn chōng qū bì xū shì 512 zì jié de bèi shù"
msgstr "Huǎnchōngqū bìxū shì 512 zìjié de bèishù"
#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c
msgid "Buffer must be at least length 1"
msgstr "Huǎnchōng qū bìxū zhìshǎo chángdù 1"
msgstr "Huǎnchōng qū bìxū zhìshǎo chángdù wéi 1"
#: shared-bindings/_bleio/PacketBuffer.c
#, c-format
#, fuzzy, c-format
msgid "Buffer too short by %d bytes"
msgstr "Huǎn chōng qū tài duǎn , àn %d zì jié"
#: ports/espressif/common-hal/imagecapture/ParallelImageCapture.c
msgid "Buffers must be same size"
msgstr "huǎn chōng qì bì xū dà xiǎo xiāng tóng"
msgstr "huǎnchōng qū bìxū dàxiǎo xiāngtóng"
#: ports/atmel-samd/common-hal/paralleldisplay/ParallelBus.c
#: ports/espressif/common-hal/paralleldisplay/ParallelBus.c
@ -662,39 +666,46 @@ msgstr "huǎn chōng qì bì xū dà xiǎo xiāng tóng"
#: ports/raspberrypi/common-hal/paralleldisplay/ParallelBus.c
#, c-format
msgid "Bus pin %d is already in use"
msgstr "Zǒngxiàn yǐn jiǎo %d yǐ zài shǐyòng zhōng"
msgstr "Zǒngxiàn yǐnjiǎo %d yǐjīng zài shǐyòng zhōng"
#: shared-bindings/_bleio/UUID.c
msgid "Byte buffer must be 16 bytes."
msgstr "Zì jié huǎnchōng qū bìxū shì 16 zì jié."
msgstr "Zìjié huǎnchōng qū bìxū shì 16 zìjié."
#: shared-bindings/alarm/SleepMemory.c shared-bindings/nvm/ByteArray.c
msgid "Bytes must be between 0 and 255."
msgstr "Zì jié bìxū jiè yú 0 dào 255 zhī jiān."
msgstr "Zìjié bìxū jiè yú 0 dào 255 zhījiān."
#: shared-bindings/aesio/aes.c
msgid "CBC blocks must be multiples of 16 bytes"
msgstr "CBC kuài bì xū shì 16 zì jié de bèi shù"
msgstr "CBC kuài bìxū shì 16 zìjié de bèishù"
#: supervisor/shared/safe_mode.c
msgid "CIRCUITPY drive could not be found or created."
msgstr "zhǎo bú dào huò chuàng jiàn CIRCUITPY qū dòng qì."
#: ports/espressif/bindings/espidf/__init__.c ports/espressif/esp_error.c
msgid "CRC or checksum was invalid"
msgstr "CRC huò jiào yàn hé wú xiào"
msgstr "CRC huò jiàoyàn hé wúxiào"
#: py/objtype.c
msgid "Call super().__init__() before accessing native object."
msgstr "Zài fǎngwèn běn jī wùjiàn zhīqián diàoyòng super().__init__()."
msgstr "Zài fǎngwèn yuánshēn dùixiàng zhīqián diàoyòng super().__init__()."
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
#, fuzzy
msgid "Can only alarm on RTC IO from deep sleep."
msgstr "zhǐ néng zài RTC Io shàng cóng shēn dù shuì mián zhōng bào jǐng."
msgstr "zhǐ néng zài RTC IO shàng cóng shēndù shuìmián zhōng bào jǐng."
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
#, fuzzy
msgid "Can only alarm on one low pin while others alarm high from deep sleep."
msgstr ""
"Zhǐ néng zài yīgè dī diàn píng yǐn jiǎo shàng fāchū jǐngbào, ér qítā yǐn "
"jiǎo cóng shēndù shuìmián zhōng fāchū gāo diàn píng jǐngbào."
#: ports/espressif/common-hal/alarm/pin/PinAlarm.c
#, fuzzy
msgid "Can only alarm on two low pins from deep sleep."
msgstr "zhǐ néng cóng shēn dù shuì mián zhōng bào jǐng liǎng gè dī yǐn jiǎo."
@ -705,7 +716,7 @@ msgstr "Wúfǎ jiāng CCCD shèzhì wéi běndì tèzhēng"
#: 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 "xiàn zài wú fǎ gēng gǎi USB shè bèi"
msgstr "xiànzài wúfǎ gēnggǎi USB shèbèi"
#: shared-bindings/_bleio/Adapter.c
msgid "Cannot create a new Adapter; use _bleio.adapter;"
@ -715,14 +726,14 @@ msgstr "Wúfǎ chuàngjiàn xīn de shìpèiqì; shǐyòng_bleio.Adapter;"
#: shared-bindings/memorymonitor/AllocationSize.c
#: shared-bindings/pulseio/PulseIn.c
msgid "Cannot delete values"
msgstr "Wúfǎ shānchú zhí"
msgstr "Wúfǎ jiāng zhí shānchú"
#: ports/atmel-samd/common-hal/digitalio/DigitalInOut.c
#: ports/mimxrt10xx/common-hal/digitalio/DigitalInOut.c
#: ports/nrf/common-hal/digitalio/DigitalInOut.c
#: ports/raspberrypi/common-hal/digitalio/DigitalInOut.c
msgid "Cannot get pull while in output mode"
msgstr "Zài shūchū móshì xià wúfǎ huòqǔ lādòng"
msgstr "Zài shūchū móshì xià wúfǎ huòqǔ shànglā huò xiàlā zhuàngtài"
#: ports/nrf/common-hal/microcontroller/Processor.c
msgid "Cannot get temperature"
@ -1254,7 +1265,7 @@ msgstr "Jiāmì bùzú"
#: ports/espressif/common-hal/wifi/Radio.c
msgid "Interface must be started"
msgstr ""
msgstr "jiē kǒu bì xū qǐ dòng"
#: ports/atmel-samd/audio_dma.c ports/raspberrypi/audio_dma.c
msgid "Internal audio buffer too small"
@ -1317,7 +1328,7 @@ msgstr "Tí gōng liǎo wúxiào de DAC yǐn jiǎo"
#: shared-bindings/wifi/Radio.c
msgid "Invalid MAC address"
msgstr ""
msgstr "wú xiào de MAC dì zhǐ"
#: shared-bindings/synthio/__init__.c
msgid "Invalid MIDI file"
@ -1394,7 +1405,7 @@ msgstr "Wúxiào de nèicún fǎngwèn."
#: ports/espressif/common-hal/wifi/Radio.c
msgid "Invalid multicast MAC address"
msgstr ""
msgstr "wú xiào de duō bō MAC dì zhǐ"
#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c
msgid "Invalid number of bits"
@ -1494,7 +1505,7 @@ msgstr "mì yào bì xū wéi 16, 24 huò 32 zì jié cháng"
#: shared-module/is31fl3741/IS31FL3741.c
msgid "LED mappings must match display size"
msgstr ""
msgstr "LED yìng shè bì xū yǔ xiǎn shì píng chǐ cùn pǐ pèi"
#: py/compile.c
msgid "LHS of keyword arg must be an id"
@ -1623,7 +1634,7 @@ msgstr "Wèi zhǎodào DMA píndào"
msgid "No DMA pacing timer found"
msgstr "wèi zhǎo dào DMA qǐ bó qì"
#: shared-module/adafruit_bus_device/I2CDevice.c
#: shared-module/adafruit_bus_device/i2c_device/I2CDevice.c
#, c-format
msgid "No I2C device at address: %x"
msgstr "dì zhǐ wú I2C shè bèi: %x"
@ -1929,7 +1940,7 @@ msgstr "Pin méiyǒu ADC nénglì"
msgid "Pin interrupt already in use"
msgstr "yǐn jiǎo zhōng duàn yǐ zài shǐ yòng zhōng"
#: shared-bindings/adafruit_bus_device/SPIDevice.c
#: shared-bindings/adafruit_bus_device/spi_device/SPIDevice.c
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Pin is input only"
msgstr "Yǐn jiǎo jǐn shūrù"
@ -2016,6 +2027,10 @@ msgstr "Fāngxiàng shūchū shí Pull méiyǒu shǐyòng."
msgid "RAISE mode is not implemented"
msgstr "wèi shí xiàn tí shēng mó shì"
#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr "RISE_AND_FALL zài cǐ xīn piàn shàng bù kě yòng"
#: ports/stm/common-hal/os/__init__.c
msgid "RNG DeInit Error"
msgstr "RNG qǔxiāo chūshǐhuà cuòwù"
@ -2134,7 +2149,7 @@ msgstr "Cǎiyàng lǜ tài gāo. Tā bìxū xiǎoyú %d"
#: shared-bindings/is31fl3741/IS31FL3741.c
msgid "Scale dimensions must divide by 3"
msgstr ""
msgstr "bǐ lì chǐ cùn bì xū chú yǐ 3"
#: ports/nrf/common-hal/_bleio/Adapter.c
msgid "Scan already in progess. Stop with stop_scan."
@ -2496,10 +2511,6 @@ msgstr "Bù zhīchí de géshì"
msgid "Unsupported operation"
msgstr "Bù zhīchí de cāozuò"
#: shared-bindings/digitalio/DigitalInOut.c
msgid "Unsupported pull value."
msgstr "Bù zhīchí de lādòng zhí."
#: ports/espressif/common-hal/dualbank/__init__.c
msgid "Update Failed"
msgstr "gēng xīn shī bài"
@ -2677,7 +2688,7 @@ msgstr "chángshì huòqǔ kōng xùliè de argmin/ argmax"
msgid "attributes not supported yet"
msgstr "shǔxìng shàngwèi zhīchí"
#: extmod/ulab/code/numpy/numerical.c
#: extmod/ulab/code/ulab_tools.c
msgid "axis is out of bounds"
msgstr "zhóu chāo chū biān jiè"
@ -2733,11 +2744,11 @@ msgstr "měi jiàn yàngběn bìxū wèi 8 huò 16"
msgid "branch not in range"
msgstr "fēnzhī bùzài fànwéi nèi"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer is smaller than requested size"
msgstr "huǎn chōng qū xiǎo yú qǐng qiú de dà xiǎo"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "buffer size must be a multiple of element size"
msgstr "huǎn chōng qū dà xiǎo bì xū shì yuán sù dà xiǎo de bèi shù"
@ -2787,6 +2798,10 @@ msgstr "jiàozhǔn zhǐ dú dào"
msgid "calibration value out of range +/-127"
msgstr "jiàozhǔn zhí chāochū fànwéi +/-127"
#: shared-module/vectorio/Rectangle.c
msgid "can only be registered in one parent"
msgstr "zhǐ néng zài yí gè jiā zhǎng zhōng zhù cè"
#: py/emitinlinethumb.c
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "zhǐyǒu Thumb zǔjiàn zuìduō 4 cānshù"
@ -2825,6 +2840,10 @@ msgstr "wúfǎ zhuǎnhuàn%s dào fùzá"
msgid "can't convert '%q' object to %q implicitly"
msgstr "wúfǎ jiāng '%q' duìxiàng zhuǎnhuàn wèi %q yǐn hán"
#: extmod/ulab/code/numpy/vector.c
msgid "can't convert complex to float"
msgstr ""
#: py/obj.c
msgid "can't convert to %q"
msgstr "wúfǎ zhuǎnhuàn wèi %q"
@ -2920,6 +2939,14 @@ msgid "cannot cast output with casting rule"
msgstr ""
"wú fǎ shǐ yòng qiáng zhì zhuǎn huàn guī zé qiáng zhì zhuǎn huàn shū chū"
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex to dtype"
msgstr ""
#: extmod/ulab/code/ndarray.c
msgid "cannot convert complex type"
msgstr ""
#: py/objtype.c
msgid "cannot create '%q' instances"
msgstr "wúfǎ chuàngjiàn '%q' ' shílì"
@ -3116,6 +3143,10 @@ msgstr "bèi líng chú"
msgid "divisor must be 4"
msgstr "èr chóng zòu bì xū shì 4"
#: extmod/ulab/code/numpy/vector.c
msgid "dtype must be float, or complex"
msgstr ""
#: py/objdeque.c
msgid "empty"
msgstr "kòngxián"
@ -3219,7 +3250,7 @@ msgstr "dì yī gè cānshù bìxū shì kě tiáo yòng de"
msgid "first argument must be a function"
msgstr "dì yīgè cānshù bìxū shì yī gè hánshù"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "first argument must be a tuple of ndarrays"
msgstr "dì yī gè cān shù bì xū shì yí gè yuán zǔ ndarrays"
@ -3284,6 +3315,10 @@ msgstr "hánshù zài jiàngé mòwěi jùyǒu xiāngtóng de fúhào"
msgid "function is defined for ndarrays only"
msgstr "hán shù jǐn wéi ndarrays dìng yì"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "function is implemented for ndarrays only"
msgstr ""
#: py/argcheck.c
#, c-format
msgid "function missing %d required positional arguments"
@ -3397,7 +3432,7 @@ msgstr "nèi lián jíhé bìxū shì yīgè hánshù"
msgid "input and output shapes are not compatible"
msgstr "shū rù hé shū chū xíng zhuàng bù jiān róng"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input argument must be an integer, a tuple, or a list"
msgstr "shū rù cān shù bì xū shì zhěng shù, yuán zǔ huò liè biǎo"
@ -3405,7 +3440,7 @@ msgstr "shū rù cān shù bì xū shì zhěng shù, yuán zǔ huò liè biǎo"
msgid "input array length must be power of 2"
msgstr "shūrù shùzǔ de chángdù bìxū shì 2 de mì"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input arrays are not compatible"
msgstr "shū rù shù zǔ bù jiān róng"
@ -3413,6 +3448,10 @@ msgstr "shū rù shù zǔ bù jiān róng"
msgid "input data must be an iterable"
msgstr "shūrù shùjù bìxū shì kě diédài de"
#: extmod/ulab/code/numpy/vector.c
msgid "input dtype must be float or complex"
msgstr ""
#: extmod/ulab/code/numpy/linalg/linalg.c
msgid "input matrix is asymmetric"
msgstr "shūrù jǔzhèn bù duìchèn"
@ -3422,18 +3461,26 @@ msgstr "shūrù jǔzhèn bù duìchèn"
msgid "input matrix is singular"
msgstr "shūrù jǔzhèn shì qíyì de"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be a 1D ndarray"
msgstr ""
#: extmod/ulab/code/scipy/linalg/linalg.c extmod/ulab/code/user/user.c
msgid "input must be a dense ndarray"
msgstr "shū rù bì xū shì mì jí de ndarray"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "input must be a tensor of rank 2"
msgstr "shū rù bì xū shì děng jí 2 de zhāng liàng"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/user/user.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/user/user.c
msgid "input must be an ndarray"
msgstr "shū rù bì xū shì ndarray"
#: extmod/ulab/code/numpy/carray/carray.c
msgid "input must be an ndarray, or a scalar"
msgstr ""
#: extmod/ulab/code/scipy/signal/signal.c
msgid "input must be one-dimensional"
msgstr "shū rù bì xū shì yì wéi de"
@ -3805,7 +3852,11 @@ msgstr "bùshì zì chuàn géshì huà guòchéng zhōng zhuǎnhuàn de suǒyǒ
msgid "not enough arguments for format string"
msgstr "géshì zìfú chuàn cān shǔ bùzú"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/carray/carray_tools.c
msgid "not implemented for complex dtype"
msgstr ""
#: extmod/ulab/code/numpy/create.c
msgid "number of points must be at least 2"
msgstr "diǎnshù bìxū zhìshǎo wèi 2"
@ -3863,7 +3914,7 @@ msgstr "xūyào huǎnchōng qū xiéyì de duìxiàng"
msgid "odd-length string"
msgstr "jīshù zìfú chuàn"
#: extmod/ulab/code/ulab_create.c extmod/ulab/code/utils/utils.c
#: extmod/ulab/code/numpy/create.c extmod/ulab/code/utils/utils.c
msgid "offset is too large"
msgstr "piān yí tài dà"
@ -3871,7 +3922,7 @@ msgstr "piān yí tài dà"
msgid "offset must be >= 0"
msgstr "piān yí liàng bì xū >= 0"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "offset must be non-negative and no greater than buffer length"
msgstr "piān yí liàng bì xū wéi fēi fù shù qiě bù dà yú huǎn chōng qū cháng dù"
@ -4025,7 +4076,9 @@ msgstr "pow() yǒu 3 cānshù xūyào zhěngshù"
#: 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_esp32s3_box/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1/mpconfigboard.h
#: ports/espressif/boards/espressif_esp32s3_devkitc_1_nopsram/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
@ -4040,7 +4093,6 @@ msgstr "pow() yǒu 3 cānshù xūyào zhěngshù"
#: 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
#: ports/espressif/boards/microdev_macro_s3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_c3/mpconfigboard.h
#: ports/espressif/boards/microdev_micro_s2/mpconfigboard.h
#: ports/espressif/boards/morpheans_morphesp-240/mpconfigboard.h
@ -4241,7 +4293,7 @@ msgstr "yuán wèi tú (source_bitmap) de zhí de shù mù (value_count) bì xū
#: shared-bindings/wifi/Radio.c
msgid "ssid can't be more than 32 bytes"
msgstr ""
msgstr "ssid bù néng chāo guò 32 gè zì jié"
#: py/objstr.c
msgid "start/end indices"
@ -4354,7 +4406,7 @@ msgstr "tobytes zhǐ néng duì mì jí shù zǔ diào yòng"
msgid "too many arguments provided with the given format"
msgstr "tígōng jǐ dìng géshì de cānshù tài duō"
#: extmod/ulab/code/ndarray.c extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
msgid "too many dimensions"
msgstr "chǐ cùn tài duō"
@ -4555,7 +4607,7 @@ msgstr "Chuāngkǒu bìxū shì <= jiàngé"
msgid "wrong axis index"
msgstr "cuò wù de zhóu suǒ yǐn"
#: extmod/ulab/code/ulab_create.c
#: extmod/ulab/code/numpy/create.c
msgid "wrong axis specified"
msgstr "zhǐ dìng de zhóu cuò wù"
@ -4563,7 +4615,11 @@ msgstr "zhǐ dìng de zhóu cuò wù"
msgid "wrong input type"
msgstr "shūrù lèixíng cuòwù"
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
#: extmod/ulab/code/numpy/transform.c
msgid "wrong length of condition array"
msgstr ""
#: extmod/ulab/code/numpy/create.c py/objarray.c py/objstr.c
msgid "wrong number of arguments"
msgstr "cānshù shù cuòwù"
@ -4607,6 +4663,9 @@ msgstr "zi bìxū wèi fú diǎn xíng"
msgid "zi must be of shape (n_section, 2)"
msgstr "zi bìxū jùyǒu xíngzhuàng (n_section,2)"
#~ msgid "Unsupported pull value."
#~ msgstr "Bù zhīchí de lādòng zhí."
#~ msgid "%q must <= %d"
#~ msgstr "%q bì xū <= %d"

40
main.c
View File

@ -123,7 +123,7 @@ static void reset_devices(void) {
#endif
}
STATIC void start_mp(supervisor_allocation *heap) {
STATIC void start_mp(supervisor_allocation *heap, bool first_run) {
autoreload_stop();
supervisor_workflow_reset();
@ -171,7 +171,8 @@ STATIC void start_mp(supervisor_allocation *heap) {
#if CIRCUITPY_ALARM
// Record which alarm woke us up, if any. An object may be created so the heap must be functional.
shared_alarm_save_wake_alarm(common_hal_alarm_create_wake_alarm());
// There is no alarm if this is not the first time code.py or the REPL has been run.
shared_alarm_save_wake_alarm(first_run ? common_hal_alarm_create_wake_alarm() : mp_const_none);
// Reset alarm module only after we retrieved the wakeup alarm.
alarm_reset();
#endif
@ -309,7 +310,7 @@ STATIC void print_code_py_status_message(safe_mode_t safe_mode) {
}
}
STATIC bool run_code_py(safe_mode_t safe_mode) {
STATIC bool run_code_py(safe_mode_t safe_mode, bool first_run, bool *simulate_reset) {
bool serial_connected_at_start = serial_connected();
bool printed_safe_mode_message = false;
#if CIRCUITPY_AUTORELOAD_DELAY_MS > 0
@ -348,7 +349,7 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
supervisor_allocation *heap = allocate_remaining_memory();
// Prepare the VM state. Includes an alarm check/reset for sleep.
start_mp(heap);
start_mp(heap, first_run);
#if CIRCUITPY_USB
usb_setup_with_vm();
@ -631,6 +632,8 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
#if CIRCUITPY_ALARM
if (fake_sleeping) {
board_init();
// Pretend that the next run is the first run, as if we were reset.
*simulate_reset = true;
}
#endif
@ -652,7 +655,9 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
// Do USB setup even if boot.py is not run.
supervisor_allocation *heap = allocate_remaining_memory();
start_mp(heap);
// true means this is the first set of VM's after a hard reset.
start_mp(heap, true);
#if CIRCUITPY_USB
// Set up default USB values after boot.py VM starts but before running boot.py.
@ -729,12 +734,12 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
#endif
}
STATIC int run_repl(void) {
STATIC int run_repl(bool first_run) {
int exit_code = PYEXEC_FORCED_EXIT;
stack_resize();
filesystem_flush();
supervisor_allocation *heap = allocate_remaining_memory();
start_mp(heap);
start_mp(heap, first_run);
#if CIRCUITPY_USB
usb_setup_with_vm();
@ -806,7 +811,12 @@ int __attribute__((used)) main(void) {
// Create a new filesystem only if we're not in a safe mode.
// A power brownout here could make it appear as if there's
// no SPI flash filesystem, and we might erase the existing one.
filesystem_init(safe_mode == NO_SAFE_MODE, false);
// Check whether CIRCUITPY is available. No need to reset to get safe mode
// since we haven't run user code yet.
if (!filesystem_init(safe_mode == NO_SAFE_MODE, false)) {
safe_mode = NO_CIRCUITPY;
}
// displays init after filesystem, since they could share the flash SPI
board_init();
@ -847,28 +857,34 @@ int __attribute__((used)) main(void) {
supervisor_start_bluetooth();
#endif
// Boot script is finished, so now go into REPL/main mode.
// Boot script is finished, so now go into REPL or run code.py.
int exit_code = PYEXEC_FORCED_EXIT;
bool skip_repl = true;
bool first_run = true;
bool simulate_reset;
for (;;) {
simulate_reset = false;
if (!skip_repl) {
exit_code = run_repl();
exit_code = run_repl(first_run);
supervisor_set_run_reason(RUN_REASON_REPL_RELOAD);
}
if (exit_code == PYEXEC_FORCED_EXIT) {
if (!first_run) {
serial_write_compressed(translate("soft reboot\n"));
}
first_run = false;
if (pyexec_mode_kind == PYEXEC_MODE_FRIENDLY_REPL) {
skip_repl = run_code_py(safe_mode);
skip_repl = run_code_py(safe_mode, first_run, &simulate_reset);
} else {
skip_repl = false;
}
} else if (exit_code != 0) {
break;
}
// Either the REPL or code.py has run and finished.
// If code.py did a fake deep sleep, pretend that we are running code.py for
// the first time after a hard reset. This will preserve any alarm information.
first_run = simulate_reset;
}
mp_deinit();
return 0;

View File

@ -85,6 +85,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA12) },
{ MP_ROM_QSTR(MP_QSTR_I2C1_SDA), MP_ROM_PTR(&pin_PA13) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA13) },
{ MP_ROM_QSTR(MP_QSTR_LED_AUX), MP_ROM_PTR(&pin_PC26) },
{ MP_ROM_QSTR(MP_QSTR_LED_B), MP_ROM_PTR(&pin_PA23) },
{ MP_ROM_QSTR(MP_QSTR_LED_STATUS), MP_ROM_PTR(&pin_PA23) },
{ MP_ROM_QSTR(MP_QSTR_LED_G), MP_ROM_PTR(&pin_PB15) },

View File

@ -15,6 +15,7 @@ LONGINT_IMPL = NONE
CIRCUITPY_BUSDEVICE = 1
CIRCUITPY_DISPLAYIO = 0
CIRCUITPY_KEYPAD = 0
CIRCUITPY_ONEWIREIO = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_CircuitPlayground

View File

@ -8,6 +8,7 @@ CHIP_FAMILY = samd51
QSPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICES = "W25Q128JVxM"
LONGINT_IMPL = MPZ
# No I2S on SAMD51G.
CIRCUITPY_AUDIOBUSIO = 0

View File

@ -164,7 +164,7 @@ void alarm_pin_pinalarm_reset(void) {
woke_up = false;
SAMD_ALARM_FLAG &= ~SAMD_ALARM_FLAG_PIN; // clear flag
// Disable TAMPER interrupt
RTC->MODE0.INTENCLR.bit.TAMPER = 1;
RTC->MODE0.INTENCLR.reg = RTC_MODE0_INTENCLR_TAMPER;
// Disable TAMPER control
common_hal_mcu_disable_interrupts();
RTC->MODE0.CTRLA.bit.ENABLE = 0; // Disable the RTC

View File

@ -66,7 +66,7 @@
#endif
// Set by interrupt handler when DMA block has finished transferring.
static bool pdmin_dma_block_done;
static volatile bool pdmin_dma_block_done;
// Event channel used to trigger interrupt. Set to invalid value EVSYS_SYNCH_NUM when not in use.
static uint8_t pdmin_event_channel;
@ -77,6 +77,7 @@ void pdmin_evsys_handler(void) {
}
void pdmin_reset(void) {
pdmin_dma_block_done = false;
pdmin_event_channel = EVSYS_SYNCH_NUM;
while (I2S->SYNCBUSY.reg & I2S_SYNCBUSY_ENABLE) {}
@ -409,6 +410,20 @@ uint32_t common_hal_audiobusio_pdmin_record_to_buffer(audiobusio_pdmin_obj_t* se
init_event_channel_interrupt(pdmin_event_channel, CORE_GCLK, EVSYS_ID_GEN_DMAC_CH_0 + dma_channel);
// Turn on serializer now to get it in sync with DMA.
i2s_set_serializer_enable(self->serializer, true);
#ifdef SAM_D5X_E5X
int irq = pdmin_event_channel < 4 ? EVSYS_0_IRQn + pdmin_event_channel : EVSYS_4_IRQn;
// Only disable and clear on SAMD51 because the SAMD21 shares EVSYS with ticks.
NVIC_DisableIRQ(irq);
NVIC_ClearPendingIRQ(irq);
#endif
#ifdef SAMD21
int irq = EVSYS_IRQn;
#endif
// Don't bother to disable when done. It doesn't hurt to leave it on.
NVIC_EnableIRQ(irq);
audio_dma_enable_channel(dma_channel);
// Record

View File

@ -10,14 +10,14 @@
#include "supervisor/shared/translate.h"
void common_hal_countio_counter_construct(countio_counter_obj_t *self,
const mcu_pin_obj_t *pin_a) {
if (!pin_a->has_extint) {
const mcu_pin_obj_t *pin, countio_edge_t edge, digitalio_pull_t pull) {
if (!pin->has_extint) {
mp_raise_RuntimeError(translate("Pin must support hardware interrupts"));
}
if (eic_get_enable()) {
if (!eic_channel_free(pin_a->extint_channel)) {
if (!eic_channel_free(pin->extint_channel)) {
mp_raise_RuntimeError(translate("A hardware interrupt channel is already in use"));
}
} else {
@ -25,28 +25,50 @@ void common_hal_countio_counter_construct(countio_counter_obj_t *self,
}
// These default settings apply when the EIC isn't yet enabled.
self->eic_channel_a = pin_a->extint_channel;
self->eic_channel = pin->extint_channel;
self->pin_a = pin_a->number;
self->pin = pin->number;
gpio_set_pin_function(self->pin_a, GPIO_PIN_FUNCTION_A);
gpio_set_pin_pull_mode(self->pin_a, GPIO_PULL_UP);
gpio_set_pin_function(self->pin, GPIO_PIN_FUNCTION_A);
set_eic_channel_data(self->eic_channel_a, (void *)self);
enum gpio_pull_mode asf_pull = GPIO_PULL_OFF;
switch (pull) {
case PULL_UP:
asf_pull = GPIO_PULL_UP;
break;
case PULL_DOWN:
asf_pull = GPIO_PULL_DOWN;
break;
case PULL_NONE:
default:
break;
}
gpio_set_pin_pull_mode(self->pin, asf_pull);
set_eic_channel_data(self->eic_channel, (void *)self);
self->count = 0;
claim_pin(pin);
set_eic_handler(self->eic_channel, EIC_HANDLER_COUNTER);
claim_pin(pin_a);
set_eic_handler(self->eic_channel_a, EIC_HANDLER_COUNTER);
turn_on_eic_channel(self->eic_channel_a, EIC_CONFIG_SENSE0_FALL_Val);
uint32_t sense_setting = EIC_CONFIG_SENSE0_BOTH_Val;
switch (edge) {
case EDGE_RISE:
sense_setting = EIC_CONFIG_SENSE0_RISE_Val;
break;
case EDGE_FALL:
sense_setting = EIC_CONFIG_SENSE0_FALL_Val;
break;
case EDGE_RISE_AND_FALL:
default:
break;
}
turn_on_eic_channel(self->eic_channel, sense_setting);
}
bool common_hal_countio_counter_deinited(countio_counter_obj_t *self) {
return self->pin_a == NO_PIN;
return self->pin == NO_PIN;
}
void common_hal_countio_counter_deinit(countio_counter_obj_t *self) {
@ -54,12 +76,12 @@ void common_hal_countio_counter_deinit(countio_counter_obj_t *self) {
return;
}
set_eic_handler(self->eic_channel_a, EIC_HANDLER_NO_INTERRUPT);
turn_off_eic_channel(self->eic_channel_a);
set_eic_handler(self->eic_channel, EIC_HANDLER_NO_INTERRUPT);
turn_off_eic_channel(self->eic_channel);
reset_pin_number(self->pin_a);
self->pin_a = NO_PIN;
reset_pin_number(self->pin);
self->pin = NO_PIN;
}
@ -72,10 +94,6 @@ void common_hal_countio_counter_set_count(countio_counter_obj_t *self,
self->count = new_count;
}
void common_hal_countio_counter_reset(countio_counter_obj_t *self) {
self->count = 0;
}
void counter_interrupt_handler(uint8_t channel) {
countio_counter_obj_t *self = get_eic_channel_data(channel);

View File

@ -8,8 +8,8 @@
typedef struct {
mp_obj_base_t base;
uint8_t pin_a;
uint8_t eic_channel_a : 4;
uint8_t pin;
uint8_t eic_channel : 4;
mp_int_t count;
} countio_counter_obj_t;

View File

@ -185,13 +185,13 @@ static void frequencyin_reference_tc_init(void) {
#ifdef SAMD21
tc->COUNT16.CTRLA.reg = TC_CTRLA_MODE_COUNT16 | TC_CTRLA_PRESCALER_DIV1;
tc->COUNT16.INTENSET.bit.OVF = 1;
tc->COUNT16.INTENSET.reg = TC_INTENSET_OVF;
NVIC_EnableIRQ(TC3_IRQn + reference_tc);
#endif
#ifdef SAM_D5X_E5X
tc->COUNT16.CTRLA.reg = TC_CTRLA_MODE_COUNT16 |
TC_CTRLA_PRESCALER_DIV1;
tc->COUNT16.INTENSET.bit.OVF = 1;
tc->COUNT16.INTENSET.reg = TC_INTENSET_OVF;
NVIC_EnableIRQ(TC0_IRQn + reference_tc);
#endif
}

View File

@ -100,7 +100,7 @@ static void neopixel_send_buffer_core(volatile uint32_t *clraddr, uint32_t pinMa
"");
}
uint64_t next_start_raw_ticks = 0;
STATIC uint64_t next_start_raw_ticks = 0;
void common_hal_neopixel_write(const digitalio_digitalinout_obj_t *digitalinout, uint8_t *pixels, uint32_t numBytes) {
// This is adapted directly from the Adafruit NeoPixel library SAMD21G18A code:

View File

@ -58,7 +58,7 @@ STATIC void setup_wdt(watchdog_watchdogtimer_obj_t *self, int setting) {
while (WDT->SYNCBUSY.reg) { // Sync CTRL write
}
WDT->INTENCLR.bit.EW = 1; // Disable early warning interrupt
WDT->INTENCLR.reg = WDT_INTENCLR_EW; // Disable early warning interrupt
WDT->CONFIG.bit.PER = setting; // Set period for chip reset
WDT->CTRLA.bit.WEN = 0; // Disable window mode
while (WDT->SYNCBUSY.reg) { // Sync CTRL write

View File

@ -2,22 +2,6 @@
# parameters that vary based on chip and/or board.
LD_TEMPLATE_FILE = boards/common.template.ld
# Define an equivalent for MICROPY_LONGINT_IMPL, to pass to $(MPY-TOOL) in py/mkrules.mk
# $(MPY-TOOL) needs to know what kind of longint to use (if any) to freeze long integers.
# This should correspond to the MICROPY_LONGINT_IMPL definition in mpconfigport.h.
ifeq ($(LONGINT_IMPL),NONE)
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=none
endif
ifeq ($(LONGINT_IMPL),MPZ)
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
endif
ifeq ($(LONGINT_IMPL),LONGLONG)
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=longlong
endif
INTERNAL_LIBM = 1
# Number of USB endpoint pairs.

View File

@ -386,7 +386,7 @@ void reset_port(void) {
audioout_reset();
#endif
#if CIRCUITPY_AUDIOBUSIO
// pdmin_reset();
pdmin_reset();
#endif
#if CIRCUITPY_AUDIOBUSIO_I2SOUT
i2sout_reset();

View File

@ -31,7 +31,20 @@ include $(TOP)/supervisor/supervisor.mk
# Include make rules and variables common across CircuitPython builds.
include $(TOP)/py/circuitpy_defns.mk
HAL_DIR=hal/$(MCU_SERIES)
ifeq ($(CHIP_VARIANT), "bcm2711")
CFLAGS += -mcpu=cortex-a72 -DBCM_VERSION=2711
CROSS_COMPILE = aarch64-none-elf-
SUFFIX = 8
else ifeq ($(CHIP_VARIANT), "bcm2837")
CFLAGS += -mcpu=cortex-a53 -DBCM_VERSION=2837
CROSS_COMPILE = aarch64-none-elf-
SUFFIX = 8
else ifeq ($(CHIP_VARIANT), "bcm2835")
CFLAGS += -mcpu=arm1176jzf-s -DBCM_VERSION=2835
CROSS_COMPILE = arm-none-eabi-
SUFFIX =
# TODO add 32-bit support for Cortex-A7 in 2836
endif
INC += -I. \
-I../.. \
@ -69,6 +82,7 @@ SRC_C += bindings/videocore/__init__.c \
peripherals/broadcom/mmu.c \
peripherals/broadcom/vcmailbox.c
SRC_S = peripherals/broadcom/boot$(SUFFIX).s
SRC_COMMON_HAL_EXPANDED = $(addprefix shared-bindings/, $(SRC_COMMON_HAL)) \
$(addprefix shared-bindings/, $(SRC_BINDINGS_ENUMS)) \
@ -82,7 +96,6 @@ SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_MODULE))
# because a few modules have files both in common-hal/ and shared-modules/.
# Doing a $(sort ...) removes duplicates as part of sorting.
SRC_COMMON_HAL_SHARED_MODULE_EXPANDED = $(sort $(SRC_COMMON_HAL_EXPANDED) $(SRC_SHARED_MODULE_EXPANDED))
SRC_S = peripherals/broadcom/boot.s
OBJ = $(PY_O) $(SUPERVISOR_O) $(addprefix $(BUILD)/, $(SRC_C:.c=.o))
OBJ += $(addprefix $(BUILD)/, $(SRC_COMMON_HAL_SHARED_MODULE_EXPANDED:.c=.o))
@ -96,15 +109,6 @@ OBJ += $(addprefix $(BUILD)/, $(SRC_MOD:.c=.o))
# BCM CLFAGS
CFLAGS += -ffreestanding -nostartfiles -DMICROPY_HW_MCU_NAME="\"$(CHIP_VARIANT)\""
ifeq ($(CHIP_VARIANT), "bcm2711")
CFLAGS += -mcpu=cortex-a72 -DBCM_VERSION=2711
CROSS_COMPILE = aarch64-none-elf-
else
CFLAGS += -mcpu=cortex-a53 -DBCM_VERSION=2837
CROSS_COMPILE = aarch64-none-elf-
# TODO add 32-bit support for Cortex-A7 and ARM1176
endif
OPTIMIZATION_FLAGS ?= -O3
CFLAGS += $(OPTIMIZATION_FLAGS)
@ -134,32 +138,32 @@ CFLAGS += $(INC) -Wall -Werror -std=gnu11 $(BASE_CFLAGS) $(CFLAGS_MOD) $(COPT) $
SRC_QSTR += $(SRC_C) $(SRC_SUPERVISOR) $(SRC_COMMON_HAL_EXPANDED) $(SRC_SHARED_MODULE_EXPANDED)
LDFLAGS += $(CFLAGS) -T peripherals/broadcom/link.ld -Wl,--gc-sections -Wl,-Map=$@.map # -Wl,--cref
LDFLAGS += $(CFLAGS) -T peripherals/broadcom/link$(SUFFIX).ld -Wl,--gc-sections -Wl,-Map=$@.map # -Wl,--cref
# Use toolchain libm if we're not using our own.
ifndef INTERNAL_LIBM
LIBS += -lm
endif
all: $(BUILD)/firmware.kernel8.img $(BUILD)/firmware.disk.img.zip
all: $(BUILD)/firmware.kernel$(SUFFIX).img $(BUILD)/firmware.disk.img.zip
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
$(BUILD)/kernel8.elf: $(OBJ)
$(BUILD)/kernel$(SUFFIX).elf: $(OBJ)
$(STEPECHO) "LINK $@"
$(Q)echo $(OBJ) > $(BUILD)/firmware.objs
$(Q)$(CC) -o $@ $(LDFLAGS) @$(BUILD)/firmware.objs -Wl,--start-group $(LIBS) -Wl,--end-group
$(BUILD)/kernel8.img: $(BUILD)/kernel8.elf
$(BUILD)/kernel$(SUFFIX).img: $(BUILD)/kernel$(SUFFIX).elf
$(STEPECHO) "Create $@"
$(OBJCOPY) -O binary $(BUILD)/kernel8.elf $@
$(OBJCOPY) -O binary $(BUILD)/kernel$(SUFFIX).elf $@
$(BUILD)/firmware.kernel8.img: $(BUILD)/kernel8.img
$(BUILD)/firmware.kernel$(SUFFIX).img: $(BUILD)/kernel$(SUFFIX).img
$(STEPECHO) "Create $@"
$(CP) $^ $@
$(BUILD)/firmware.disk.img.zip: $(BUILD)/kernel8.img
$(BUILD)/firmware.disk.img.zip: $(BUILD)/kernel$(SUFFIX).img
$(STEPECHO) "Create $@"
$(Q)dd if=/dev/zero of=$(BUILD)/circuitpython-disk.img bs=1 count=0 seek=256M
$(Q)parted -s $(BUILD)/circuitpython-disk.img mktable msdos
@ -167,7 +171,7 @@ $(BUILD)/firmware.disk.img.zip: $(BUILD)/kernel8.img
$(Q)mkfs.fat -F 32 -n BOOT --offset=2048 $(BUILD)/circuitpython-disk.img
$(Q)mcopy -i $(BUILD)/circuitpython-disk.img@@1M config.txt firmware/bootcode.bin firmware/fixup* firmware/start* firmware/*.dtb ::
$(Q)mcopy -i $(BUILD)/circuitpython-disk.img@@1M $(BUILD)/kernel8.img ::
$(Q)mcopy -i $(BUILD)/circuitpython-disk.img@@1M $(BUILD)/kernel$(SUFFIX).img ::
$(Q)zip $@ $(BUILD)/circuitpython-disk.img
$(Q)rm $(BUILD)/circuitpython-disk.img

View File

@ -0,0 +1,56 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "supervisor/board.h"
#include "mpconfigboard.h"
#include "bindings/videocore/Framebuffer.h"
#include "shared-module/displayio/__init__.h"
#include "shared-bindings/framebufferio/FramebufferDisplay.h"
void board_init(void) {
videocore_framebuffer_obj_t *fb = &allocate_display_bus()->videocore;
fb->base.type = &videocore_framebuffer_type;
common_hal_videocore_framebuffer_construct(fb, 640, 480);
framebufferio_framebufferdisplay_obj_t *display = &displays[0].framebuffer_display;
display->base.type = &framebufferio_framebufferdisplay_type;
common_hal_framebufferio_framebufferdisplay_construct(
display,
MP_OBJ_FROM_PTR(fb),
0,
true);
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}
void board_deinit(void) {
}

View File

@ -0,0 +1,6 @@
#define MICROPY_HW_BOARD_NAME "Diodes Delight Piunora"
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)
#define MICROPY_HW_NEOPIXEL (&pin_GPIO12)

View File

@ -0,0 +1,6 @@
USB_VID = 0x1209
USB_PID = 0xD10D
USB_PRODUCT = "Piunora"
USB_MANUFACTURER = "Diodes Delight"
CHIP_VARIANT = "bcm2711"

View File

@ -0,0 +1,71 @@
#include "shared-bindings/board/__init__.h"
#include "shared-module/displayio/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
{ MP_ROM_QSTR(MP_QSTR_GPIO5), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_GPIO4), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_GPIO18), MP_ROM_PTR(&pin_GPIO18) },
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_GPIO18) },
{ MP_ROM_QSTR(MP_QSTR_GPIO19), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_GPIO20), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_GPIO21), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_GPIO22), MP_ROM_PTR(&pin_GPIO22) },
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_GPIO22) },
{ MP_ROM_QSTR(MP_QSTR_SDA6),MP_ROM_PTR(&pin_GPIO22) },
{ MP_ROM_QSTR(MP_QSTR_GPIO23), MP_ROM_PTR(&pin_GPIO23) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO23) },
{ MP_ROM_QSTR(MP_QSTR_SCL6),MP_ROM_PTR(&pin_GPIO23) },
{ MP_ROM_QSTR(MP_QSTR_GPIO6), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_SDA4),MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_GPIO7), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_SCL4),MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_SPI0_CE1),MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_GPIO8), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_SPI0_CE0),MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_GPIO10), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_SPI0_MOSI),MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_GPIO9), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_SPI0_MISO),MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_GPIO11), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_D13),MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SPI0_SCLK),MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SDA),MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_SDA1),MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_SCL),MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_GPIO12), MP_ROM_PTR(&pin_GPIO12) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO12) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

View File

@ -0,0 +1,56 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "supervisor/board.h"
#include "mpconfigboard.h"
#include "bindings/videocore/Framebuffer.h"
#include "shared-module/displayio/__init__.h"
#include "shared-bindings/framebufferio/FramebufferDisplay.h"
void board_init(void) {
videocore_framebuffer_obj_t *fb = &allocate_display_bus()->videocore;
fb->base.type = &videocore_framebuffer_type;
common_hal_videocore_framebuffer_construct(fb, 640, 480);
framebufferio_framebufferdisplay_obj_t *display = &displays[0].framebuffer_display;
display->base.type = &framebufferio_framebufferdisplay_type;
common_hal_framebufferio_framebufferdisplay_construct(
display,
MP_OBJ_FROM_PTR(fb),
0,
true);
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}
void board_deinit(void) {
}

View File

@ -0,0 +1,6 @@
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Zero"
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)
#define MICROPY_HW_LED_STATUS (&pin_GPIO47)

View File

@ -0,0 +1,6 @@
USB_VID = 0x2E8A
USB_PID = 0x100E
USB_PRODUCT = "Zero"
USB_MANUFACTURER = "Raspberry Pi"
CHIP_VARIANT = "bcm2835"

View File

@ -0,0 +1,62 @@
#include "shared-bindings/board/__init__.h"
#include "shared-module/displayio/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
// These match the names used in Blinka
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO1) },
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_CE1), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_CE0), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SCLK), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO12) },
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO13) },
{ MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_TXD), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_RXD), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_D16), MP_ROM_PTR(&pin_GPIO16) },
{ MP_ROM_QSTR(MP_QSTR_D17), MP_ROM_PTR(&pin_GPIO17) },
{ MP_ROM_QSTR(MP_QSTR_D18), MP_ROM_PTR(&pin_GPIO18) },
{ MP_ROM_QSTR(MP_QSTR_D19), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_MISO_1), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_MOSI_1), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_D21), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_SCLK_1), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_SCK_1), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_D22), MP_ROM_PTR(&pin_GPIO22) },
{ MP_ROM_QSTR(MP_QSTR_D23), MP_ROM_PTR(&pin_GPIO23) },
{ MP_ROM_QSTR(MP_QSTR_D24), MP_ROM_PTR(&pin_GPIO24) },
{ MP_ROM_QSTR(MP_QSTR_D25), MP_ROM_PTR(&pin_GPIO25) },
{ MP_ROM_QSTR(MP_QSTR_D26), MP_ROM_PTR(&pin_GPIO26) },
{ MP_ROM_QSTR(MP_QSTR_D27), MP_ROM_PTR(&pin_GPIO27) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

View File

@ -0,0 +1,56 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "supervisor/board.h"
#include "mpconfigboard.h"
#include "bindings/videocore/Framebuffer.h"
#include "shared-module/displayio/__init__.h"
#include "shared-bindings/framebufferio/FramebufferDisplay.h"
void board_init(void) {
videocore_framebuffer_obj_t *fb = &allocate_display_bus()->videocore;
fb->base.type = &videocore_framebuffer_type;
common_hal_videocore_framebuffer_construct(fb, 640, 480);
framebufferio_framebufferdisplay_obj_t *display = &displays[0].framebuffer_display;
display->base.type = &framebufferio_framebufferdisplay_type;
common_hal_framebufferio_framebufferdisplay_construct(
display,
MP_OBJ_FROM_PTR(fb),
0,
true);
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}
void board_deinit(void) {
}

View File

@ -0,0 +1,6 @@
#define MICROPY_HW_BOARD_NAME "Raspberry Pi Zero W"
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO3)
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO2)
#define MICROPY_HW_LED_STATUS (&pin_GPIO47)

View File

@ -0,0 +1,6 @@
USB_VID = 0x2E8A
USB_PID = 0x101E
USB_PRODUCT = "Zero W"
USB_MANUFACTURER = "Raspberry Pi"
CHIP_VARIANT = "bcm2835"

View File

@ -0,0 +1,62 @@
#include "shared-bindings/board/__init__.h"
#include "shared-module/displayio/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
// These match the names used in Blinka
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO1) },
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_CE1), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_CE0), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_D10), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SCLK), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO12) },
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO13) },
{ MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_TXD), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_RXD), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_D16), MP_ROM_PTR(&pin_GPIO16) },
{ MP_ROM_QSTR(MP_QSTR_D17), MP_ROM_PTR(&pin_GPIO17) },
{ MP_ROM_QSTR(MP_QSTR_D18), MP_ROM_PTR(&pin_GPIO18) },
{ MP_ROM_QSTR(MP_QSTR_D19), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_MISO_1), MP_ROM_PTR(&pin_GPIO19) },
{ MP_ROM_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_MOSI_1), MP_ROM_PTR(&pin_GPIO20) },
{ MP_ROM_QSTR(MP_QSTR_D21), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_SCLK_1), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_SCK_1), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_D22), MP_ROM_PTR(&pin_GPIO22) },
{ MP_ROM_QSTR(MP_QSTR_D23), MP_ROM_PTR(&pin_GPIO23) },
{ MP_ROM_QSTR(MP_QSTR_D24), MP_ROM_PTR(&pin_GPIO24) },
{ MP_ROM_QSTR(MP_QSTR_D25), MP_ROM_PTR(&pin_GPIO25) },
{ MP_ROM_QSTR(MP_QSTR_D26), MP_ROM_PTR(&pin_GPIO26) },
{ MP_ROM_QSTR(MP_QSTR_D27), MP_ROM_PTR(&pin_GPIO27) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

View File

@ -48,14 +48,13 @@ void reset_pin_number(uint8_t pin_number) {
pin_in_use[pin_number] = false;
never_reset_pin[pin_number] = false;
// Reset JTAG pins back to JTAG.
BP_PULL_Enum pull = BP_PULL_NONE;
if (22 <= pin_number && pin_number <= 27) {
gpio_set_function(pin_number, GPIO_FUNCTION_ALT4);
return;
} else {
gpio_set_function(pin_number, GPIO_FUNCTION_INPUT);
}
// Set the pull to match the datasheet.
BP_PULL_Enum pull = BP_PULL_NONE;
if (pin_number < 9 ||
(33 < pin_number && pin_number < 37) ||
pin_number > 45) {
@ -65,7 +64,7 @@ void reset_pin_number(uint8_t pin_number) {
pin_number != 44 &&
pin_number != 45) {
// Most pins are pulled low so we only exclude the four pins that aren't
// pulled at all.
// pulled at all. This will also set the JTAG pins 22-27
pull = BP_PULL_DOWN;
}
gpio_set_pull(pin_number, pull);

View File

@ -29,6 +29,7 @@
#include "shared-bindings/microcontroller/Pin.h"
#include "shared-bindings/microcontroller/Processor.h"
#include "common-hal/microcontroller/__init__.h"
#include "peripherals/broadcom/defines.h"
#include "peripherals/broadcom/interrupts.h"
#include "mphalport.h"

View File

@ -0,0 +1,160 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "shared-bindings/neopixel_write/__init__.h"
#include "py/runtime.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-bindings/time/__init__.h"
#include "peripherals/broadcom/cpu.h"
#include "supervisor/port.h"
uint64_t next_start_raw_ticks = 0;
// NeoPixels are 800khz bit streams. Zeroes are 1/3 duty cycle (~416ns) and ones
// are 2/3 duty cycle (~833ns).
void common_hal_neopixel_write(const digitalio_digitalinout_obj_t *digitalinout,
uint8_t *pixels, uint32_t num_bytes) {
// Wait to make sure we don't append onto the last transmission. This should only be a tick or
// two.
while (port_get_raw_ticks(NULL) < next_start_raw_ticks) {
}
BP_Function_Enum alt_function = GPIO_FUNCTION_OUTPUT;
uint8_t index = 0;
uint8_t channel = 0;
bool found = false;
for (size_t i = 0; i < NUM_ALT_FUNC; i++) {
const pin_function_t *f = &digitalinout->pin->functions[i];
if (f->type == PIN_FUNCTION_PWM) {
index = f->index;
channel = f->function;
alt_function = FSEL_VALUES[i];
found = true;
break;
}
}
if (!found) {
mp_raise_ValueError(translate("NeoPixel not supported on pin"));
return;
}
// Turn on the PWM clock. The speed is NeoPixel specific.
if (CM_PWM->CS_b.BUSY == 0) {
uint32_t source_clock;
#if BCM_VERSION == 2711
source_clock = 54000000;
#else
source_clock = 19200000;
#endif
// Three clocks per 800khz bit to get the 1/3 or 2/3 timing.
uint32_t target_clock = 3 * 800000;
uint32_t int_div = source_clock / target_clock;
CM_PWM->DIV = CM_PCM_DIV_PASSWD_PASSWD << CM_PCM_DIV_PASSWD_Pos |
(int_div) << CM_PCM_DIV_DIVI_Pos;
CM_PWM->CS = CM_PCM_CS_PASSWD_PASSWD << CM_PCM_CS_PASSWD_Pos |
CM_PCM_CS_SRC_XOSC << CM_PCM_CS_SRC_Pos;
// Set enable after setting the source to ensure it is stable.
CM_PWM->CS = CM_PCM_CS_PASSWD_PASSWD << CM_PCM_CS_PASSWD_Pos |
CM_PCM_CS_SRC_XOSC << CM_PCM_CS_SRC_Pos |
CM_PCM_CS_ENAB_Msk;
// Wait for the clock to start up.
COMPLETE_MEMORY_READS;
while (CM_PWM->CS_b.BUSY == 0) {
}
}
PWM0_Type *pwm = PWM0;
#if BCM_VERSION == 2711
if (index == 1) {
pwm = PWM1;
}
#else
(void)index;
#endif
pwm->RNG1 = 24;
pwm->RNG2 = 24;
COMPLETE_MEMORY_READS;
pwm->CTL = PWM0_CTL_CLRF1_Msk;
COMPLETE_MEMORY_READS;
// Even though we're only transmitting one channel, we enable both. Without
// the second channel enabled, the output is repeated forever.
pwm->CTL =
PWM0_CTL_USEF2_Msk |
PWM0_CTL_MODE2_Msk |
PWM0_CTL_USEF1_Msk |
PWM0_CTL_MODE1_Msk;
COMPLETE_MEMORY_READS;
pwm->CTL |= PWM0_CTL_PWEN1_Msk | PWM0_CTL_PWEN2_Msk;
gpio_set_function(digitalinout->pin->number, alt_function);
for (size_t i = 0; i < num_bytes; i++) {
uint32_t expanded = 0;
for (size_t j = 0; j < 8; j++) {
expanded = expanded >> 3;
if ((pixels[i] & (1 << j)) != 0) {
expanded |= 0xc0000000;
} else {
expanded |= 0x80000000;
}
}
while (pwm->STA_b.FULL1 == 1) {
RUN_BACKGROUND_TASKS;
}
if (channel == 1) {
// Dummy value for the first channel.
pwm->FIF1 = 0x000000;
}
pwm->FIF1 = expanded;
if (channel == 0) {
// Dummy value for the second channel.
pwm->FIF1 = 0x000000;
}
}
// Wait just a little bit so that transmission can start.
common_hal_mcu_delay_us(2);
while (pwm->STA_b.STA1 == 1) {
RUN_BACKGROUND_TASKS;
}
gpio_set_function(digitalinout->pin->number, GPIO_FUNCTION_OUTPUT);
// Update the next start.
next_start_raw_ticks = port_get_raw_ticks(NULL) + 1;
}

View File

@ -37,6 +37,7 @@
#include "supervisor/port.h"
#include "supervisor/shared/translate.h"
#include "peripherals/broadcom/cpu.h"
#include "peripherals/broadcom/defines.h"
#include "peripherals/broadcom/gpio.h"
@ -235,21 +236,29 @@ void common_hal_sdioio_sdcard_construct(sdioio_sdcard_obj_t *self,
if (clock != NULL) {
gpio_set_function(clock->number, GPIO_GPFSEL4_FSEL48_SD1_CLK);
gpio_set_pull(clock->number, BP_PULL_NONE);
self->clock_pin = clock->number;
gpio_set_function(command->number, GPIO_GPFSEL4_FSEL49_SD1_CMD);
gpio_set_pull(command->number, BP_PULL_UP);
self->command_pin = command->number;
gpio_set_function(data[0]->number, GPIO_GPFSEL5_FSEL50_SD1_DAT0);
gpio_set_pull(data[0]->number, BP_PULL_UP);
self->data_pins[0] = data[0]->number;
gpio_set_function(data[1]->number, GPIO_GPFSEL5_FSEL51_SD1_DAT1);
gpio_set_pull(data[1]->number, BP_PULL_UP);
self->data_pins[1] = data[1]->number;
gpio_set_function(data[2]->number, GPIO_GPFSEL5_FSEL52_SD1_DAT2);
gpio_set_pull(data[2]->number, BP_PULL_UP);
self->data_pins[2] = data[2]->number;
gpio_set_function(data[3]->number, GPIO_GPFSEL5_FSEL53_SD1_DAT3);
gpio_set_pull(data[3]->number, BP_PULL_UP);
self->data_pins[3] = data[3]->number;
} else {
// Switch the sdcard to use the old arasan interface.
GPIO->EXTRA_MUX_b.SDIO = GPIO_EXTRA_MUX_SDIO_ARASAN;
}
COMPLETE_MEMORY_READS;
self->host_info = (sdmmc_host_t) {
.flags = SDMMC_HOST_FLAG_1BIT | SDMMC_HOST_FLAG_4BIT | SDMMC_HOST_FLAG_DEINIT_ARG,
.slot = 0,
@ -280,9 +289,22 @@ void common_hal_sdioio_sdcard_construct(sdioio_sdcard_obj_t *self,
// Start clocking the card.
_set_card_clk(0, 400);
sdmmc_card_init(&self->host_info, &self->card_info);
sdmmc_err_t err = SDMMC_ERR_INVALID_RESPONSE;
size_t tries = 3;
while (err == SDMMC_ERR_INVALID_RESPONSE && tries > 0) {
err = sdmmc_card_init(&self->host_info, &self->card_info);
if (err != SDMMC_OK) {
mp_printf(&mp_plat_print, "SD card init failed %d\n", err);
} else if (tries < 3) {
mp_printf(&mp_plat_print, "SD card init success\n");
}
tries--;
}
self->init = err == SDMMC_OK;
self->capacity = self->card_info.csd.capacity;
COMPLETE_MEMORY_READS;
}
uint32_t common_hal_sdioio_sdcard_get_count(sdioio_sdcard_obj_t *self) {
@ -297,9 +319,6 @@ uint8_t common_hal_sdioio_sdcard_get_width(sdioio_sdcard_obj_t *self) {
return self->num_data;
}
STATIC void check_for_deinit(sdioio_sdcard_obj_t *self) {
}
STATIC void check_whole_block(mp_buffer_info_t *bufinfo) {
if (bufinfo->len % 512) {
mp_raise_ValueError(translate("Buffer length must be a multiple of 512"));
@ -307,14 +326,16 @@ STATIC void check_whole_block(mp_buffer_info_t *bufinfo) {
}
int common_hal_sdioio_sdcard_writeblocks(sdioio_sdcard_obj_t *self, uint32_t start_block, mp_buffer_info_t *bufinfo) {
check_for_deinit(self);
if (!self->init) {
return -EIO;
}
check_whole_block(bufinfo);
self->state_programming = true;
// mp_printf(&mp_plat_print, "write %d %d %d %d\n", start_block, bufinfo->len / 512, self->card_info.csd.capacity, self->card_info.csd.sector_size);
COMPLETE_MEMORY_READS;
sdmmc_err_t error = sdmmc_write_sectors(&self->card_info, bufinfo->buf,
start_block, bufinfo->len / 512);
COMPLETE_MEMORY_READS;
if (error != SDMMC_OK) {
mp_printf(&mp_plat_print, "write sectors result %d\n", error);
@ -325,10 +346,14 @@ int common_hal_sdioio_sdcard_writeblocks(sdioio_sdcard_obj_t *self, uint32_t sta
}
int common_hal_sdioio_sdcard_readblocks(sdioio_sdcard_obj_t *self, uint32_t start_block, mp_buffer_info_t *bufinfo) {
check_for_deinit(self);
if (!self->init) {
return -EIO;
}
check_whole_block(bufinfo);
COMPLETE_MEMORY_READS;
sdmmc_err_t error = sdmmc_read_sectors(&self->card_info, bufinfo->buf,
start_block, bufinfo->len / 512);
COMPLETE_MEMORY_READS;
if (error != SDMMC_OK) {
mp_printf(&mp_plat_print, "read sectors result %d when reading block %d for %d\n", error, start_block, bufinfo->len / 512);
@ -339,7 +364,9 @@ int common_hal_sdioio_sdcard_readblocks(sdioio_sdcard_obj_t *self, uint32_t star
}
bool common_hal_sdioio_sdcard_configure(sdioio_sdcard_obj_t *self, uint32_t frequency, uint8_t bits) {
check_for_deinit(self);
if (!self->init) {
return false;
}
return true;
}
@ -361,7 +388,14 @@ void common_hal_sdioio_sdcard_deinit(sdioio_sdcard_obj_t *self) {
self->data_pins[1] = COMMON_HAL_MCU_NO_PIN;
self->data_pins[2] = COMMON_HAL_MCU_NO_PIN;
self->data_pins[3] = COMMON_HAL_MCU_NO_PIN;
self->init = false;
}
void common_hal_sdioio_sdcard_never_reset(sdioio_sdcard_obj_t *self) {
never_reset_pin_number(self->command_pin);
never_reset_pin_number(self->clock_pin);
never_reset_pin_number(self->data_pins[0]);
never_reset_pin_number(self->data_pins[1]);
never_reset_pin_number(self->data_pins[2]);
never_reset_pin_number(self->data_pins[3]);
}

View File

@ -37,6 +37,7 @@ typedef struct {
uint8_t num_data;
bool state_programming;
bool has_lock;
bool init;
uint8_t command_pin;
uint8_t clock_pin;
uint8_t data_pins[4];

View File

@ -16,7 +16,13 @@ void common_hal_videocore_framebuffer_construct(videocore_framebuffer_obj_t *sel
// TODO: Make the FB twice as tall if double buffering.
uint32_t physical_height = height;
uint32_t pitch = 0;
self->framebuffer = vcmailbox_get_framebuffer(&virtual_width, &virtual_height, &physical_width, &physical_height, &pitch);
uint32_t bits_per_pixel = 0;
self->framebuffer = vcmailbox_get_framebuffer(&virtual_width,
&virtual_height,
&physical_width,
&physical_height,
&pitch,
&bits_per_pixel);
if (self->framebuffer == NULL) {
if (gc_alloc_possible()) {
mp_raise_ValueError(translate("no fb"));

View File

@ -36,7 +36,11 @@
#define MICROPY_PY_SYS_PLATFORM "BROADCOM"
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#if BCM_VERSION == 2837 || BCM_VERSION == 2711
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_A)
#elif BCM_VERSION == 2835
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_C)
#endif
#define CIRCUITPY_DEFAULT_STACK_SIZE (0x10000)
#define CIRCUITPY_DISPLAY_AREA_BUFFER_SIZE (1920)
#define CIRCUITPY_PROCESSOR_COUNT (4)

View File

@ -1,58 +1,26 @@
# Typically the first module to create
CIRCUITPY_MICROCONTROLLER = 1
# Typically the second module to create
CIRCUITPY_DIGITALIO = 1
# Other modules:
# All broadcom ports have longints.
LONGINT_IMPL = MPZ
CIRCUITPY_FULL_BUILD = 1
# Modules in FULL_BUILD that we don't support.
CIRCUITPY_ANALOGIO = 0
CIRCUITPY_BUSIO = 1
CIRCUITPY_ONEWIREIO = 0
CIRCUITPY_PWMIO = 0
CIRCUITPY_COUNTIO = 0
CIRCUITPY_NEOPIXEL_WRITE = 0
CIRCUITPY_PULSEIO = 0
CIRCUITPY_OS = 1
CIRCUITPY_NVM = 0
CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOIO = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SDCARDIO = 0
CIRCUITPY_SDIOIO = 1
CIRCUITPY_FRAMEBUFFERIO = 1
CIRCUITPY_COUNTIO = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_I2CPERIPHERAL = 0
# Requires SPI, PulseIO (stub ok):
CIRCUITPY_DISPLAYIO = 1
# These modules are implemented in shared-module/ - they can be included in
# any port once their prerequisites in common-hal are complete.
# Requires DigitalIO:
CIRCUITPY_BITBANGIO = 1
# Requires DigitalIO
CIRCUITPY_GAMEPAD = 0
# Requires neopixel_write or SPI (dotstar)
CIRCUITPY_PIXELBUF = 0
# Requires OS
CIRCUITPY_RANDOM = 1
# Requires OS, filesystem
CIRCUITPY_STORAGE = 1
# Requires Microcontroller
CIRCUITPY_TOUCHIO = 0
# Requires USB
CIRCUITPY_USB = 1
CIRCUITPY_USB_MSC = 1
CIRCUITPY_USB_HID = 1
CIRCUITPY_USB_MIDI = 1
USB_NUM_ENDPOINT_PAIRS = 8
# Does nothing without I2C
CIRCUITPY_REQUIRE_I2C_PULLUPS = 0
# No requirements, but takes extra flash
CIRCUITPY_ULAB = 0
CIRCUITPY_NVM = 0
CIRCUITPY_PARALLELDISPLAY = 0
CIRCUITPY_PULSEIO = 0
CIRCUITPY_PWMIO = 0
CIRCUITPY_ROTARYIO = 0
CIRCUITPY_RTC = 0
CIRCUITPY_SDIOIO = 1
CIRCUITPY_VIDEOCORE = 1
CIRCUITPY_ERRNO = 0
CIRCUITPY_FULL_BUILD = 0
INTERNAL_FLASH_FILESYSTEM = 1
USB_NUM_ENDPOINT_PAIRS = 8
USB_HIGHSPEED = 1

View File

@ -6,7 +6,15 @@
#include "shared-bindings/microcontroller/__init__.h"
#include "mphalport.h"
#include "peripherals/broadcom/defines.h"
void mp_hal_delay_us(mp_uint_t delay) {
uint32_t end = SYSTMR->CLO + delay;
// Wait if end is before current time because it must have wrapped.
while (end < SYSTMR->CLO) {
}
while (SYSTMR->CLO < end) {
}
}
void mp_hal_disable_all_interrupts(void) {
@ -19,6 +27,7 @@ void mp_hal_enable_all_interrupts(void) {
mp_uint_t cpu_get_regs_and_sp(mp_uint_t *regs) {
size_t sp = 0;
#if defined(__ARM_ARCH) && (__ARM_ARCH >= 8)
__asm__ ("mov %[out], sp" : [out] "=r" (sp));
__asm__ ("mov %[out], x19" : [out] "=r" (regs[0]));
__asm__ ("mov %[out], x20" : [out] "=r" (regs[1]));
@ -30,5 +39,19 @@ mp_uint_t cpu_get_regs_and_sp(mp_uint_t *regs) {
__asm__ ("mov %[out], x26" : [out] "=r" (regs[7]));
__asm__ ("mov %[out], x27" : [out] "=r" (regs[8]));
__asm__ ("mov %[out], x28" : [out] "=r" (regs[9]));
#else
__asm__ ("mov %[out], sp" : [out] "=r" (sp));
__asm__ ("mov %[out], r4" : [out] "=r" (regs[0]));
__asm__ ("mov %[out], r5" : [out] "=r" (regs[1]));
__asm__ ("mov %[out], r6" : [out] "=r" (regs[2]));
__asm__ ("mov %[out], r7" : [out] "=r" (regs[3]));
__asm__ ("mov %[out], r8" : [out] "=r" (regs[4]));
__asm__ ("mov %[out], r9" : [out] "=r" (regs[5]));
__asm__ ("mov %[out], r10" : [out] "=r" (regs[6]));
__asm__ ("mov %[out], r11" : [out] "=r" (regs[7]));
__asm__ ("mov %[out], r12" : [out] "=r" (regs[8]));
__asm__ ("mov %[out], r13" : [out] "=r" (regs[9]));
#endif
return sp;
}

View File

@ -1,26 +1,51 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2022 Scott Shawcroft
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_BROADCOM_MPHALPORT_H
#define MICROPY_INCLUDED_BROADCOM_MPHALPORT_H
#include <stdint.h>
#include "py/obj.h"
#include "supervisor/shared/tick.h"
void mp_hal_delay_ms(mp_uint_t ms);
void mp_hal_delay_us(mp_uint_t us);
mp_uint_t mp_hal_ticks_cpu(void);
mp_uint_t mp_hal_ticks_us(void);
mp_uint_t mp_hal_ticks_ms(void);
#define mp_hal_ticks_ms() ((mp_uint_t)supervisor_ticks_ms32())
void mp_hal_set_interrupt_char(int c);
int mp_hal_stdin_rx_chr(void);
void mp_hal_stdout_tx_strn(const char *str, size_t len);
typedef enum std_io_t {
MINI_UART = 0,
UART,
UART_QEMU
} std_io_t;
void uart_init(std_io_t interface);
#ifdef MICROPY_HW_USBHOST
#include "usbkbd.h"
void usbkbd_setup();
#endif
#endif // MICROPY_INCLUDED_BROADCOM_MPHALPORT_H

@ -1 +1 @@
Subproject commit e136e387177446c3c9979bbf274a4856bf13797d
Subproject commit 08370086080759ed54ac1136d62d2ad24c6fa267

View File

@ -60,6 +60,7 @@ void supervisor_flash_init(void) {
NULL, NULL,
0, NULL, 8000000);
#endif
common_hal_sdioio_sdcard_never_reset(&sd);
uint32_t buffer[512 / sizeof(uint32_t)];
mp_buffer_info_t bufinfo;

View File

@ -116,42 +116,57 @@ void reset_to_bootloader(void) {
}
void reset_cpu(void) {
// Don't actually reset because we can't store the safe mode info.
// PM->WDOG = 1 << PM_WDOG_TIME_Pos | PM_WDOG_PASSWD_PASSWD << PM_WDOG_PASSWD_Pos;
// PM->RSTC = PM_RSTC_WRCFG_FULL_RESET << PM_RSTC_WRCFG_Pos | PM_RSTC_PASSWD_PASSWD << PM_RSTC_PASSWD_Pos;
while (true) {
}
}
bool port_has_fixed_stack(void) {
#ifdef __aarch64__
return true;
}
uint32_t *port_stack_get_limit(void) {
return (uint32_t *)0x4;
}
uint32_t *port_stack_get_top(void) {
return (uint32_t *)0x80000;
#else
return false;
#endif
}
// From the linker script
extern uint32_t __bss_end;
extern uint32_t _ld_ram_end;
uint32_t *port_stack_get_limit(void) {
#ifdef __aarch64__
return (uint32_t *)0x4;
#else
return &__bss_end;
#endif
}
uint32_t *port_stack_get_top(void) {
#ifdef __aarch64__
return (uint32_t *)0x80000;
#else
return &_ld_ram_end;
#endif
}
uint32_t *port_heap_get_bottom(void) {
return &__bss_end;
}
uint32_t *port_heap_get_top(void) {
// 32M heap
return (uint32_t *)(((uint64_t)&__bss_end) + 32 * 1024 * 1024);
return (uint32_t *)(((size_t)&__bss_end) + 32 * 1024 * 1024);
}
void port_set_saved_word(uint32_t value) {
// NOTE: This doesn't survive pressing the reset button (aka toggling RUN).
// watchdog_hw->scratch[0] = value;
__bss_end = value;
data_clean_and_invalidate(&__bss_end, sizeof(uint32_t));
}
uint32_t port_get_saved_word(void) {
// return watchdog_hw->scratch[0];
return 0;
return __bss_end;
}
uint64_t port_get_raw_ticks(uint8_t *subticks) {

View File

@ -3,11 +3,6 @@ USB_HIGHSPEED = 1
# Number of USB endpoint pairs.
USB_NUM_ENDPOINT_PAIRS = 6
# Define an equivalent for MICROPY_LONGINT_IMPL, to pass to $(MPY-TOOL) in py/mkrules.mk
# $(MPY-TOOL) needs to know what kind of longint to use (if any) to freeze long integers.
# This should correspond to the MICROPY_LONGINT_IMPL definition in mpconfigport.h.
MPY_TOOL_LONGINT_IMPL = -mlongint-impl=mpz
# Longints can be implemented as mpz, as longlong, or not
LONGINT_IMPL = MPZ

View File

@ -94,6 +94,7 @@ INC += \
-isystem esp-idf/components/esp_event/include \
-isystem esp-idf/components/esp_hw_support/include \
-isystem esp-idf/components/esp_hw_support/include/soc \
-isystem esp-idf/components/esp_ipc/include \
-isystem esp-idf/components/esp_netif/include \
-isystem esp-idf/components/esp_pm/include \
-isystem esp-idf/components/esp_ringbuf/include \
@ -289,13 +290,15 @@ IDF_PATH = $(realpath ./esp-idf)
$(BUILD)/esp-idf:
$(Q)$(MKDIR) -p $@
TARGET_SDKCONFIG = esp-idf-config/sdkconfig-$(IDF_TARGET).defaults
FLASH_SDKCONFIG = esp-idf-config/sdkconfig-$(CIRCUITPY_ESP_FLASH_SIZE).defaults
ifeq ($(DEBUG), 1)
DEBUG_SDKCONFIG = esp-idf-config/sdkconfig-debug.defaults
else
DEBUG_SDKCONFIG = esp-idf-config/sdkconfig-opt.defaults
endif
SDKCONFIGS = esp-idf-config/sdkconfig.defaults;$(DEBUG_SDKCONFIG);$(FLASH_SDKCONFIG);boards/$(BOARD)/sdkconfig
SDKCONFIGS = esp-idf-config/sdkconfig.defaults;$(DEBUG_SDKCONFIG);$(FLASH_SDKCONFIG);$(TARGET_SDKCONFIG);boards/$(BOARD)/sdkconfig
# create the config headers
$(BUILD)/esp-idf/config/sdkconfig.h: boards/$(BOARD)/sdkconfig | $(BUILD)/esp-idf
@ -316,10 +319,11 @@ $(BUILD)/esp-idf/partition_table/partition-table.bin: $(BUILD)/esp-idf/config/sd
IDF_PATH=$(IDF_PATH) ninja -C $(BUILD)/esp-idf partition_table/partition-table.bin
# run menuconfig and then remove standard settings
menuconfig: $(BUILD)/esp-idf/config
menuconfig: $(BUILD)/esp-idf/config $(BUILD)/esp-idf/config/sdkconfig.h
$(Q)ninja -C $(BUILD)/esp-idf menuconfig
$(Q)diff --old-line-format= --unchanged-line-format= esp-idf-config/sdkconfig.defaults $(BUILD)/esp-idf/sdkconfig > $(BUILD)/sdkconfig.diff || true
$(Q)grep -Fvxf $(DEBUG_SDKCONFIG) -f $(FLASH_SDKCONFIG) $(BUILD)/sdkconfig.diff > boards/$(BOARD)/sdkconfig
# Newer versions of the idf will have save-defconfig that will only include non-default values.
# We should use that when available. For now, we sort out everything.
python tools/update_sdkconfig.py --board=$(BOARD) --debug=$(DEBUG)
# qstr builds include headers so we need to make sure they are up to date
$(HEADER_BUILD)/qstr.split: | $(BUILD)/esp-idf/config/sdkconfig.h
@ -411,9 +415,12 @@ $(BUILD)/circuitpython-firmware.bin: $(BUILD)/firmware.elf | tools/build_memory_
$(BUILD)/firmware.bin: $(BUILD)/circuitpython-firmware.bin | esp-idf-stamp
$(Q)$(PYTHON) ../../tools/join_bins.py $@ $(BOOTLOADER_OFFSET) $(BUILD)/esp-idf/bootloader/bootloader.bin $(PARTITION_TABLE_OFFSET) $(BUILD)/esp-idf/partition_table/partition-table.bin $(FIRMWARE_OFFSET) $(BUILD)/circuitpython-firmware.bin
UF2_FAMILY_ID_esp32s2 = 0xbfdd4eee
UF2_FAMILY_ID_esp32s3 = 0xc47e5767
$(BUILD)/firmware.uf2: $(BUILD)/circuitpython-firmware.bin
$(STEPECHO) "Create $@"
$(Q)$(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f 0xbfdd4eee -b 0x0000 -c -o $@ $^
$(Q)$(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID_$(IDF_TARGET)) -b 0x0000 -c -o $@ $^
flash: $(BUILD)/firmware.bin
esptool.py --chip $(IDF_TARGET) -p $(PORT) $(ESPTOOL_FLAGS) write_flash $(FLASH_FLAGS) 0x0000 $^

View File

@ -0,0 +1,111 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2020 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "supervisor/board.h"
#include "mpconfigboard.h"
#include "shared-bindings/busio/SPI.h"
#include "shared-bindings/displayio/FourWire.h"
#include "shared-bindings/microcontroller/Pin.h"
#include "shared-module/displayio/__init__.h"
#include "shared-module/displayio/mipi_constants.h"
#include "shared-bindings/board/__init__.h"
#include "esp_log.h"
displayio_fourwire_obj_t board_display_obj;
#define DELAY 0x80
uint8_t display_init_sequence[] = {
0x01, 0 | DELAY, 150, // SWRESET
0x11, 0 | DELAY, 255, // SLPOUT
0x36, 1, 0b10100000, // _MADCTL for rotation 0
0x3a, 1, 0x55, // COLMOD - 16bit color
0x21, 0 | DELAY, 10, // _INVON
0x13, 0 | DELAY, 10, // _NORON
0x29, 0 | DELAY, 255, // _DISPON
};
void board_init(void) {
busio_spi_obj_t *spi = common_hal_board_create_spi();
displayio_fourwire_obj_t *bus = &displays[0].fourwire_bus;
bus->base.type = &displayio_fourwire_type;
common_hal_displayio_fourwire_construct(bus,
spi,
&pin_GPIO39, // TFT_DC Command or data
&pin_GPIO40, // TFT_CS Chip select
&pin_GPIO41, // TFT_RESET Reset
5000000, // Baudrate
0, // Polarity
0); // Phase
// workaround as board_init() is called before reset_port() in main.c
pwmout_reset();
displayio_display_obj_t *display = &displays[0].display;
display->base.type = &displayio_display_type;
common_hal_displayio_display_construct(
display,
bus,
240, // Width (after rotation)
240, // Height (after rotation)
80, // column start
0, // row start
0, // rotation
16, // Color depth
false, // Grayscale
false, // Pixels in a byte share a row. Only used for depth < 8
1, // bytes per cell. Only valid for depths < 8
false, // reverse_pixels_in_byte. Only valid for depths < 8
true, // reverse_pixels_in_word
MIPI_COMMAND_SET_COLUMN_ADDRESS, // Set column command
MIPI_COMMAND_SET_PAGE_ADDRESS, // Set row command
MIPI_COMMAND_WRITE_MEMORY_START, // Write memory command
display_init_sequence,
sizeof(display_init_sequence),
&pin_GPIO38, // backlight pin
NO_BRIGHTNESS_COMMAND,
1.0f, // brightness (ignored)
true, // auto_brightness
false, // single_byte_bounds
false, // data_as_commands
true, // auto_refresh
60, // native_frames_per_second
true, // backlight_on_high
false); // not SH1107
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}
void board_deinit(void) {
common_hal_displayio_release_displays();
}

View File

@ -0,0 +1,48 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
// Micropython setup
#define MICROPY_HW_BOARD_NAME "Adafruit Camera"
#define MICROPY_HW_MCU_NAME "ESP32S2"
#define MICROPY_HW_NEOPIXEL (&pin_GPIO21)
#define MICROPY_HW_NEOPIXEL_COUNT (6)
#define CIRCUITPY_BOOT_BUTTON (&pin_GPIO0)
#define BOARD_USER_SAFE_MODE_ACTION translate("pressing boot button at start up.\n")
#define AUTORESET_DELAY_MS 500
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO33)
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO34)
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO35)
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO36)
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO37)
#define DOUBLE_TAP_PIN (&pin_GPIO42)

View File

@ -0,0 +1,19 @@
USB_VID = 0x239A
USB_PID = 0x8118
USB_PRODUCT = "Camera"
USB_MANUFACTURER = "Adafruit"
IDF_TARGET = esp32s2
INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = MPZ
# The default queue depth of 16 overflows on release builds,
# so increase it to 32.
CFLAGS += -DCFG_TUD_TASK_QUEUE_SZ=32
CIRCUITPY_ESP_FLASH_MODE=dio
CIRCUITPY_ESP_FLASH_FREQ=40m
CIRCUITPY_ESP_FLASH_SIZE=4MB
CIRCUITPY_MODULE=wrover

View File

@ -0,0 +1,67 @@
#include "py/objtuple.h"
#include "shared-bindings/board/__init__.h"
#include "shared-module/displayio/__init__.h"
STATIC const mp_rom_obj_tuple_t camera_data_tuple = {
{&mp_type_tuple},
8,
{
MP_ROM_PTR(&pin_GPIO13),
MP_ROM_PTR(&pin_GPIO15),
MP_ROM_PTR(&pin_GPIO16),
MP_ROM_PTR(&pin_GPIO14),
MP_ROM_PTR(&pin_GPIO12),
MP_ROM_PTR(&pin_GPIO10),
MP_ROM_PTR(&pin_GPIO9),
MP_ROM_PTR(&pin_GPIO7),
}
};
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
{ MP_ROM_QSTR(MP_QSTR_TFT_MOSI), MP_ROM_PTR(&pin_GPIO35) },
{ MP_ROM_QSTR(MP_QSTR_TFT_SCK), MP_ROM_PTR(&pin_GPIO36) },
{ MP_ROM_QSTR(MP_QSTR_TFT_BACKLIGHT), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_TFT_DC), MP_ROM_PTR(&pin_GPIO39) },
{ MP_ROM_QSTR(MP_QSTR_TFT_CS), MP_ROM_PTR(&pin_GPIO40) },
{ MP_ROM_QSTR(MP_QSTR_TFT_RESET), MP_ROM_PTR(&pin_GPIO41) },
{ MP_ROM_QSTR(MP_QSTR_CARD_CS), MP_ROM_PTR(&pin_GPIO4) },
{ MP_ROM_QSTR(MP_QSTR_IRQ), MP_ROM_PTR(&pin_GPIO3) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO21) },
{ MP_ROM_QSTR(MP_QSTR_SPEAKER), MP_ROM_PTR(&pin_GPIO45) },
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO2) },
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_GPIO17) },
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_GPIO18) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO33) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO34) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA), MP_ROM_PTR(&camera_data_tuple) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_VSYNC), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_HREF), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA9), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_XCLK), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA8), MP_ROM_PTR(&pin_GPIO9) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA7), MP_ROM_PTR(&pin_GPIO10) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_PCLK), MP_ROM_PTR(&pin_GPIO11) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA6), MP_ROM_PTR(&pin_GPIO12) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA2), MP_ROM_PTR(&pin_GPIO13) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA5), MP_ROM_PTR(&pin_GPIO14) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA3), MP_ROM_PTR(&pin_GPIO15) },
{ MP_ROM_QSTR(MP_QSTR_CAMERA_DATA4), MP_ROM_PTR(&pin_GPIO16) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
{ MP_ROM_QSTR(MP_QSTR_DISPLAY), MP_ROM_PTR(&displays[0].display)},
};
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

View File

@ -0,0 +1,33 @@
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
#
# SPI RAM config
#
# CONFIG_SPIRAM_TYPE_AUTO is not set
CONFIG_SPIRAM_TYPE_ESPPSRAM16=y
# CONFIG_SPIRAM_TYPE_ESPPSRAM32 is not set
# CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set
CONFIG_SPIRAM_SIZE=2097152
#
# PSRAM clock and cs IO for ESP32S2
#
CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM clock and cs IO for ESP32S2
# CONFIG_SPIRAM_FETCH_INSTRUCTIONS is not set
# CONFIG_SPIRAM_RODATA is not set
# CONFIG_SPIRAM_SPEED_80M is not set
CONFIG_SPIRAM_SPEED_40M=y
# CONFIG_SPIRAM_SPEED_26M is not set
# CONFIG_SPIRAM_SPEED_20M is not set
CONFIG_SPIRAM=y
CONFIG_SPIRAM_BOOT_INIT=y
# CONFIG_SPIRAM_IGNORE_NOTFOUND is not set
CONFIG_SPIRAM_USE_MEMMAP=y
# CONFIG_SPIRAM_USE_CAPS_ALLOC is not set
# CONFIG_SPIRAM_USE_MALLOC is not set
CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config

View File

@ -27,11 +27,15 @@
#include "supervisor/board.h"
#include "mpconfigboard.h"
#include "shared-bindings/microcontroller/Pin.h"
#include "components/driver/include/driver/gpio.h"
#include "components/hal/include/hal/gpio_hal.h"
#include "common-hal/microcontroller/Pin.h"
void board_init(void) {
// USB
common_hal_never_reset_pin(&pin_GPIO19);
common_hal_never_reset_pin(&pin_GPIO20);
// Turn on I2C
common_hal_never_reset_pin(&pin_GPIO7);
gpio_set_direction(7, GPIO_MODE_DEF_OUTPUT);
gpio_set_level(7, false);
}
bool board_requests_safe_mode(void) {
@ -39,7 +43,9 @@ bool board_requests_safe_mode(void) {
}
void reset_board(void) {
// Turn on I2C power by default.
gpio_set_direction(7, GPIO_MODE_DEF_OUTPUT);
gpio_set_level(7, false);
}
void board_deinit(void) {

View File

@ -47,3 +47,5 @@
#define DEFAULT_UART_BUS_RX (&pin_GPIO38)
#define DEFAULT_UART_BUS_TX (&pin_GPIO39)
#define DOUBLE_TAP_PIN (&pin_GPIO34)

View File

@ -3,6 +3,8 @@
STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_BOOT0), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_GPIO0) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO3) },
@ -14,8 +16,8 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_PTR(&pin_GPIO5) },
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_GPIO6) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_I2C_POWER_INVERTED), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_GPIO7) },
{ MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_PTR(&pin_GPIO8) },
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_GPIO8) },

View File

@ -1,5 +1,4 @@
CONFIG_ESP32S2_SPIRAM_SUPPORT=y
#
# SPI RAM config
#
@ -8,11 +7,12 @@ CONFIG_SPIRAM_TYPE_ESPPSRAM16=y
# CONFIG_SPIRAM_TYPE_ESPPSRAM32 is not set
# CONFIG_SPIRAM_TYPE_ESPPSRAM64 is not set
CONFIG_SPIRAM_SIZE=2097152
# end of SPI RAM config
CONFIG_DEFAULT_PSRAM_CLK_IO=30
#
# PSRAM clock and cs IO for ESP32S2
#
CONFIG_DEFAULT_PSRAM_CLK_IO=30
CONFIG_DEFAULT_PSRAM_CS_IO=26
# end of PSRAM clock and cs IO for ESP32S2
@ -30,4 +30,8 @@ CONFIG_SPIRAM_USE_MEMMAP=y
# CONFIG_SPIRAM_USE_MALLOC is not set
CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="espressif"
# end of LWIP

View File

@ -31,6 +31,7 @@
#include "shared-bindings/microcontroller/Pin.h"
#include "shared-module/displayio/__init__.h"
#include "shared-module/displayio/mipi_constants.h"
#include "shared-bindings/board/__init__.h"
displayio_fourwire_obj_t board_display_obj;
@ -45,7 +46,7 @@ uint8_t display_init_sequence[] = {
// normal display mode on
0x13, 0,
// display and color format settings
0x36, 1, 0x60,
0x36, 1, 0x68,
0xB6, 2, 0x0A, 0x82,
0x3A, 1 | DELAY, 0x55, 10,
// ST7789V frame rate setting
@ -70,22 +71,14 @@ uint8_t display_init_sequence[] = {
void board_init(void) {
// USB
common_hal_never_reset_pin(&pin_GPIO19);
common_hal_never_reset_pin(&pin_GPIO20);
// I2C/TFT power pin
common_hal_never_reset_pin(&pin_GPIO21);
// Turn on TFT and I2C
gpio_set_direction(21, GPIO_MODE_DEF_OUTPUT);
gpio_set_level(21, true);
busio_spi_obj_t *spi = &displays[0].fourwire_bus.inline_bus;
common_hal_busio_spi_construct(
spi,
&pin_GPIO36, // CLK
&pin_GPIO35, // MOSI
NULL // MISO not connected
);
common_hal_busio_spi_never_reset(spi);
busio_spi_obj_t *spi = common_hal_board_create_spi();
displayio_fourwire_obj_t *bus = &displays[0].fourwire_bus;
bus->base.type = &displayio_fourwire_type;
@ -93,7 +86,7 @@ void board_init(void) {
bus,
spi,
&pin_GPIO39, // DC
&pin_GPIO21, // CS
&pin_GPIO7, // CS
&pin_GPIO40, // RST
40000000, // baudrate
0, // polarity
@ -112,7 +105,7 @@ void board_init(void) {
240, // width (after rotation)
135, // height (after rotation)
40, // column start
52, // row start
53, // row start
0, // rotation
16, // color depth
false, // grayscale

View File

@ -47,3 +47,5 @@
#define DEFAULT_UART_BUS_RX (&pin_GPIO2)
#define DEFAULT_UART_BUS_TX (&pin_GPIO1)
#define DOUBLE_TAP_PIN (&pin_GPIO38)

Some files were not shown because too many files have changed in this diff Show More