Merge pull request #32 from adafruit/main

Update from adafruit/main
This commit is contained in:
DavePutz 2020-10-19 11:44:23 -05:00 committed by GitHub
commit 3856da9968
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
63 changed files with 729 additions and 202 deletions

View File

@ -198,6 +198,8 @@ jobs:
- "datum_imu" - "datum_imu"
- "datum_light" - "datum_light"
- "datum_weather" - "datum_weather"
- "dynossat_edu_eps"
- "dynossat_edu_obc"
- "electronut_labs_blip" - "electronut_labs_blip"
- "electronut_labs_papyr" - "electronut_labs_papyr"
- "escornabot_makech" - "escornabot_makech"

View File

@ -45,7 +45,6 @@
#include "shared-bindings/_bleio/Address.h" #include "shared-bindings/_bleio/Address.h"
#include "shared-bindings/_bleio/Characteristic.h" #include "shared-bindings/_bleio/Characteristic.h"
#include "shared-bindings/_bleio/Service.h" #include "shared-bindings/_bleio/Service.h"
#include "shared-bindings/nvm/ByteArray.h"
#include "shared-bindings/_bleio/Connection.h" #include "shared-bindings/_bleio/Connection.h"
#include "shared-bindings/_bleio/ScanEntry.h" #include "shared-bindings/_bleio/ScanEntry.h"
#include "shared-bindings/time/__init__.h" #include "shared-bindings/time/__init__.h"

View File

@ -11,7 +11,7 @@
#include <stdbool.h> #include <stdbool.h>
// for __packed // for __packed
#include <string.h> #include <sys/cdefs.h>
#define BT_EATT_PSM 0x27 #define BT_EATT_PSM 0x27
#define BT_ATT_DEFAULT_LE_MTU 23 #define BT_ATT_DEFAULT_LE_MTU 23

View File

@ -12,10 +12,15 @@
#define ZEPHYR_INCLUDE_BLUETOOTH_HCI_H_ #define ZEPHYR_INCLUDE_BLUETOOTH_HCI_H_
#include <stdbool.h> #include <stdbool.h>
#include <string.h> // for __packed
#include <sys/cdefs.h>
#include "addr.h" #include "addr.h"
// ESP32S2 build environment defines this already.
#ifndef BIT
#define BIT(n) (1UL << (n)) #define BIT(n) (1UL << (n))
#endif
/* Special own address types for LL privacy (used in adv & scan parameters) */ /* Special own address types for LL privacy (used in adv & scan parameters) */
#define BT_HCI_OWN_ADDR_RPA_OR_PUBLIC 0x02 #define BT_HCI_OWN_ADDR_RPA_OR_PUBLIC 0x02

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-10 23:51+0000\n" "PO-Revision-Date: 2020-10-10 23:51+0000\n"
"Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>\n" "Last-Translator: oon arfiandwi <oon.arfiandwi@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -966,6 +966,10 @@ msgstr "Perangkat keras sibuk, coba pin alternatif"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Perangkat keras sedang digunakan, coba pin alternatif" msgstr "Perangkat keras sedang digunakan, coba pin alternatif"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "operasi I/O pada file tertutup" msgstr "operasi I/O pada file tertutup"
@ -1047,6 +1051,7 @@ msgstr "File BMP tidak valid"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Pin DAC yang diberikan tidak valid" msgstr "Pin DAC yang diberikan tidak valid"
@ -1258,7 +1263,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Tidak ada CCCD untuk Karakteristik ini" msgstr "Tidak ada CCCD untuk Karakteristik ini"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Tidak ada DAC (Digital Analog Converter) di dalam chip" msgstr "Tidak ada DAC (Digital Analog Converter) di dalam chip"
@ -2775,6 +2779,10 @@ msgstr "format tidak valid"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "key tidak valid" msgstr "key tidak valid"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -947,6 +947,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "" msgstr ""
@ -1026,6 +1030,7 @@ msgstr ""
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1237,7 +1242,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "" msgstr ""
@ -2728,6 +2732,10 @@ msgstr ""
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-05-24 03:22+0000\n" "PO-Revision-Date: 2020-05-24 03:22+0000\n"
"Last-Translator: dronecz <mzuzelka@gmail.com>\n" "Last-Translator: dronecz <mzuzelka@gmail.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -951,6 +951,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "" msgstr ""
@ -1030,6 +1034,7 @@ msgstr ""
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1241,7 +1246,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "" msgstr ""
@ -2732,6 +2736,10 @@ msgstr ""
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "" msgstr ""

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-06-16 18:24+0000\n" "PO-Revision-Date: 2020-06-16 18:24+0000\n"
"Last-Translator: Andreas Buchen <andreas.buchen@gmail.com>\n" "Last-Translator: Andreas Buchen <andreas.buchen@gmail.com>\n"
"Language: de_DE\n" "Language: de_DE\n"
@ -149,7 +149,7 @@ msgstr ""
#: py/obj.c #: py/obj.c
msgid "'%q' object is not subscriptable" msgid "'%q' object is not subscriptable"
msgstr "" msgstr "'%q' Objekt hat keine '__getitem__'-Methode (not subscriptable)"
#: py/emitinlinethumb.c py/emitinlinextensa.c #: py/emitinlinethumb.c py/emitinlinextensa.c
#, c-format #, c-format
@ -966,6 +966,10 @@ msgstr "Hardware beschäftigt, versuchen Sie alternative Pins"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Hardware in benutzung, probiere alternative Pins" msgstr "Hardware in benutzung, probiere alternative Pins"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "Lese/Schreibe-operation an geschlossener Datei" msgstr "Lese/Schreibe-operation an geschlossener Datei"
@ -1047,6 +1051,7 @@ msgstr "Ungültige BMP-Datei"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Ungültiger DAC-Pin angegeben" msgstr "Ungültiger DAC-Pin angegeben"
@ -1260,7 +1265,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Kein CCCD für diese Charakteristik" msgstr "Kein CCCD für diese Charakteristik"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Kein DAC im Chip vorhanden" msgstr "Kein DAC im Chip vorhanden"
@ -1982,14 +1986,16 @@ msgstr "WatchDogTimer läuft aktuell nicht"
#: shared-bindings/watchdog/WatchDogTimer.c #: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET" msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
msgstr "" msgstr ""
"WatchDogTimer.mode kann nicht geändert werden, nachdem "
"er auf WatchDogMode.RESET gesetzt wurde"
#: shared-bindings/watchdog/WatchDogTimer.c #: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer.timeout must be greater than 0" msgid "WatchDogTimer.timeout must be greater than 0"
msgstr "" msgstr "WatchDogTimer.timeout muss größer als 0 sein"
#: supervisor/shared/safe_mode.c #: supervisor/shared/safe_mode.c
msgid "Watchdog timer expired." msgid "Watchdog timer expired."
msgstr "" msgstr "Watchdog timer abgelaufen "
#: py/builtinhelp.c #: py/builtinhelp.c
#, c-format #, c-format
@ -2009,11 +2015,11 @@ msgstr ""
#: shared-bindings/wifi/Radio.c #: shared-bindings/wifi/Radio.c
msgid "WiFi password must be between 8 and 63 characters" msgid "WiFi password must be between 8 and 63 characters"
msgstr "" msgstr "WiFi Passwort muss zwischen 8 und 63 Zeichen lang sein"
#: ports/nrf/common-hal/_bleio/PacketBuffer.c #: ports/nrf/common-hal/_bleio/PacketBuffer.c
msgid "Writes not supported on Characteristic" msgid "Writes not supported on Characteristic"
msgstr "Schreiben nicht unterstüzt für die Characteristic" msgstr "Schreiben nicht unterstüzt für diese Charakteristik"
#: supervisor/shared/safe_mode.c #: supervisor/shared/safe_mode.c
msgid "You are in safe mode: something unanticipated happened.\n" msgid "You are in safe mode: something unanticipated happened.\n"
@ -2031,7 +2037,7 @@ msgstr "__init__() sollte None zurückgeben"
#: py/objtype.c #: py/objtype.c
msgid "__init__() should return None, not '%q'" msgid "__init__() should return None, not '%q'"
msgstr "" msgstr "__init__() sollte None zurückgeben, nicht '%q'"
#: py/objobject.c #: py/objobject.c
msgid "__new__ arg must be a user-type" msgid "__new__ arg must be a user-type"
@ -2076,12 +2082,12 @@ msgstr "Argument hat falschen Typ"
#: extmod/ulab/code/linalg/linalg.c #: extmod/ulab/code/linalg/linalg.c
msgid "argument must be ndarray" msgid "argument must be ndarray"
msgstr "" msgstr "Argument muss ein ndarray sein"
#: py/argcheck.c shared-bindings/_stage/__init__.c #: py/argcheck.c shared-bindings/_stage/__init__.c
#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c #: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch" msgid "argument num/types mismatch"
msgstr "Anzahl/Type der Argumente passen nicht" msgstr "Anzahl/Typen der Argumente passen nicht"
#: py/runtime.c #: py/runtime.c
msgid "argument should be a '%q' not a '%q'" msgid "argument should be a '%q' not a '%q'"
@ -2183,7 +2189,7 @@ msgstr "bytes mit mehr als 8 bits werden nicht unterstützt"
#: py/objarray.c #: py/objarray.c
msgid "bytes length not a multiple of item size" msgid "bytes length not a multiple of item size"
msgstr "" msgstr "Byte-Länge ist kein vielfaches der Item-Größe"
#: py/objstr.c #: py/objstr.c
msgid "bytes value out of range" msgid "bytes value out of range"
@ -2226,7 +2232,7 @@ msgstr "kann keinem Ausdruck zuweisen"
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c #: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
#: shared-module/_pixelbuf/PixelBuf.c #: shared-module/_pixelbuf/PixelBuf.c
msgid "can't convert %q to %q" msgid "can't convert %q to %q"
msgstr "" msgstr "kann %q nicht zu %q konvertieren"
#: py/objstr.c #: py/objstr.c
msgid "can't convert '%q' object to %q implicitly" msgid "can't convert '%q' object to %q implicitly"
@ -2234,7 +2240,7 @@ msgstr "Kann '%q' Objekt nicht implizit nach %q konvertieren"
#: py/obj.c #: py/obj.c
msgid "can't convert to %q" msgid "can't convert to %q"
msgstr "" msgstr "kann nicht zu %q konvertieren"
#: py/objstr.c #: py/objstr.c
msgid "can't convert to str implicitly" msgid "can't convert to str implicitly"
@ -2288,7 +2294,7 @@ msgstr ""
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "can't set 512 block size" msgid "can't set 512 block size"
msgstr "" msgstr "Kann Blockgröße von 512 nicht setzen"
#: py/objnamedtuple.c #: py/objnamedtuple.c
msgid "can't set attribute" msgid "can't set attribute"
@ -2724,11 +2730,11 @@ msgstr "Indizes müssen Integer, Slices oder Boolesche Listen sein"
#: extmod/ulab/code/approx/approx.c #: extmod/ulab/code/approx/approx.c
msgid "initial values must be iterable" msgid "initial values must be iterable"
msgstr "" msgstr "Ausgangswerte müssen iterierbar sein"
#: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c #: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c
msgid "initial_value length is wrong" msgid "initial_value length is wrong"
msgstr "" msgstr "Länge von initial_value ist falsch"
#: py/compile.c #: py/compile.c
msgid "inline assembler must be a function" msgid "inline assembler must be a function"
@ -2803,6 +2809,10 @@ msgstr "ungültiges Format"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "ungültiger Formatbezeichner" msgstr "ungültiger Formatbezeichner"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "ungültiger Schlüssel" msgstr "ungültiger Schlüssel"
@ -3118,7 +3128,7 @@ msgstr "Objekt nicht iterierbar"
#: py/obj.c #: py/obj.c
msgid "object of type '%q' has no len()" msgid "object of type '%q' has no len()"
msgstr "" msgstr "Object vom Typ '%q' hat kein len()"
#: py/obj.c #: py/obj.c
msgid "object with buffer protocol required" msgid "object with buffer protocol required"
@ -3172,11 +3182,11 @@ msgstr ""
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "out of range of source" msgid "out of range of source"
msgstr "" msgstr "Außerhalb des Bereichs der Quelle"
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "out of range of target" msgid "out of range of target"
msgstr "" msgstr "Außerhalb des Bereichs des Ziels"
#: py/objint_mpz.c #: py/objint_mpz.c
msgid "overflow converting long int to machine word" msgid "overflow converting long int to machine word"
@ -3388,7 +3398,7 @@ msgstr ""
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "source palette too large" msgid "source palette too large"
msgstr "" msgstr "Quell-Palette zu groß"
#: py/objstr.c #: py/objstr.c
msgid "start/end indices" msgid "start/end indices"
@ -3416,7 +3426,7 @@ msgstr "stream operation ist nicht unterstützt"
#: py/objstrunicode.c #: py/objstrunicode.c
msgid "string indices must be integers, not %q" msgid "string indices must be integers, not %q"
msgstr "" msgstr "String Indizes müssen Integer sein, nicht %q"
#: py/stream.c #: py/stream.c
msgid "string not supported; use bytes or bytearray" msgid "string not supported; use bytes or bytearray"
@ -3457,7 +3467,7 @@ msgstr "time.struct_time() nimmt eine 9-Sequenz an"
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c #: ports/nrf/common-hal/watchdog/WatchDogTimer.c
msgid "timeout duration exceeded the maximum supported value" msgid "timeout duration exceeded the maximum supported value"
msgstr "" msgstr "Das Zeitlimit hat den maximal zulässigen Wert überschritten"
#: shared-bindings/busio/UART.c #: shared-bindings/busio/UART.c
msgid "timeout must be 0.0-100.0 seconds" msgid "timeout must be 0.0-100.0 seconds"
@ -3469,11 +3479,11 @@ msgstr "timeout muss >= 0.0 sein"
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v1 card" msgid "timeout waiting for v1 card"
msgstr "" msgstr "Zeitlimit beim warten auf v1 Karte"
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v2 card" msgid "timeout waiting for v2 card"
msgstr "" msgstr "Zeitlimit beim warten auf v2 Karte"
#: shared-bindings/time/__init__.c #: shared-bindings/time/__init__.c
msgid "timestamp out of range for platform time_t" msgid "timestamp out of range for platform time_t"
@ -3524,7 +3534,7 @@ msgstr "Typ vom Objekt '%q' hat kein Attribut '%q'"
#: py/objgenerator.c #: py/objgenerator.c
msgid "type object 'generator' has no attribute '__await__'" msgid "type object 'generator' has no attribute '__await__'"
msgstr "" msgstr "Das Typ-Objekt 'generator' hat kein Attribut '__await__'"
#: py/objtype.c #: py/objtype.c
msgid "type takes 1 or 3 arguments" msgid "type takes 1 or 3 arguments"
@ -3569,7 +3579,7 @@ msgstr "unbekannter Konvertierungs specifier %c"
#: py/objstr.c #: py/objstr.c
msgid "unknown format code '%c' for object of type '%q'" msgid "unknown format code '%c' for object of type '%q'"
msgstr "" msgstr "Unbekannter Formatcode '%c' für Objekt vom Typ '%q'"
#: py/compile.c #: py/compile.c
msgid "unknown type" msgid "unknown type"
@ -3630,7 +3640,7 @@ msgstr "value_count muss größer als 0 sein"
#: extmod/ulab/code/linalg/linalg.c #: extmod/ulab/code/linalg/linalg.c
msgid "vectors must have same lengths" msgid "vectors must have same lengths"
msgstr "" msgstr "Vektoren müssen die selbe Länge haben"
#: shared-bindings/watchdog/WatchDogTimer.c #: shared-bindings/watchdog/WatchDogTimer.c
msgid "watchdog timeout must be greater than 0" msgid "watchdog timeout must be greater than 0"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -946,6 +946,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "" msgstr ""
@ -1025,6 +1029,7 @@ msgstr ""
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1236,7 +1241,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "" msgstr ""
@ -2727,6 +2731,10 @@ msgstr ""
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "" msgstr ""

View File

@ -7,16 +7,16 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-09 17:19+0000\n" "PO-Revision-Date: 2020-10-17 02:31+0000\n"
"Last-Translator: dherrada <dylan.herrada@adafruit.com>\n" "Last-Translator: Alvaro Figueroa <alvaro@greencore.co.cr>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: es\n" "Language: es\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n" "Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3-dev\n" "X-Generator: Weblate 4.3.1-dev\n"
#: main.c #: main.c
msgid "" msgid ""
@ -255,7 +255,7 @@ msgstr "'return' fuera de una función"
#: py/compile.c #: py/compile.c
msgid "'yield from' inside async function" msgid "'yield from' inside async function"
msgstr "" msgstr "'yield from' dentro función asincrónica"
#: py/compile.c #: py/compile.c
msgid "'yield' outside function" msgid "'yield' outside function"
@ -284,7 +284,7 @@ msgstr "El canal EXTINT ya está siendo utilizado"
#: ports/esp32s2/common-hal/analogio/AnalogIn.c #: ports/esp32s2/common-hal/analogio/AnalogIn.c
msgid "ADC2 is being used by WiFi" msgid "ADC2 is being used by WiFi"
msgstr "" msgstr "ADC2 está siendo usado por WiFi"
#: shared-bindings/_bleio/Address.c shared-bindings/ipaddress/IPv4Address.c #: shared-bindings/_bleio/Address.c shared-bindings/ipaddress/IPv4Address.c
#, c-format #, c-format
@ -967,6 +967,10 @@ msgstr "Hardware ocupado, pruebe pines alternativos"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Hardware en uso, pruebe pines alternativos" msgstr "Hardware en uso, pruebe pines alternativos"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr "Hostname debe ser entre 1 y 253 caracteres"
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "Operación I/O en archivo cerrado" msgstr "Operación I/O en archivo cerrado"
@ -1048,6 +1052,7 @@ msgstr "Archivo BMP inválido"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "BSSID inválido" msgstr "BSSID inválido"
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Pin suministrado inválido para DAC" msgstr "Pin suministrado inválido para DAC"
@ -1259,7 +1264,6 @@ msgid "No CCCD for this Characteristic"
msgstr "No hay CCCD para esta característica" msgstr "No hay CCCD para esta característica"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "El chip no tiene DAC" msgstr "El chip no tiene DAC"
@ -2797,6 +2801,10 @@ msgstr "formato inválido"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "especificador de formato inválido" msgstr "especificador de formato inválido"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr "hostname inválido"
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "llave inválida" msgstr "llave inválida"
@ -3514,7 +3522,7 @@ msgstr "objeto de tipo '%q' no tiene atributo '%q'"
#: py/objgenerator.c #: py/objgenerator.c
msgid "type object 'generator' has no attribute '__await__'" msgid "type object 'generator' has no attribute '__await__'"
msgstr "" msgstr "objeto tipo 'generator' no tiene un atributo '__await__'"
#: py/objtype.c #: py/objtype.c
msgid "type takes 1 or 3 arguments" msgid "type takes 1 or 3 arguments"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2018-12-20 22:15-0800\n" "PO-Revision-Date: 2018-12-20 22:15-0800\n"
"Last-Translator: Timothy <me@timothygarcia.ca>\n" "Last-Translator: Timothy <me@timothygarcia.ca>\n"
"Language-Team: fil\n" "Language-Team: fil\n"
@ -959,6 +959,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "I/O operasyon sa saradong file" msgstr "I/O operasyon sa saradong file"
@ -1040,6 +1044,7 @@ msgstr "Mali ang BMP file"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1251,7 +1256,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Walang DAC sa chip" msgstr "Walang DAC sa chip"
@ -2772,6 +2776,10 @@ msgstr "hindi wastong pag-format"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "mali ang format specifier" msgstr "mali ang format specifier"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "mali ang key" msgstr "mali ang key"

View File

@ -7,15 +7,15 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.1\n" "Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-12 21:00+0000\n" "PO-Revision-Date: 2020-10-17 15:35+0000\n"
"Last-Translator: Noel Gaetan <gaetan.noel@viacesi.fr>\n" "Last-Translator: Antonin ENFRUN <antonin.e@me.com>\n"
"Language: fr\n" "Language: fr\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n" "Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3-dev\n" "X-Generator: Weblate 4.3.1-dev\n"
#: main.c #: main.c
msgid "" msgid ""
@ -23,7 +23,7 @@ msgid ""
"Code done running. Waiting for reload.\n" "Code done running. Waiting for reload.\n"
msgstr "" msgstr ""
"\n" "\n"
"Fin d'éxecution du code. En attente de recharge.\n" "Fin d'ecution du code. En attente de rechargement.\n"
#: supervisor/shared/safe_mode.c #: supervisor/shared/safe_mode.c
msgid "" msgid ""
@ -46,7 +46,7 @@ msgstr " Fichier \"%q\", ligne %d"
#: main.c #: main.c
msgid " output:\n" msgid " output:\n"
msgstr " sortie:\n" msgstr " sortie :\n"
#: py/objstr.c #: py/objstr.c
#, c-format #, c-format
@ -122,39 +122,39 @@ msgstr "'%q' argument requis"
#: py/runtime.c #: py/runtime.c
msgid "'%q' object cannot assign attribute '%q'" msgid "'%q' object cannot assign attribute '%q'"
msgstr "object '%q' ne peut assigner l'attribut '%q'" msgstr "l'objet '%q' ne peut avoir l'attribut '%q'"
#: py/proto.c #: py/proto.c
msgid "'%q' object does not support '%q'" msgid "'%q' object does not support '%q'"
msgstr "object '%q' ne supporte pas '%q'" msgstr "l'objet '%q' ne supporte pas '%q'"
#: py/obj.c #: py/obj.c
msgid "'%q' object does not support item assignment" msgid "'%q' object does not support item assignment"
msgstr "objet '%q' ne supporte pas l'assignement d'objets" msgstr "l'objet '%q' ne supporte pas l'assignement d'objets"
#: py/obj.c #: py/obj.c
msgid "'%q' object does not support item deletion" msgid "'%q' object does not support item deletion"
msgstr "object '%q' ne supported pas la suppression d'objet" msgstr "l'objet '%q' ne supporte pas la suppression d'objet"
#: py/runtime.c #: py/runtime.c
msgid "'%q' object has no attribute '%q'" msgid "'%q' object has no attribute '%q'"
msgstr "object '%q' n'as pas d'attribut '%q'" msgstr "l'objet '%q' n'as pas d'attribut '%q'"
#: py/runtime.c #: py/runtime.c
msgid "'%q' object is not an iterator" msgid "'%q' object is not an iterator"
msgstr "object '%q' n'est pas un itérateur" msgstr "l'objet '%q' n'est pas un itérateur"
#: py/objtype.c py/runtime.c #: py/objtype.c py/runtime.c
msgid "'%q' object is not callable" msgid "'%q' object is not callable"
msgstr "object '%q' ne peut pas être appelé" msgstr "l'objet '%q' ne peut pas être appelé"
#: py/runtime.c #: py/runtime.c
msgid "'%q' object is not iterable" msgid "'%q' object is not iterable"
msgstr "objet '%q' n'est pas iterable" msgstr "l'objet '%q' n'est pas itérable"
#: py/obj.c #: py/obj.c
msgid "'%q' object is not subscriptable" msgid "'%q' object is not subscriptable"
msgstr "objet '%q' n'est pas souscriptable" msgstr "l'objet '%q' n'est pas souscriptable"
#: py/emitinlinethumb.c py/emitinlinextensa.c #: py/emitinlinethumb.c py/emitinlinextensa.c
#, c-format #, c-format
@ -169,7 +169,7 @@ msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c #: py/emitinlinethumb.c
#, c-format #, c-format
msgid "'%s' expects a special register" msgid "'%s' expects a special register"
msgstr "'%s' attend un registre special" msgstr "'%s' attend un registre spécial"
#: py/emitinlinethumb.c #: py/emitinlinethumb.c
#, c-format #, c-format
@ -256,7 +256,7 @@ msgstr "'return' en dehors d'une fonction"
#: py/compile.c #: py/compile.c
msgid "'yield from' inside async function" msgid "'yield from' inside async function"
msgstr "" msgstr "'yield from' dans une fonction async"
#: py/compile.c #: py/compile.c
msgid "'yield' outside function" msgid "'yield' outside function"
@ -346,7 +346,7 @@ msgstr "S'annonce déjà."
#: ports/atmel-samd/common-hal/canio/Listener.c #: ports/atmel-samd/common-hal/canio/Listener.c
msgid "Already have all-matches listener" msgid "Already have all-matches listener"
msgstr "" msgstr "Il y a déjà un auditeur all-matches"
#: shared-module/memorymonitor/AllocationAlarm.c #: shared-module/memorymonitor/AllocationAlarm.c
#: shared-module/memorymonitor/AllocationSize.c #: shared-module/memorymonitor/AllocationSize.c
@ -355,7 +355,7 @@ msgstr "Déjà en cours d'exécution"
#: ports/esp32s2/common-hal/wifi/Radio.c #: ports/esp32s2/common-hal/wifi/Radio.c
msgid "Already scanning for wifi networks" msgid "Already scanning for wifi networks"
msgstr "" msgstr "Déjà à la recherche des réseaux wifi"
#: ports/cxd56/common-hal/analogio/AnalogIn.c #: ports/cxd56/common-hal/analogio/AnalogIn.c
msgid "AnalogIn not supported on given pin" msgid "AnalogIn not supported on given pin"
@ -532,7 +532,7 @@ msgstr "Impossible de définir CCCD sur une caractéristique locale"
#: shared-bindings/_bleio/Adapter.c #: shared-bindings/_bleio/Adapter.c
msgid "Cannot create a new Adapter; use _bleio.adapter;" msgid "Cannot create a new Adapter; use _bleio.adapter;"
msgstr "" msgstr ""
"Un nouveau Adapter ne peut être créé; Adapter; utilisez _bleio.adapter;" "Un nouveau Adapter ne peut être créé ; Adapter; utilisez _bleio.adapter;"
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
#: shared-bindings/memorymonitor/AllocationSize.c #: shared-bindings/memorymonitor/AllocationSize.c
@ -706,11 +706,11 @@ msgstr "Impossible de redémarrer PWM"
#: ports/esp32s2/common-hal/neopixel_write/__init__.c #: ports/esp32s2/common-hal/neopixel_write/__init__.c
msgid "Could not retrieve clock" msgid "Could not retrieve clock"
msgstr "" msgstr "Impossible dobtenir lhorloge"
#: shared-bindings/_bleio/Adapter.c #: shared-bindings/_bleio/Adapter.c
msgid "Could not set address" msgid "Could not set address"
msgstr "" msgstr "Impossible de définir ladresse"
#: ports/stm/common-hal/pwmio/PWMOut.c #: ports/stm/common-hal/pwmio/PWMOut.c
msgid "Could not start PWM" msgid "Could not start PWM"
@ -862,7 +862,7 @@ msgstr "La FFT est définie pour les ndarrays uniquement"
#: ports/esp32s2/common-hal/socketpool/Socket.c #: ports/esp32s2/common-hal/socketpool/Socket.c
msgid "Failed SSL handshake" msgid "Failed SSL handshake"
msgstr "" msgstr "Échec du handshake SSL"
#: shared-bindings/ps2io/Ps2.c #: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command." msgid "Failed sending command."
@ -889,11 +889,11 @@ msgstr "Echec de l'allocation de %d octets du tampon RX"
#: ports/esp32s2/common-hal/wifi/__init__.c #: ports/esp32s2/common-hal/wifi/__init__.c
msgid "Failed to allocate Wifi memory" msgid "Failed to allocate Wifi memory"
msgstr "" msgstr "Impossible dallouer la mémoire pour Wifi"
#: ports/esp32s2/common-hal/wifi/ScannedNetworks.c #: ports/esp32s2/common-hal/wifi/ScannedNetworks.c
msgid "Failed to allocate wifi scan memory" msgid "Failed to allocate wifi scan memory"
msgstr "" msgstr "Impossible d'allouer la mémoire pour le scan wifi"
#: ports/nrf/common-hal/_bleio/Adapter.c #: ports/nrf/common-hal/_bleio/Adapter.c
msgid "Failed to connect: internal error" msgid "Failed to connect: internal error"
@ -927,16 +927,16 @@ msgstr "Le fichier existe"
#: ports/atmel-samd/common-hal/canio/Listener.c #: ports/atmel-samd/common-hal/canio/Listener.c
#: ports/stm/common-hal/canio/Listener.c #: ports/stm/common-hal/canio/Listener.c
msgid "Filters too complex" msgid "Filters too complex"
msgstr "" msgstr "Filtre trop complexe"
#: ports/cxd56/common-hal/camera/Camera.c #: ports/cxd56/common-hal/camera/Camera.c
msgid "Format not supported" msgid "Format not supported"
msgstr "" msgstr "Format non supporté"
#: shared-module/framebufferio/FramebufferDisplay.c #: shared-module/framebufferio/FramebufferDisplay.c
#, c-format #, c-format
msgid "Framebuffer requires %d bytes" msgid "Framebuffer requires %d bytes"
msgstr "" msgstr "Le framebuffer nécessite %d octets"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
msgid "Frequency captured is above capability. Capture Paused." msgid "Frequency captured is above capability. Capture Paused."
@ -972,6 +972,10 @@ msgstr "Matériel occupé, essayez d'autres broches"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Matériel utilisé, essayez d'autres broches" msgstr "Matériel utilisé, essayez d'autres broches"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr "Hostname doit faire entre 1 et 253 caractères"
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "opération d'E/S sur un fichier fermé" msgstr "opération d'E/S sur un fichier fermé"
@ -1003,7 +1007,7 @@ msgstr "Taille de tampon incorrecte"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c
msgid "Input taking too long" msgid "Input taking too long"
msgstr "" msgstr "L'entrée prend trop de temps"
#: ports/esp32s2/common-hal/neopixel_write/__init__.c py/moduerrno.c #: ports/esp32s2/common-hal/neopixel_write/__init__.c py/moduerrno.c
msgid "Input/output error" msgid "Input/output error"
@ -1039,7 +1043,7 @@ msgstr "Broche invalide pour '%q'"
#: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/canio/CAN.c #: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/canio/CAN.c
#: ports/stm/common-hal/sdioio/SDCard.c #: ports/stm/common-hal/sdioio/SDCard.c
msgid "Invalid %q pin selection" msgid "Invalid %q pin selection"
msgstr "" msgstr "Sélection de pin %q invalide"
#: ports/stm/common-hal/analogio/AnalogIn.c #: ports/stm/common-hal/analogio/AnalogIn.c
msgid "Invalid ADC Unit value" msgid "Invalid ADC Unit value"
@ -1053,6 +1057,7 @@ msgstr "Fichier BMP invalide"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "BSSID Invalide" msgstr "BSSID Invalide"
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Broche DAC non valide fournie" msgstr "Broche DAC non valide fournie"
@ -1264,7 +1269,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Pas de CCCD pour cette caractéristique" msgstr "Pas de CCCD pour cette caractéristique"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Pas de DAC sur la puce" msgstr "Pas de DAC sur la puce"
@ -1387,11 +1391,11 @@ msgstr "Ne joue pas"
#: main.c #: main.c
msgid "Not running saved code.\n" msgid "Not running saved code.\n"
msgstr "" msgstr "N'exécute pas le code sauvegardé.\n"
#: shared-bindings/_bleio/__init__.c #: shared-bindings/_bleio/__init__.c
msgid "Not settable" msgid "Not settable"
msgstr "" msgstr "Non réglable"
#: shared-bindings/util.c #: shared-bindings/util.c
msgid "" msgid ""
@ -1410,11 +1414,11 @@ msgstr "Uniquement 8 ou 16 bit mono avec "
#: ports/esp32s2/common-hal/socketpool/SocketPool.c #: ports/esp32s2/common-hal/socketpool/SocketPool.c
msgid "Only IPv4 SOCK_STREAM sockets supported" msgid "Only IPv4 SOCK_STREAM sockets supported"
msgstr "" msgstr "Seules les sockets IPv4 SOCK_STREAM sont prises en charge"
#: ports/esp32s2/common-hal/wifi/__init__.c #: ports/esp32s2/common-hal/wifi/__init__.c
msgid "Only IPv4 addresses supported" msgid "Only IPv4 addresses supported"
msgstr "" msgstr "Seules les adresses IPv4 sont prises en charge"
#: shared-module/displayio/OnDiskBitmap.c #: shared-module/displayio/OnDiskBitmap.c
#, c-format #, c-format
@ -1435,11 +1439,11 @@ msgstr ""
#: shared-bindings/ipaddress/__init__.c #: shared-bindings/ipaddress/__init__.c
msgid "Only raw int supported for ip" msgid "Only raw int supported for ip"
msgstr "" msgstr "IP n'accepte que les entiers bruts"
#: ports/esp32s2/common-hal/socketpool/SocketPool.c #: ports/esp32s2/common-hal/socketpool/SocketPool.c
msgid "Out of sockets" msgid "Out of sockets"
msgstr "" msgstr "Plus de sockets"
#: shared-bindings/audiobusio/PDMIn.c #: shared-bindings/audiobusio/PDMIn.c
msgid "Oversample must be multiple of 8." msgid "Oversample must be multiple of 8."
@ -1514,6 +1518,8 @@ msgid ""
"Port does not accept PWM carrier. Pass a pin, frequency and duty cycle " "Port does not accept PWM carrier. Pass a pin, frequency and duty cycle "
"instead" "instead"
msgstr "" msgstr ""
"Ce portage n'accepte pas de PWM carrier. Précisez plutôt pin, frequency et "
"duty cycle"
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/cxd56/common-hal/pulseio/PulseOut.c #: ports/cxd56/common-hal/pulseio/PulseOut.c
@ -1523,6 +1529,8 @@ msgid ""
"Port does not accept pins or frequency. Construct and pass a PWMOut Carrier " "Port does not accept pins or frequency. Construct and pass a PWMOut Carrier "
"instead" "instead"
msgstr "" msgstr ""
"Ce portage n'accepte pas pins ou frequency. Construisez et passez un PWMOut "
"Carrier à la place"
#: shared-bindings/_bleio/Adapter.c #: shared-bindings/_bleio/Adapter.c
msgid "Prefix buffer must be on the heap" msgid "Prefix buffer must be on the heap"
@ -1586,7 +1594,7 @@ msgstr "Rafraîchissez trop tôt"
#: shared-bindings/canio/RemoteTransmissionRequest.c #: shared-bindings/canio/RemoteTransmissionRequest.c
msgid "RemoteTransmissionRequests limited to 8 bytes" msgid "RemoteTransmissionRequests limited to 8 bytes"
msgstr "" msgstr "RemoteTransmissionRequests limité à 8 octets"
#: shared-bindings/aesio/aes.c #: shared-bindings/aesio/aes.c
msgid "Requested AES mode is unsupported" msgid "Requested AES mode is unsupported"
@ -1602,7 +1610,7 @@ msgstr "L'entrée de ligne 'Row' doit être un digitalio.DigitalInOut"
#: main.c #: main.c
msgid "Running in safe mode! " msgid "Running in safe mode! "
msgstr "" msgstr "Tourne en mode sécurisé "
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "SD card CSD format not supported" msgid "SD card CSD format not supported"
@ -1616,12 +1624,12 @@ msgstr "SDA ou SCL a besoin d'une résistance de tirage ('pull up')"
#: ports/stm/common-hal/sdioio/SDCard.c #: ports/stm/common-hal/sdioio/SDCard.c
#, c-format #, c-format
msgid "SDIO GetCardInfo Error %d" msgid "SDIO GetCardInfo Error %d"
msgstr "" msgstr "SDIO GetCardInfo erreur %d"
#: ports/stm/common-hal/sdioio/SDCard.c #: ports/stm/common-hal/sdioio/SDCard.c
#, c-format #, c-format
msgid "SDIO Init Error %d" msgid "SDIO Init Error %d"
msgstr "" msgstr "SDIO Init erreur %d"
#: ports/stm/common-hal/busio/SPI.c #: ports/stm/common-hal/busio/SPI.c
msgid "SPI Init Error" msgid "SPI Init Error"
@ -1659,11 +1667,11 @@ msgstr "Sérialiseur en cours d'utilisation"
#: shared-bindings/ssl/SSLContext.c #: shared-bindings/ssl/SSLContext.c
msgid "Server side context cannot have hostname" msgid "Server side context cannot have hostname"
msgstr "" msgstr "Un contexte niveau serveur ne peut avoir de hostname"
#: ports/cxd56/common-hal/camera/Camera.c #: ports/cxd56/common-hal/camera/Camera.c
msgid "Size not supported" msgid "Size not supported"
msgstr "" msgstr "Taille non prise en charge"
#: shared-bindings/nvm/ByteArray.c #: shared-bindings/nvm/ByteArray.c
msgid "Slice and value different lengths." msgid "Slice and value different lengths."
@ -1678,7 +1686,7 @@ msgstr "Tranches non supportées"
#: ports/esp32s2/common-hal/socketpool/SocketPool.c #: ports/esp32s2/common-hal/socketpool/SocketPool.c
msgid "SocketPool can only be used with wifi.radio" msgid "SocketPool can only be used with wifi.radio"
msgstr "" msgstr "SocketPool ne s'utilise qu'avec wifi.radio"
#: shared-bindings/aesio/aes.c #: shared-bindings/aesio/aes.c
msgid "Source and destination buffers must be the same length" msgid "Source and destination buffers must be the same length"
@ -1726,7 +1734,7 @@ msgstr ""
#: shared-bindings/rgbmatrix/RGBMatrix.c #: shared-bindings/rgbmatrix/RGBMatrix.c
msgid "The length of rgb_pins must be 6, 12, 18, 24, or 30" msgid "The length of rgb_pins must be 6, 12, 18, 24, or 30"
msgstr "" msgstr "La taille de rgb_pins doit être 6, 12, 18, 24 ou 30"
#: supervisor/shared/safe_mode.c #: supervisor/shared/safe_mode.c
msgid "" msgid ""
@ -1781,6 +1789,8 @@ msgstr "Le délai est trop long : le délai maximal est de %d secondes"
msgid "" msgid ""
"Timer was reserved for internal use - declare PWM pins earlier in the program" "Timer was reserved for internal use - declare PWM pins earlier in the program"
msgstr "" msgstr ""
"Timer est reservé pour un usage interne - déclarez la broche PWM plus tôt "
"dans le programme"
#: supervisor/shared/safe_mode.c #: supervisor/shared/safe_mode.c
msgid "To exit, please reset the board without " msgid "To exit, please reset the board without "
@ -1861,7 +1871,7 @@ msgstr "Impossible d'allouer des tampons pour une conversion signée"
#: ports/esp32s2/common-hal/busio/I2C.c #: ports/esp32s2/common-hal/busio/I2C.c
msgid "Unable to create lock" msgid "Unable to create lock"
msgstr "" msgstr "Impossible de créer un verrou"
#: shared-module/displayio/I2CDisplay.c #: shared-module/displayio/I2CDisplay.c
#, c-format #, c-format
@ -1892,11 +1902,11 @@ msgstr "Type inattendu pour l'uuid nrfx"
#: ports/esp32s2/common-hal/socketpool/Socket.c #: ports/esp32s2/common-hal/socketpool/Socket.c
#, c-format #, c-format
msgid "Unhandled ESP TLS error %d %d %x %d" msgid "Unhandled ESP TLS error %d %d %x %d"
msgstr "" msgstr "Erreur ESP TLS non gérée %d %d %x %d"
#: shared-bindings/wifi/Radio.c #: shared-bindings/wifi/Radio.c
msgid "Unknown failure" msgid "Unknown failure"
msgstr "" msgstr "Echec inconnu"
#: ports/nrf/common-hal/_bleio/__init__.c #: ports/nrf/common-hal/_bleio/__init__.c
#, c-format #, c-format
@ -2016,7 +2026,7 @@ msgstr ""
#: shared-bindings/wifi/Radio.c #: shared-bindings/wifi/Radio.c
msgid "WiFi password must be between 8 and 63 characters" msgid "WiFi password must be between 8 and 63 characters"
msgstr "" msgstr "Le mot de passe WiFi doit faire entre 8 et 63 caractères"
#: ports/nrf/common-hal/_bleio/PacketBuffer.c #: ports/nrf/common-hal/_bleio/PacketBuffer.c
msgid "Writes not supported on Characteristic" msgid "Writes not supported on Characteristic"
@ -2036,7 +2046,7 @@ msgstr "__init__() doit retourner None"
#: py/objtype.c #: py/objtype.c
msgid "__init__() should return None, not '%q'" msgid "__init__() should return None, not '%q'"
msgstr "" msgstr "__init__() doit retourner None, pas '%q'"
#: py/objobject.c #: py/objobject.c
msgid "__new__ arg must be a user-type" msgid "__new__ arg must be a user-type"
@ -2081,7 +2091,7 @@ msgstr "l'argument est d'un mauvais type"
#: extmod/ulab/code/linalg/linalg.c #: extmod/ulab/code/linalg/linalg.c
msgid "argument must be ndarray" msgid "argument must be ndarray"
msgstr "" msgstr "l'argument doit être un ndarray"
#: py/argcheck.c shared-bindings/_stage/__init__.c #: py/argcheck.c shared-bindings/_stage/__init__.c
#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c #: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c
@ -2188,7 +2198,7 @@ msgstr "octets > 8 bits non supporté"
#: py/objarray.c #: py/objarray.c
msgid "bytes length not a multiple of item size" msgid "bytes length not a multiple of item size"
msgstr "" msgstr "bytes length n'est pas un multiple de la taille d'un élément"
#: py/objstr.c #: py/objstr.c
msgid "bytes value out of range" msgid "bytes value out of range"
@ -2230,7 +2240,7 @@ msgstr "ne peut pas assigner à une expression"
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c #: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
#: shared-module/_pixelbuf/PixelBuf.c #: shared-module/_pixelbuf/PixelBuf.c
msgid "can't convert %q to %q" msgid "can't convert %q to %q"
msgstr "" msgstr "impossible de convertir %q en %q"
#: py/objstr.c #: py/objstr.c
msgid "can't convert '%q' object to %q implicitly" msgid "can't convert '%q' object to %q implicitly"
@ -2238,7 +2248,7 @@ msgstr "impossible de convertir l'objet '%q' en '%q' implicitement"
#: py/obj.c #: py/obj.c
msgid "can't convert to %q" msgid "can't convert to %q"
msgstr "" msgstr "impossible de convertir en %q"
#: py/objstr.c #: py/objstr.c
msgid "can't convert to str implicitly" msgid "can't convert to str implicitly"
@ -2516,11 +2526,11 @@ msgstr "les exceptions doivent dériver de 'BaseException'"
#: shared-bindings/canio/CAN.c #: shared-bindings/canio/CAN.c
msgid "expected '%q' but got '%q'" msgid "expected '%q' but got '%q'"
msgstr "" msgstr "'%q' était attendu, mais reçu '%q'"
#: shared-bindings/canio/CAN.c #: shared-bindings/canio/CAN.c
msgid "expected '%q' or '%q' but got '%q'" msgid "expected '%q' or '%q' but got '%q'"
msgstr "" msgstr "'%q' ou '%q' était attendu, mais reçu '%q'"
#: py/objstr.c #: py/objstr.c
msgid "expected ':' after format specifier" msgid "expected ':' after format specifier"
@ -2737,7 +2747,7 @@ msgstr "les valeurs initiales doivent être itérables"
#: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c #: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c
msgid "initial_value length is wrong" msgid "initial_value length is wrong"
msgstr "" msgstr "la longueur de initial_value est incorrecte"
#: py/compile.c #: py/compile.c
msgid "inline assembler must be a function" msgid "inline assembler must be a function"
@ -2812,6 +2822,10 @@ msgstr "format invalide"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "spécification de format invalide" msgstr "spécification de format invalide"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr "hostname incorrect"
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "clé invalide" msgstr "clé invalide"
@ -2937,7 +2951,7 @@ msgstr "max_length doit être 0-%d lorsque fixed_length est %s"
#: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c #: shared-bindings/_bleio/Characteristic.c shared-bindings/_bleio/Descriptor.c
msgid "max_length must be > 0" msgid "max_length must be > 0"
msgstr "" msgstr "max_length doit être > 0"
#: py/runtime.c #: py/runtime.c
msgid "maximum recursion depth exceeded" msgid "maximum recursion depth exceeded"
@ -3090,7 +3104,7 @@ msgstr "le nombre de points doit être d'au moins 2"
#: py/obj.c #: py/obj.c
msgid "object '%q' is not a tuple or list" msgid "object '%q' is not a tuple or list"
msgstr "" msgstr "l'objet '%q' n'est pas un tuple ou une list"
#: py/obj.c #: py/obj.c
msgid "object does not support item assignment" msgid "object does not support item assignment"
@ -3126,7 +3140,7 @@ msgstr "objet non itérable"
#: py/obj.c #: py/obj.c
msgid "object of type '%q' has no len()" msgid "object of type '%q' has no len()"
msgstr "" msgstr "len() indéfinie pour un objet de type '%q'"
#: py/obj.c #: py/obj.c
msgid "object with buffer protocol required" msgid "object with buffer protocol required"
@ -3179,11 +3193,11 @@ msgstr ""
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "out of range of source" msgid "out of range of source"
msgstr "" msgstr "dépassement des bornes de source"
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "out of range of target" msgid "out of range of target"
msgstr "" msgstr "dépassement des bornes de target"
#: py/objint_mpz.c #: py/objint_mpz.c
msgid "overflow converting long int to machine word" msgid "overflow converting long int to machine word"
@ -3192,7 +3206,7 @@ msgstr "dépassement de capacité en convertissant un entier long en mot machine
#: py/modstruct.c #: py/modstruct.c
#, c-format #, c-format
msgid "pack expected %d items for packing (got %d)" msgid "pack expected %d items for packing (got %d)"
msgstr "" msgstr "pack attend %d element(s) (%d reçu)"
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c #: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
msgid "palette must be 32 bytes long" msgid "palette must be 32 bytes long"
@ -3241,7 +3255,7 @@ msgstr "'pop' d'une entrée PulseIn vide"
#: ports/stm/common-hal/pulseio/PulseIn.c py/objdict.c py/objlist.c py/objset.c #: ports/stm/common-hal/pulseio/PulseIn.c py/objdict.c py/objlist.c py/objset.c
#: shared-bindings/ps2io/Ps2.c #: shared-bindings/ps2io/Ps2.c
msgid "pop from empty %q" msgid "pop from empty %q"
msgstr "" msgstr "pop sur %q vide"
#: py/objint_mpz.c #: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0" msgid "pow() 3rd argument cannot be 0"
@ -3261,7 +3275,7 @@ msgstr "pow() avec 3 arguments nécessite des entiers"
#: ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h #: ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h
#: ports/esp32s2/boards/unexpectedmaker_feathers2_prerelease/mpconfigboard.h #: ports/esp32s2/boards/unexpectedmaker_feathers2_prerelease/mpconfigboard.h
msgid "pressing boot button at start up.\n" msgid "pressing boot button at start up.\n"
msgstr "" msgstr "bouton boot appuyé lors du démarrage.\n"
#: ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.h #: ports/atmel-samd/boards/circuitplayground_express/mpconfigboard.h
#: ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h #: ports/atmel-samd/boards/circuitplayground_express_crickit/mpconfigboard.h
@ -3269,7 +3283,7 @@ msgstr ""
#: ports/atmel-samd/boards/escornabot_makech/mpconfigboard.h #: ports/atmel-samd/boards/escornabot_makech/mpconfigboard.h
#: ports/atmel-samd/boards/meowmeow/mpconfigboard.h #: ports/atmel-samd/boards/meowmeow/mpconfigboard.h
msgid "pressing both buttons at start up.\n" msgid "pressing both buttons at start up.\n"
msgstr "" msgstr "les deux boutons appuyés lors du démarrage.\n"
#: extmod/modutimeq.c #: extmod/modutimeq.c
msgid "queue overflow" msgid "queue overflow"
@ -3364,7 +3378,7 @@ msgstr "la longueur de sleep ne doit pas être négative"
#: extmod/ulab/code/ndarray.c #: extmod/ulab/code/ndarray.c
msgid "slice step can't be zero" msgid "slice step can't be zero"
msgstr "" msgstr "le pas 'step' de la tranche ne peut être zéro"
#: py/objslice.c py/sequence.c #: py/objslice.c py/sequence.c
msgid "slice step cannot be zero" msgid "slice step cannot be zero"
@ -3384,19 +3398,19 @@ msgstr "l'argument de «sort» doit être un ndarray"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "sos array must be of shape (n_section, 6)" msgid "sos array must be of shape (n_section, 6)"
msgstr "" msgstr "le tableau sos doit être de forme (n_section, 6)"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "sos[:, 3] should be all ones" msgid "sos[:, 3] should be all ones"
msgstr "" msgstr "sos[:, 3] doivent tous être à un"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "sosfilt requires iterable arguments" msgid "sosfilt requires iterable arguments"
msgstr "" msgstr "sosfilt nécessite des argument itératifs"
#: shared-bindings/displayio/Bitmap.c #: shared-bindings/displayio/Bitmap.c
msgid "source palette too large" msgid "source palette too large"
msgstr "" msgstr "la palette source est trop grande"
#: py/objstr.c #: py/objstr.c
msgid "start/end indices" msgid "start/end indices"
@ -3424,7 +3438,7 @@ msgstr "opération de flux non supportée"
#: py/objstrunicode.c #: py/objstrunicode.c
msgid "string indices must be integers, not %q" msgid "string indices must be integers, not %q"
msgstr "" msgstr "les indices d'une chaîne doivent être des entiers, pas %q"
#: py/stream.c #: py/stream.c
msgid "string not supported; use bytes or bytearray" msgid "string not supported; use bytes or bytearray"
@ -3477,11 +3491,11 @@ msgstr "'timeout' doit être >= 0.0"
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v1 card" msgid "timeout waiting for v1 card"
msgstr "" msgstr "Délai dexpiration dépassé en attendant une carte v1"
#: shared-module/sdcardio/SDCard.c #: shared-module/sdcardio/SDCard.c
msgid "timeout waiting for v2 card" msgid "timeout waiting for v2 card"
msgstr "" msgstr "Délai dexpiration dépassé en attendant une carte v2"
#: shared-bindings/time/__init__.c #: shared-bindings/time/__init__.c
msgid "timestamp out of range for platform time_t" msgid "timestamp out of range for platform time_t"
@ -3502,7 +3516,7 @@ msgstr "trop de valeur à dégrouper (%d attendues)"
#: extmod/ulab/code/approx/approx.c #: extmod/ulab/code/approx/approx.c
msgid "trapz is defined for 1D arrays of equal length" msgid "trapz is defined for 1D arrays of equal length"
msgstr "" msgstr "trapz n'est défini que pour des tableaux 1D de longueur égale"
#: extmod/ulab/code/linalg/linalg.c #: extmod/ulab/code/linalg/linalg.c
msgid "tuple index out of range" msgid "tuple index out of range"
@ -3532,7 +3546,7 @@ msgstr "l'objet de type '%q' n'a pas d'attribut '%q'"
#: py/objgenerator.c #: py/objgenerator.c
msgid "type object 'generator' has no attribute '__await__'" msgid "type object 'generator' has no attribute '__await__'"
msgstr "" msgstr "le type 'generator' n'a pas d'attribut '__await__'"
#: py/objtype.c #: py/objtype.c
msgid "type takes 1 or 3 arguments" msgid "type takes 1 or 3 arguments"
@ -3613,7 +3627,7 @@ msgstr "caractère de format '%c' (0x%x) non supporté à l'index %d"
#: py/runtime.c #: py/runtime.c
msgid "unsupported type for %q: '%q'" msgid "unsupported type for %q: '%q'"
msgstr "type non supporté pour %q: '%q'" msgstr "type non supporté pour %q : '%q'"
#: py/runtime.c #: py/runtime.c
msgid "unsupported type for operator" msgid "unsupported type for operator"
@ -3642,7 +3656,7 @@ msgstr "watchdog timeout doit être supérieur à 0"
#: shared-bindings/rgbmatrix/RGBMatrix.c #: shared-bindings/rgbmatrix/RGBMatrix.c
msgid "width must be greater than zero" msgid "width must be greater than zero"
msgstr "" msgstr "width doit être plus grand que zero"
#: shared-bindings/_bleio/Adapter.c #: shared-bindings/_bleio/Adapter.c
msgid "window must be <= interval" msgid "window must be <= interval"
@ -3694,15 +3708,15 @@ msgstr "'step' nul"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "zi must be an ndarray" msgid "zi must be an ndarray"
msgstr "" msgstr "zi doit être ndarray"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "zi must be of float type" msgid "zi must be of float type"
msgstr "" msgstr "zi doit être de type float"
#: extmod/ulab/code/filter/filter.c #: extmod/ulab/code/filter/filter.c
msgid "zi must be of shape (n_section, 2)" msgid "zi must be of shape (n_section, 2)"
msgstr "" msgstr "zi doit être de forme (n_section, 2)"
#~ msgid "Must provide SCK pin" #~ msgid "Must provide SCK pin"
#~ msgstr "Vous devez fournir un code PIN SCK" #~ msgstr "Vous devez fournir un code PIN SCK"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Automatically generated\n" "Last-Translator: Automatically generated\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -946,6 +946,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "" msgstr ""
@ -1025,6 +1029,7 @@ msgstr ""
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1236,7 +1241,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "" msgstr ""
@ -2727,6 +2731,10 @@ msgstr ""
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "" msgstr ""

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2018-10-02 16:27+0200\n" "PO-Revision-Date: 2018-10-02 16:27+0200\n"
"Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n" "Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n"
"Language-Team: \n" "Language-Team: \n"
@ -959,6 +959,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "operazione I/O su file chiuso" msgstr "operazione I/O su file chiuso"
@ -1040,6 +1044,7 @@ msgstr "File BMP non valido"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1255,7 +1260,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Nessun DAC sul chip" msgstr "Nessun DAC sul chip"
@ -2773,6 +2777,10 @@ msgstr "formato non valido"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "specificatore di formato non valido" msgstr "specificatore di formato non valido"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "chiave non valida" msgstr "chiave non valida"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-09-25 18:20+0000\n" "PO-Revision-Date: 2020-09-25 18:20+0000\n"
"Last-Translator: Taku Fukada <naninunenor@gmail.com>\n" "Last-Translator: Taku Fukada <naninunenor@gmail.com>\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -959,6 +959,10 @@ msgstr "ハードウェアビジー。代替のピンを試してください"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "ハードウェア使用中。代わりのピンを試してください" msgstr "ハードウェア使用中。代わりのピンを試してください"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "閉じられたファイルへのI/O操作" msgstr "閉じられたファイルへのI/O操作"
@ -1040,6 +1044,7 @@ msgstr "不正なBMPファイル"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "不正なDACピンが与えられました" msgstr "不正なDACピンが与えられました"
@ -1251,7 +1256,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "チップにDACがありません" msgstr "チップにDACがありません"
@ -2757,6 +2761,10 @@ msgstr ""
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "不正な鍵" msgstr "不正な鍵"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-05 12:12+0000\n" "PO-Revision-Date: 2020-10-05 12:12+0000\n"
"Last-Translator: Michal Čihař <michal@cihar.com>\n" "Last-Translator: Michal Čihař <michal@cihar.com>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -951,6 +951,10 @@ msgstr ""
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "" msgstr ""
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "" msgstr ""
@ -1030,6 +1034,7 @@ msgstr ""
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1241,7 +1246,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "" msgstr ""
@ -2733,6 +2737,10 @@ msgstr "형식가 유효하지 않습니다"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "형식 지정자(format specifier)가 유효하지 않습니다" msgstr "형식 지정자(format specifier)가 유효하지 않습니다"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "키가 유효하지 않습니다" msgstr "키가 유효하지 않습니다"

View File

@ -5,7 +5,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-09-09 16:05+0000\n" "PO-Revision-Date: 2020-09-09 16:05+0000\n"
"Last-Translator: Jelle Jager <jell@jjc.id.au>\n" "Last-Translator: Jelle Jager <jell@jjc.id.au>\n"
"Language-Team: none\n" "Language-Team: none\n"
@ -961,6 +961,10 @@ msgstr "Hardware bezig, probeer alternatieve pinnen"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Hardware in gebruik, probeer alternatieve pinnen" msgstr "Hardware in gebruik, probeer alternatieve pinnen"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "I/O actie op gesloten bestand" msgstr "I/O actie op gesloten bestand"
@ -1042,6 +1046,7 @@ msgstr "Ongeldig BMP bestand"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Ongeldige DAC pin opgegeven" msgstr "Ongeldige DAC pin opgegeven"
@ -1253,7 +1258,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Geen CCCD voor deze Characteristic" msgstr "Geen CCCD voor deze Characteristic"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Geen DAC op de chip" msgstr "Geen DAC op de chip"
@ -2784,6 +2788,10 @@ msgstr "ongeldig formaat"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "ongeldige formaatspecificatie" msgstr "ongeldige formaatspecificatie"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "ongeldige sleutel" msgstr "ongeldige sleutel"

View File

@ -6,7 +6,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-09-29 01:39+0000\n" "PO-Revision-Date: 2020-09-29 01:39+0000\n"
"Last-Translator: Maciej Stankiewicz <tawezik@gmail.com>\n" "Last-Translator: Maciej Stankiewicz <tawezik@gmail.com>\n"
"Language-Team: pl\n" "Language-Team: pl\n"
@ -959,6 +959,10 @@ msgstr "Sprzęt zajęty, wypróbuj alternatywne piny"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Sprzęt w użyciu, wypróbuj alternatywne piny" msgstr "Sprzęt w użyciu, wypróbuj alternatywne piny"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "Operacja I/O na zamkniętym pliku" msgstr "Operacja I/O na zamkniętym pliku"
@ -1040,6 +1044,7 @@ msgstr "Zły BMP"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "" msgstr ""
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "" msgstr ""
@ -1252,7 +1257,6 @@ msgid "No CCCD for this Characteristic"
msgstr "" msgstr ""
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Brak DAC" msgstr "Brak DAC"
@ -2750,6 +2754,10 @@ msgstr "zły format"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "zła specyfikacja formatu" msgstr "zła specyfikacja formatu"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "zły klucz" msgstr "zły klucz"

View File

@ -5,8 +5,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-13 17:11+0000\n" "PO-Revision-Date: 2020-10-16 17:01+0000\n"
"Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n" "Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n"
"Language-Team: \n" "Language-Team: \n"
"Language: pt_BR\n" "Language: pt_BR\n"
@ -14,7 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n > 1;\n" "Plural-Forms: nplurals=2; plural=n > 1;\n"
"X-Generator: Weblate 4.3-dev\n" "X-Generator: Weblate 4.3.1-dev\n"
#: main.c #: main.c
msgid "" msgid ""
@ -970,6 +970,10 @@ msgstr "O hardware está ocupado, tente os pinos alternativos"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "O hardware está em uso, tente os pinos alternativos" msgstr "O hardware está em uso, tente os pinos alternativos"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr "O nome do host deve ter entre 1 e 253 caracteres"
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "Operação I/O no arquivo fechado" msgstr "Operação I/O no arquivo fechado"
@ -1051,6 +1055,7 @@ msgstr "Arquivo BMP inválido"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "BSSID Inválido" msgstr "BSSID Inválido"
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "O pino DAC informado é inválido" msgstr "O pino DAC informado é inválido"
@ -1262,7 +1267,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Não há nenhum CCCD para esta característica" msgstr "Não há nenhum CCCD para esta característica"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Nenhum DAC no chip" msgstr "Nenhum DAC no chip"
@ -2808,6 +2812,10 @@ msgstr "formato inválido"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "o especificador do formato é inválido" msgstr "o especificador do formato é inválido"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr "o nome do host é inválido"
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "chave inválida" msgstr "chave inválida"

View File

@ -5,8 +5,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-02 22:53+0000\n" "PO-Revision-Date: 2020-10-14 18:12+0000\n"
"Last-Translator: Jonny Bergdahl <jonny@bergdahl.it>\n" "Last-Translator: Jonny Bergdahl <jonny@bergdahl.it>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
"Language: sv\n" "Language: sv\n"
@ -252,7 +252,7 @@ msgstr "'return' utanför funktion"
#: py/compile.c #: py/compile.c
msgid "'yield from' inside async function" msgid "'yield from' inside async function"
msgstr "" msgstr "'yield from' i async-funktion"
#: py/compile.c #: py/compile.c
msgid "'yield' outside function" msgid "'yield' outside function"
@ -281,7 +281,7 @@ msgstr "En kanal för hårdvaruavbrott används redan"
#: ports/esp32s2/common-hal/analogio/AnalogIn.c #: ports/esp32s2/common-hal/analogio/AnalogIn.c
msgid "ADC2 is being used by WiFi" msgid "ADC2 is being used by WiFi"
msgstr "" msgstr "ADC2 används av WiFi"
#: shared-bindings/_bleio/Address.c shared-bindings/ipaddress/IPv4Address.c #: shared-bindings/_bleio/Address.c shared-bindings/ipaddress/IPv4Address.c
#, c-format #, c-format
@ -959,6 +959,10 @@ msgstr "Hårdvaran är upptagen, prova alternativa pinnar"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Hårdvaran används redan, prova alternativa pinnar" msgstr "Hårdvaran används redan, prova alternativa pinnar"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr ""
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "I/O-operation på stängd fil" msgstr "I/O-operation på stängd fil"
@ -1040,6 +1044,7 @@ msgstr "Ogiltig BMP-fil"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "Ogiltig BSSID" msgstr "Ogiltig BSSID"
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Ogiltig DAC-pinne angiven" msgstr "Ogiltig DAC-pinne angiven"
@ -1252,7 +1257,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Ingen CCCD för denna karaktäristik" msgstr "Ingen CCCD för denna karaktäristik"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Ingen DAC på chipet" msgstr "Ingen DAC på chipet"
@ -2781,6 +2785,10 @@ msgstr "ogiltigt format"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "ogiltig formatspecificerare" msgstr "ogiltig formatspecificerare"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr ""
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "ogiltig nyckel" msgstr "ogiltig nyckel"
@ -3495,7 +3503,7 @@ msgstr "typobjektet '%q' har inget attribut '%q'"
#: py/objgenerator.c #: py/objgenerator.c
msgid "type object 'generator' has no attribute '__await__'" msgid "type object 'generator' has no attribute '__await__'"
msgstr "" msgstr "typobjekt 'generator' har inget attribut '__await__'"
#: py/objtype.c #: py/objtype.c
msgid "type takes 1 or 3 arguments" msgid "type takes 1 or 3 arguments"

View File

@ -6,8 +6,8 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: circuitpython-cn\n" "Project-Id-Version: circuitpython-cn\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-10-10 23:49-0700\n" "POT-Creation-Date: 2020-10-15 16:06+0530\n"
"PO-Revision-Date: 2020-10-13 17:11+0000\n" "PO-Revision-Date: 2020-10-17 02:31+0000\n"
"Last-Translator: hexthat <hexthat@gmail.com>\n" "Last-Translator: hexthat <hexthat@gmail.com>\n"
"Language-Team: Chinese Hanyu Pinyin\n" "Language-Team: Chinese Hanyu Pinyin\n"
"Language: zh_Latn_pinyin\n" "Language: zh_Latn_pinyin\n"
@ -15,7 +15,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n" "Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Weblate 4.3-dev\n" "X-Generator: Weblate 4.3.1-dev\n"
#: main.c #: main.c
msgid "" msgid ""
@ -957,6 +957,10 @@ msgstr "Yìngjiàn máng, qǐng chángshì qítā zhēnjiǎo"
msgid "Hardware in use, try alternative pins" msgid "Hardware in use, try alternative pins"
msgstr "Shǐyòng de yìngjiàn, qǐng chángshì qítā yǐn jiǎo" msgstr "Shǐyòng de yìngjiàn, qǐng chángshì qítā yǐn jiǎo"
#: shared-bindings/wifi/Radio.c
msgid "Hostname must be between 1 and 253 characters"
msgstr "zhǔ jī míng bì xū jiè yú 1 hé 253 gè zì fú zhī jiān"
#: extmod/vfs_posix_file.c py/objstringio.c #: extmod/vfs_posix_file.c py/objstringio.c
msgid "I/O operation on closed file" msgid "I/O operation on closed file"
msgstr "Wénjiàn shàng de I/ O cāozuò" msgstr "Wénjiàn shàng de I/ O cāozuò"
@ -1038,6 +1042,7 @@ msgstr "Wúxiào de BMP wénjiàn"
msgid "Invalid BSSID" msgid "Invalid BSSID"
msgstr "Wúxiào de BSSID" msgstr "Wúxiào de BSSID"
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "Invalid DAC pin supplied" msgid "Invalid DAC pin supplied"
msgstr "Tí gōng liǎo wúxiào de DAC yǐn jiǎo" msgstr "Tí gōng liǎo wúxiào de DAC yǐn jiǎo"
@ -1249,7 +1254,6 @@ msgid "No CCCD for this Characteristic"
msgstr "Zhège tèzhēng méiyǒu CCCD" msgstr "Zhège tèzhēng méiyǒu CCCD"
#: ports/atmel-samd/common-hal/analogio/AnalogOut.c #: ports/atmel-samd/common-hal/analogio/AnalogOut.c
#: ports/esp32s2/common-hal/analogio/AnalogOut.c
#: ports/stm/common-hal/analogio/AnalogOut.c #: ports/stm/common-hal/analogio/AnalogOut.c
msgid "No DAC on chip" msgid "No DAC on chip"
msgstr "Méiyǒu DAC zài xīnpiàn shàng de" msgstr "Méiyǒu DAC zài xīnpiàn shàng de"
@ -2773,6 +2777,10 @@ msgstr "wúxiào géshì"
msgid "invalid format specifier" msgid "invalid format specifier"
msgstr "wúxiào de géshì biāozhù" msgstr "wúxiào de géshì biāozhù"
#: shared-bindings/wifi/Radio.c
msgid "invalid hostname"
msgstr "wú xiào zhǔ jī míng"
#: extmod/modussl_axtls.c #: extmod/modussl_axtls.c
msgid "invalid key" msgid "invalid key"
msgstr "wúxiào de mì yào" msgstr "wúxiào de mì yào"

View File

@ -66,7 +66,7 @@ LDFLAGS += -static -static-libgcc -static-libstdc++
endif endif
# source files # source files
SRC_C = \ SRC_C += \
main.c \ main.c \
gccollect.c \ gccollect.c \
supervisor/stub/safe_mode.c \ supervisor/stub/safe_mode.c \

View File

@ -0,0 +1,38 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2017 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 "boards/board.h"
void board_init(void)
{
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}

View File

@ -0,0 +1,40 @@
#define MICROPY_HW_BOARD_NAME "DynOSSAT-EDU-EPS"
#define MICROPY_HW_MCU_NAME "samd21g18"
#define MICROPY_HW_NEOPIXEL (&pin_PA06)
#define SPI_FLASH_MOSI_PIN &pin_PA22
#define SPI_FLASH_MISO_PIN &pin_PA21
#define SPI_FLASH_SCK_PIN &pin_PA23
#define SPI_FLASH_CS_PIN &pin_PA20
// These are pins not to reset.
#define MICROPY_PORT_A ( 0 )
#define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 )
#define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PA09)
#define DEFAULT_I2C_BUS_SDA (&pin_PA08)
#define DEFAULT_SPI_BUS_SCK (&pin_PB11)
#define DEFAULT_SPI_BUS_MOSI (&pin_PA12)
#define DEFAULT_SPI_BUS_MISO (&pin_PB10)
#define DEFAULT_UART_BUS_RX (&pin_PA17)
#define DEFAULT_UART_BUS_TX (&pin_PA16)
// USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1
#define IGNORE_PIN_PA25 1
#define IGNORE_PIN_PA03 1
#define IGNORE_PIN_PA13 1
#define IGNORE_PIN_PA14 1
#define IGNORE_PIN_PA15 1
#define IGNORE_PIN_PA18 1
#define IGNORE_PIN_PA27 1
#define IGNORE_PIN_PA28 1
#define IGNORE_PIN_PB08 1
#define IGNORE_PIN_PB22 1
#define IGNORE_PIN_PB23 1

View File

@ -0,0 +1,23 @@
USB_VID = 0x04D8
USB_PID = 0xEAD1
USB_PRODUCT = "DynOSSAT-EDU-EPS-v1.0"
USB_MANUFACTURER = "BH Dynamics"
CHIP_VARIANT = SAMD21G18A
CHIP_FAMILY = samd21
SPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 1
EXTERNAL_FLASH_DEVICES = "GD25Q32C"
LONGINT_IMPL = MPZ
CIRCUITPY_BITBANGIO = 0
CIRCUITPY_FREQUENCYIO = 0
CIRCUITPY_COUNTIO = 0
CIRCUITPY_I2CPERIPHERAL = 0
CIRCUITPY_VECTORIO = 0
CFLAGS_INLINE_LIMIT = 60
SUPEROPT_GC = 0

View File

@ -0,0 +1,32 @@
#include "shared-bindings/board/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PB11) },
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PA12) },
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PB10) },
{ MP_ROM_QSTR(MP_QSTR_D30), MP_ROM_PTR(&pin_PA30) },
{ MP_ROM_QSTR(MP_QSTR_D31), MP_ROM_PTR(&pin_PA31) },
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_PA17) },
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_PA07) },
{ MP_ROM_QSTR(MP_QSTR_OVTEMP), MP_ROM_PTR(&pin_PA07) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_PA16) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA08) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA09) },
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_PA11) },
{ MP_ROM_QSTR(MP_QSTR_SAT_RESET), MP_ROM_PTR(&pin_PA11) },
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_PA10) },
{ MP_ROM_QSTR(MP_QSTR_SAT_PWR_ENABLE), MP_ROM_PTR(&pin_PA10) },
{ MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_PTR(&pin_PA19) },
{ MP_ROM_QSTR(MP_QSTR_INT_IMU_OBC), MP_ROM_PTR(&pin_PA19) },
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_PB03) },
{ MP_ROM_QSTR(MP_QSTR_PWRMON_SDA), MP_ROM_PTR(&pin_PA04) },
{ MP_ROM_QSTR(MP_QSTR_PWRMON_SCL), MP_ROM_PTR(&pin_PA05) },
{ MP_ROM_QSTR(MP_QSTR_PWRMON_ALERT), MP_ROM_PTR(&pin_PB03) },
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_PA06) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA06) },
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_I2C_MONITOR), MP_ROM_PTR(&board_i2c_obj) },
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

View File

@ -0,0 +1,38 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2017 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 "boards/board.h"
void board_init(void)
{
}
bool board_requests_safe_mode(void) {
return false;
}
void reset_board(void) {
}

View File

@ -0,0 +1,44 @@
#define MICROPY_HW_BOARD_NAME "DynOSSAT-EDU-OBC"
#define MICROPY_HW_MCU_NAME "samd51j20"
#define MICROPY_HW_NEOPIXEL (&pin_PA08)
#define SPI_FLASH_MOSI_PIN &pin_PA16
#define SPI_FLASH_MISO_PIN &pin_PA18
#define SPI_FLASH_SCK_PIN &pin_PA17
#define SPI_FLASH_CS_PIN &pin_PA19
// These are pins not to reset.
#define MICROPY_PORT_A ( PORT_PA16 | PORT_PA17 | PORT_PA18 | PORT_PA19 )
#define MICROPY_PORT_B ( 0 )
#define MICROPY_PORT_C ( 0 )
#define MICROPY_PORT_D ( 0 )
#define BOARD_HAS_CRYSTAL 1
#define DEFAULT_I2C_BUS_SCL (&pin_PB13)
#define DEFAULT_I2C_BUS_SDA (&pin_PB12)
#define DEFAULT_SPI_BUS_SCK (&pin_PB03)
#define DEFAULT_SPI_BUS_MOSI (&pin_PB02)
#define DEFAULT_SPI_BUS_MISO (&pin_PB01)
#define DEFAULT_UART_BUS_RX (&pin_PA23)
#define DEFAULT_UART_BUS_TX (&pin_PA22)
// USB is always used internally so skip the pin objects for it.
#define IGNORE_PIN_PA24 1
#define IGNORE_PIN_PA25 1
#define IGNORE_PIN_PA02 1
#define IGNORE_PIN_PA13 1
#define IGNORE_PIN_PA14 1
#define IGNORE_PIN_PA20 1
#define IGNORE_PIN_PA21 1
#define IGNORE_PIN_PA27 1
#define IGNORE_PIN_PB00 1
#define IGNORE_PIN_PB04 1
#define IGNORE_PIN_PB05 1
#define IGNORE_PIN_PB16 1
#define IGNORE_PIN_PB17 1
#define IGNORE_PIN_PB23 1
#define IGNORE_PIN_PB31 1

View File

@ -0,0 +1,16 @@
USB_VID = 0x04D8
USB_PID = 0xEAD2
USB_PRODUCT = "DynOSSAT-EDU-OBC-v1.0"
USB_MANUFACTURER = "BH Dynamics"
CHIP_VARIANT = SAMD51J20A
CHIP_FAMILY = samd51
SPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 1
EXTERNAL_FLASH_DEVICES = "GD25Q32C"
LONGINT_IMPL = MPZ
CFLAGS_INLINE_LIMIT = 60
SUPEROPT_GC = 0

View File

@ -0,0 +1,40 @@
#include "shared-bindings/board/__init__.h"
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA07) },
{ MP_ROM_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_PA06) },
{ MP_ROM_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_PA05) },
{ MP_ROM_QSTR(MP_QSTR_A3), MP_ROM_PTR(&pin_PA04) },
{ MP_ROM_QSTR(MP_QSTR_A4), MP_ROM_PTR(&pin_PB09) },
{ MP_ROM_QSTR(MP_QSTR_A5), MP_ROM_PTR(&pin_PB08) },
{ MP_ROM_QSTR(MP_QSTR_SCK), MP_ROM_PTR(&pin_PB03) },
{ MP_ROM_QSTR(MP_QSTR_MOSI), MP_ROM_PTR(&pin_PB02) },
{ MP_ROM_QSTR(MP_QSTR_MISO), MP_ROM_PTR(&pin_PB01) },
{ MP_ROM_QSTR(MP_QSTR_D0), MP_ROM_PTR(&pin_PB15) },
{ MP_ROM_QSTR(MP_QSTR_D30), MP_ROM_PTR(&pin_PA22) },
{ MP_ROM_QSTR(MP_QSTR_D31), MP_ROM_PTR(&pin_PA23) },
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_PA23) },
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_PB14) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_PA22) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PB12) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PB13) },
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_PB11) },
{ MP_ROM_QSTR(MP_QSTR_D3), MP_ROM_PTR(&pin_PB10) },
{ MP_ROM_QSTR(MP_QSTR_D4), MP_ROM_PTR(&pin_PA11) },
{ MP_ROM_QSTR(MP_QSTR_D5), MP_ROM_PTR(&pin_PA10) },
{ MP_ROM_QSTR(MP_QSTR_D6), MP_ROM_PTR(&pin_PA09) },
{ MP_ROM_QSTR(MP_QSTR_D7), MP_ROM_PTR(&pin_PB07) },
{ MP_ROM_QSTR(MP_QSTR_D8), MP_ROM_PTR(&pin_PB06) },
{ MP_ROM_QSTR(MP_QSTR_D9), MP_ROM_PTR(&pin_PB30) },
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_PA08) },
{ MP_ROM_QSTR(MP_QSTR_D32), MP_ROM_PTR(&pin_PA30) },
{ MP_ROM_QSTR(MP_QSTR_D33), MP_ROM_PTR(&pin_PA31) },
{ MP_ROM_QSTR(MP_QSTR_SD_CS), MP_ROM_PTR(&pin_PB22) },
{ MP_ROM_QSTR(MP_QSTR_INT_IMU), MP_ROM_PTR(&pin_PA12) },
{ MP_ROM_QSTR(MP_QSTR_SAT_POWER), MP_ROM_PTR(&pin_PA15) },
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA08) },
{ 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_UART), MP_ROM_PTR(&board_uart_obj) },
};
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);

View File

@ -11,12 +11,12 @@ LONGINT_IMPL = MPZ
# Not needed. # Not needed.
CIRCUITPY_AUDIOBUSIO = 0 CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_FRAMEBUFFERIO = 0
CIRCUITPY_DISPLAYIO = 0
CIRCUITPY_RGBMATRIX = 0
CIRCUITPY_PS2IO = 0
CIRCUITPY_AUDIOMP3 = 0 CIRCUITPY_AUDIOMP3 = 0
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_DISPLAYIO = 0
CIRCUITPY_FRAMEBUFFERIO = 0
CIRCUITPY_PS2IO = 0
CIRCUITPY_RGBMATRIX = 0
CIRCUITPY_ULAB = 0 CIRCUITPY_ULAB = 0
# Override optimization to keep binary small # Override optimization to keep binary small

View File

@ -6,10 +6,6 @@ USB_MANUFACTURER = "Adafruit Industries LLC"
CHIP_VARIANT = SAMD51J19A CHIP_VARIANT = SAMD51J19A
CHIP_FAMILY = samd51 CHIP_FAMILY = samd51
# Support _bleio via the on-board ESP32 module.
CIRCUITPY_BLEIO = 1
CIRCUITPY_BLEIO_HCI = 1
QSPI_FLASH_FILESYSTEM = 1 QSPI_FLASH_FILESYSTEM = 1
EXTERNAL_FLASH_DEVICE_COUNT = 3 EXTERNAL_FLASH_DEVICE_COUNT = 3
EXTERNAL_FLASH_DEVICES = "S25FL116K, S25FL216K, GD25Q16C" EXTERNAL_FLASH_DEVICES = "S25FL116K, S25FL216K, GD25Q16C"

View File

@ -18,7 +18,7 @@ LONGINT_IMPL = MPZ
# Disable modules that are unusable on this special-purpose board. # Disable modules that are unusable on this special-purpose board.
CIRCUITPY_AUDIOBUSIO = 0 CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOIO = 0 CIRCUITPY_AUDIOIO = 0
CIRCUITPY_BLEIO = 0 CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_DISPLAYIO = 0 CIRCUITPY_DISPLAYIO = 0
CIRCUITPY_FRAMEBUFFERIO = 0 CIRCUITPY_FRAMEBUFFERIO = 0
CIRCUITPY_GAMEPAD = 0 CIRCUITPY_GAMEPAD = 0

View File

@ -43,12 +43,12 @@
#define MICROPY_PY_SYS_PLATFORM "Atmel SAMD21" #define MICROPY_PY_SYS_PLATFORM "Atmel SAMD21"
#define SPI_FLASH_MAX_BAUDRATE 8000000 #define SPI_FLASH_MAX_BAUDRATE 8000000
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
#define MICROPY_PY_FUNCTION_ATTRS (0) #define MICROPY_PY_FUNCTION_ATTRS (0)
// MICROPY_PY_UJSON depends on MICROPY_PY_IO // MICROPY_PY_UJSON depends on MICROPY_PY_IO
#define MICROPY_PY_IO (0) #define MICROPY_PY_IO (0)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (0) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (0)
#define MICROPY_PY_UJSON (0) #define MICROPY_PY_UJSON (0)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
#define MICROPY_PY_UERRNO_LIST \ #define MICROPY_PY_UERRNO_LIST \
X(EPERM) \ X(EPERM) \
X(ENOENT) \ X(ENOENT) \
@ -81,7 +81,6 @@
#endif #endif
#define SPI_FLASH_MAX_BAUDRATE 24000000 #define SPI_FLASH_MAX_BAUDRATE 24000000
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_FUNCTION_ATTRS (1)
// MICROPY_PY_UJSON depends on MICROPY_PY_IO // MICROPY_PY_UJSON depends on MICROPY_PY_IO
#define MICROPY_PY_IO (1) #define MICROPY_PY_IO (1)

View File

@ -37,6 +37,9 @@ ifndef CIRCUITPY_TOUCHIO_USE_NATIVE
CIRCUITPY_TOUCHIO_USE_NATIVE = 1 CIRCUITPY_TOUCHIO_USE_NATIVE = 1
endif endif
# No room for HCI _bleio on SAMD21.
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_SDCARDIO ?= 0 CIRCUITPY_SDCARDIO ?= 0
# Not enough RAM for framebuffers # Not enough RAM for framebuffers

View File

@ -162,7 +162,7 @@ SRC_SHARED_MODULE_EXPANDED = $(addprefix shared-bindings/, $(SRC_SHARED_MODULE))
SRC_S = supervisor/cpu.s SRC_S = supervisor/cpu.s
SRC_C = \ SRC_C += \
background.c \ background.c \
fatfs_port.c \ fatfs_port.c \
mphalport.c \ mphalport.c \

View File

@ -31,3 +31,9 @@ CONFIG_SPIRAM_USE_MEMMAP=y
CONFIG_SPIRAM_MEMTEST=y CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config # end of SPI RAM config
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="Metro-ESP32S2"
# end of LWIP

View File

@ -32,3 +32,8 @@ CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config # end of SPI RAM config
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="microS2"
# end of LWIP

View File

@ -32,3 +32,8 @@ CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config # end of SPI RAM config
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS2"
# end of LWIP

View File

@ -46,11 +46,11 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO43) }, { MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO43) },
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO43) }, { MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO43) },
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO38) }, { MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_IO38), MP_ROM_PTR(&pin_GPIO38) }, { MP_ROM_QSTR(MP_QSTR_IO38), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_D21), MP_ROM_PTR(&pin_GPIO38) }, { MP_ROM_QSTR(MP_QSTR_D21), MP_ROM_PTR(&pin_GPIO38) },
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO33) }, { MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO33) },
{ MP_ROM_QSTR(MP_QSTR_IO33), MP_ROM_PTR(&pin_GPIO33) }, { MP_ROM_QSTR(MP_QSTR_IO33), MP_ROM_PTR(&pin_GPIO33) },
{ MP_ROM_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_GPIO33) }, { MP_ROM_QSTR(MP_QSTR_D20), MP_ROM_PTR(&pin_GPIO33) },

View File

@ -33,3 +33,9 @@ CONFIG_SPIRAM_USE_MEMMAP=y
CONFIG_SPIRAM_MEMTEST=y CONFIG_SPIRAM_MEMTEST=y
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set # CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
# end of SPI RAM config # end of SPI RAM config
#
# LWIP
#
CONFIG_LWIP_LOCAL_HOSTNAME="UMFeatherS2"
# end of LWIP

View File

@ -104,6 +104,19 @@ void common_hal_wifi_radio_stop_scanning_networks(wifi_radio_obj_t *self) {
self->current_scan = NULL; self->current_scan = NULL;
} }
mp_obj_t common_hal_wifi_radio_get_hostname(wifi_radio_obj_t *self) {
const char *hostname = NULL;
esp_netif_get_hostname(self->netif, &hostname);
if (hostname == NULL) {
return mp_const_none;
}
return mp_obj_new_str(hostname, strlen(hostname));
}
void common_hal_wifi_radio_set_hostname(wifi_radio_obj_t *self, const char *hostname) {
esp_netif_set_hostname(self->netif, hostname);
}
wifi_radio_error_t common_hal_wifi_radio_connect(wifi_radio_obj_t *self, uint8_t* ssid, size_t ssid_len, uint8_t* password, size_t password_len, uint8_t channel, mp_float_t timeout, uint8_t* bssid, size_t bssid_len) { wifi_radio_error_t common_hal_wifi_radio_connect(wifi_radio_obj_t *self, uint8_t* ssid, size_t ssid_len, uint8_t* password, size_t password_len, uint8_t channel, mp_float_t timeout, uint8_t* bssid, size_t bssid_len) {
// check enabled // check enabled
start_station(self); start_station(self);

View File

@ -30,7 +30,6 @@
#define CIRCUITPY_INTERNAL_NVM_SIZE (0) #define CIRCUITPY_INTERNAL_NVM_SIZE (0)
#define MICROPY_NLR_THUMB (0) #define MICROPY_NLR_THUMB (0)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
#define MICROPY_PY_UBINASCII (1) #define MICROPY_PY_UBINASCII (1)
#define MICROPY_PY_UJSON (1) #define MICROPY_PY_UJSON (1)

View File

@ -16,6 +16,7 @@ CIRCUITPY_ANALOGIO = 0
CIRCUITPY_AUDIOBUSIO = 0 CIRCUITPY_AUDIOBUSIO = 0
CIRCUITPY_AUDIOIO = 0 CIRCUITPY_AUDIOIO = 0
CIRCUITPY_BITBANGIO = 0 CIRCUITPY_BITBANGIO = 0
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_BOARD = 0 CIRCUITPY_BOARD = 0
CIRCUITPY_BUSIO = 0 CIRCUITPY_BUSIO = 0
CIRCUITPY_COUNTIO = 0 CIRCUITPY_COUNTIO = 0

View File

@ -147,7 +147,7 @@ SRC_SDK := \
SRC_SDK := $(addprefix sdk/devices/$(CHIP_FAMILY)/, $(SRC_SDK)) SRC_SDK := $(addprefix sdk/devices/$(CHIP_FAMILY)/, $(SRC_SDK))
SRC_C = \ SRC_C += \
background.c \ background.c \
boards/$(BOARD)/board.c \ boards/$(BOARD)/board.c \
boards/$(BOARD)/flash_config.c \ boards/$(BOARD)/flash_config.c \

View File

@ -40,7 +40,6 @@ extern uint8_t _ld_default_stack_size;
// 20kiB stack // 20kiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t) &_ld_default_stack_size) #define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t) &_ld_default_stack_size)
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0) #define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (0)
#define MICROPY_PY_FUNCTION_ATTRS (0) #define MICROPY_PY_FUNCTION_ATTRS (0)
#define MICROPY_PY_IO (1) #define MICROPY_PY_IO (1)
#define MICROPY_PY_UJSON (1) #define MICROPY_PY_UJSON (1)

View File

@ -34,7 +34,6 @@
#include "nrf_sdm.h" // for SD_FLASH_SIZE #include "nrf_sdm.h" // for SD_FLASH_SIZE
#include "peripherals/nrf/nvm.h" // for FLASH_PAGE_SIZE #include "peripherals/nrf/nvm.h" // for FLASH_PAGE_SIZE
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_IO (1) #define MICROPY_PY_IO (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

View File

@ -23,6 +23,9 @@ CIRCUITPY_AUDIOCORE ?= 1
CIRCUITPY_AUDIOMIXER ?= 1 CIRCUITPY_AUDIOMIXER ?= 1
CIRCUITPY_AUDIOPWMIO ?= 1 CIRCUITPY_AUDIOPWMIO ?= 1
# Native BLEIO is not compatible with HCI _bleio.
CIRCUITPY_BLEIO_HCI = 0
CIRCUITPY_BLEIO ?= 1 CIRCUITPY_BLEIO ?= 1
# No I2CPeripheral implementation # No I2CPeripheral implementation

View File

@ -7,6 +7,7 @@ INTERNAL_FLASH_FILESYSTEM = 1
LONGINT_IMPL = NONE LONGINT_IMPL = NONE
CIRCUITPY_NVM = 1 CIRCUITPY_NVM = 1
CIRCUITPY_BLEIO_HCI = 0
MCU_SERIES = F4 MCU_SERIES = F4
MCU_VARIANT = STM32F411xE MCU_VARIANT = STM32F411xE

View File

@ -30,7 +30,6 @@
#include <stdint.h> #include <stdint.h>
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#define MICROPY_PY_FUNCTION_ATTRS (1) #define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_IO (1) #define MICROPY_PY_IO (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1) #define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

View File

@ -423,7 +423,7 @@ void port_interrupt_after_ticks(uint32_t ticks) {
alarm.AlarmMask = RTC_ALARMMASK_ALL; alarm.AlarmMask = RTC_ALARMMASK_ALL;
} }
alarm.AlarmTime.SubSeconds = rtc_clock_frequency - alarm.AlarmTime.SubSeconds = rtc_clock_frequency - 1 -
((raw_ticks % 1024) * 32); ((raw_ticks % 1024) * 32);
alarm.AlarmTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE; alarm.AlarmTime.DayLightSaving = RTC_DAYLIGHTSAVING_NONE;
alarm.AlarmTime.StoreOperation = RTC_STOREOPERATION_SET; alarm.AlarmTime.StoreOperation = RTC_STOREOPERATION_SET;

View File

@ -134,7 +134,7 @@ SRC_MOD += modjni.c
endif endif
# source files # source files
SRC_C = \ SRC_C += \
main.c \ main.c \
gccollect.c \ gccollect.c \
unix_mphal.c \ unix_mphal.c \

View File

@ -99,7 +99,6 @@
#define MICROPY_PY_SYS_STDFILES (1) #define MICROPY_PY_SYS_STDFILES (1)
#define MICROPY_PY_SYS_EXC_INFO (1) #define MICROPY_PY_SYS_EXC_INFO (1)
#define MICROPY_PY_COLLECTIONS_DEQUE (1) #define MICROPY_PY_COLLECTIONS_DEQUE (1)
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (1)
#ifndef MICROPY_PY_MATH_SPECIAL_FUNCTIONS #ifndef MICROPY_PY_MATH_SPECIAL_FUNCTIONS
#define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1) #define MICROPY_PY_MATH_SPECIAL_FUNCTIONS (1)
#endif #endif

View File

@ -49,7 +49,6 @@
#define MICROPY_VFS_FAT (1) #define MICROPY_VFS_FAT (1)
#define MICROPY_FATFS_USE_LABEL (1) #define MICROPY_FATFS_USE_LABEL (1)
#define MICROPY_PY_FRAMEBUF (1) #define MICROPY_PY_FRAMEBUF (1)
#define MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT (1)
// TODO these should be generic, not bound to fatfs // TODO these should be generic, not bound to fatfs
#define mp_type_fileio mp_type_vfs_posix_fileio #define mp_type_fileio mp_type_vfs_posix_fileio

View File

@ -194,6 +194,9 @@ typedef long mp_off_t;
#define MICROPY_PY_BUILTINS_STR_PARTITION (CIRCUITPY_FULL_BUILD) #define MICROPY_PY_BUILTINS_STR_PARTITION (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_STR_SPLITLINES (CIRCUITPY_FULL_BUILD) #define MICROPY_PY_BUILTINS_STR_SPLITLINES (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_UERRNO (CIRCUITPY_FULL_BUILD) #define MICROPY_PY_UERRNO (CIRCUITPY_FULL_BUILD)
#ifndef MICROPY_PY_COLLECTIONS_ORDEREDDICT
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (CIRCUITPY_FULL_BUILD)
#endif
// Opposite setting is deliberate. // Opposite setting is deliberate.
#define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD) #define MICROPY_PY_UERRNO_ERRORCODE (!CIRCUITPY_FULL_BUILD)
#ifndef MICROPY_PY_URE #ifndef MICROPY_PY_URE

View File

@ -79,14 +79,14 @@ CFLAGS += -DCIRCUITPY_AUDIOMP3=$(CIRCUITPY_AUDIOMP3)
CIRCUITPY_BITBANGIO ?= $(CIRCUITPY_FULL_BUILD) CIRCUITPY_BITBANGIO ?= $(CIRCUITPY_FULL_BUILD)
CFLAGS += -DCIRCUITPY_BITBANGIO=$(CIRCUITPY_BITBANGIO) CFLAGS += -DCIRCUITPY_BITBANGIO=$(CIRCUITPY_BITBANGIO)
# Explicitly enabled for boards that support _bleio.
CIRCUITPY_BLEIO ?= 0
CFLAGS += -DCIRCUITPY_BLEIO=$(CIRCUITPY_BLEIO)
# _bleio can be supported on most any board via HCI # _bleio can be supported on most any board via HCI
CIRCUITPY_BLEIO_HCI ?= 0 CIRCUITPY_BLEIO_HCI ?= $(CIRCUITPY_FULL_BUILD)
CFLAGS += -DCIRCUITPY_BLEIO_HCI=$(CIRCUITPY_BLEIO_HCI) CFLAGS += -DCIRCUITPY_BLEIO_HCI=$(CIRCUITPY_BLEIO_HCI)
# Explicitly enabled for boards that support _bleio.
CIRCUITPY_BLEIO ?= $(CIRCUITPY_BLEIO_HCI)
CFLAGS += -DCIRCUITPY_BLEIO=$(CIRCUITPY_BLEIO)
CIRCUITPY_BOARD ?= 1 CIRCUITPY_BOARD ?= 1
CFLAGS += -DCIRCUITPY_BOARD=$(CIRCUITPY_BOARD) CFLAGS += -DCIRCUITPY_BOARD=$(CIRCUITPY_BOARD)

View File

@ -46,7 +46,7 @@ size_t mp_obj_namedtuple_find_field(const mp_obj_namedtuple_type_t *type, qstr n
return (size_t)-1; return (size_t)-1;
} }
#if MICROPY_PY_COLLECTIONS_NAMEDTUPLE__ASDICT #if MICROPY_PY_COLLECTIONS_ORDEREDDICT
STATIC mp_obj_t namedtuple_asdict(mp_obj_t self_in) { STATIC mp_obj_t namedtuple_asdict(mp_obj_t self_in) {
mp_obj_namedtuple_t *self = MP_OBJ_TO_PTR(self_in); mp_obj_namedtuple_t *self = MP_OBJ_TO_PTR(self_in);
const qstr *fields = ((mp_obj_namedtuple_type_t*)self->tuple.base.type)->fields; const qstr *fields = ((mp_obj_namedtuple_type_t*)self->tuple.base.type)->fields;

View File

@ -24,11 +24,13 @@
* THE SOFTWARE. * THE SOFTWARE.
*/ */
#include "shared-bindings/wifi/__init__.h"
#include <regex.h>
#include <string.h> #include <string.h>
#include "py/objproperty.h"
#include "py/runtime.h" #include "py/runtime.h"
#include "shared-bindings/wifi/__init__.h" #include "py/objproperty.h"
//| class Radio: //| class Radio:
//| """Native wifi radio. //| """Native wifi radio.
@ -50,7 +52,6 @@
//| //|
STATIC mp_obj_t wifi_radio_get_enabled(mp_obj_t self) { STATIC mp_obj_t wifi_radio_get_enabled(mp_obj_t self) {
return mp_obj_new_bool(common_hal_wifi_radio_get_enabled(self)); return mp_obj_new_bool(common_hal_wifi_radio_get_enabled(self));
} }
MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_get_enabled_obj, wifi_radio_get_enabled); MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_get_enabled_obj, wifi_radio_get_enabled);
@ -102,6 +103,45 @@ STATIC mp_obj_t wifi_radio_stop_scanning_networks(mp_obj_t self_in) {
} }
STATIC MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_scanning_networks_obj, wifi_radio_stop_scanning_networks); STATIC MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_stop_scanning_networks_obj, wifi_radio_stop_scanning_networks);
//| hostname: ReadableBuffer
//| """Hostname for wifi interface. When the hostname is altered after interface started/connected
//| the changes would only be reflected once the interface restarts/reconnects."""
//|
STATIC mp_obj_t wifi_radio_get_hostname(mp_obj_t self_in) {
wifi_radio_obj_t *self = MP_OBJ_TO_PTR(self_in);
return common_hal_wifi_radio_get_hostname(self);
}
MP_DEFINE_CONST_FUN_OBJ_1(wifi_radio_get_hostname_obj, wifi_radio_get_hostname);
STATIC mp_obj_t wifi_radio_set_hostname(mp_obj_t self_in, mp_obj_t hostname_in) {
mp_buffer_info_t hostname;
mp_get_buffer_raise(hostname_in, &hostname, MP_BUFFER_READ);
if (hostname.len < 1 || hostname.len > 253) {
mp_raise_ValueError(translate("Hostname must be between 1 and 253 characters"));
}
regex_t regex; //validate hostname according to RFC 1123
regcomp(&regex,"^(([a-z0-9]|[a-z0-9][a-z0-9\\-]{0,61}[a-z0-9])\\.)*([a-z0-9]|[a-z0-9][a-z0-9\\-]{0,61}[a-z0-9])$", REG_EXTENDED | REG_ICASE | REG_NOSUB);
if (regexec(&regex, hostname.buf, 0, NULL, 0)) {
mp_raise_ValueError(translate("invalid hostname"));
}
regfree(&regex);
wifi_radio_obj_t *self = MP_OBJ_TO_PTR(self_in);
common_hal_wifi_radio_set_hostname(self, hostname.buf);
return mp_const_none;
}
MP_DEFINE_CONST_FUN_OBJ_2(wifi_radio_set_hostname_obj, wifi_radio_set_hostname);
const mp_obj_property_t wifi_radio_hostname_obj = {
.base.type = &mp_type_property,
.proxy = {(mp_obj_t)&wifi_radio_get_hostname_obj,
(mp_obj_t)&wifi_radio_set_hostname_obj,
(mp_obj_t)&mp_const_none_obj},
};
//| def connect(self, ssid: ReadableBuffer, password: ReadableBuffer = b"", *, channel: Optional[int] = 0, timeout: Optional[float] = None) -> bool: //| def connect(self, ssid: ReadableBuffer, password: ReadableBuffer = b"", *, channel: Optional[int] = 0, timeout: Optional[float] = None) -> bool:
//| """Connects to the given ssid and waits for an ip address. Reconnections are handled //| """Connects to the given ssid and waits for an ip address. Reconnections are handled
//| automatically once one connection succeeds.""" //| automatically once one connection succeeds."""
@ -216,6 +256,8 @@ STATIC const mp_rom_map_elem_t wifi_radio_locals_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_start_scanning_networks), MP_ROM_PTR(&wifi_radio_start_scanning_networks_obj) }, { MP_ROM_QSTR(MP_QSTR_start_scanning_networks), MP_ROM_PTR(&wifi_radio_start_scanning_networks_obj) },
{ MP_ROM_QSTR(MP_QSTR_stop_scanning_networks), MP_ROM_PTR(&wifi_radio_stop_scanning_networks_obj) }, { MP_ROM_QSTR(MP_QSTR_stop_scanning_networks), MP_ROM_PTR(&wifi_radio_stop_scanning_networks_obj) },
{ MP_ROM_QSTR(MP_QSTR_hostname), MP_ROM_PTR(&wifi_radio_hostname_obj) },
{ MP_ROM_QSTR(MP_QSTR_connect), MP_ROM_PTR(&wifi_radio_connect_obj) }, { MP_ROM_QSTR(MP_QSTR_connect), MP_ROM_PTR(&wifi_radio_connect_obj) },
// { MP_ROM_QSTR(MP_QSTR_connect_to_enterprise), MP_ROM_PTR(&wifi_radio_connect_to_enterprise_obj) }, // { MP_ROM_QSTR(MP_QSTR_connect_to_enterprise), MP_ROM_PTR(&wifi_radio_connect_to_enterprise_obj) },

View File

@ -35,7 +35,6 @@
const mp_obj_type_t wifi_radio_type; const mp_obj_type_t wifi_radio_type;
typedef enum { typedef enum {
WIFI_RADIO_ERROR_NONE, WIFI_RADIO_ERROR_NONE,
WIFI_RADIO_ERROR_UNKNOWN, WIFI_RADIO_ERROR_UNKNOWN,
@ -46,6 +45,9 @@ typedef enum {
extern bool common_hal_wifi_radio_get_enabled(wifi_radio_obj_t *self); extern bool common_hal_wifi_radio_get_enabled(wifi_radio_obj_t *self);
extern void common_hal_wifi_radio_set_enabled(wifi_radio_obj_t *self, bool enabled); extern void common_hal_wifi_radio_set_enabled(wifi_radio_obj_t *self, bool enabled);
extern mp_obj_t common_hal_wifi_radio_get_hostname(wifi_radio_obj_t *self);
extern void common_hal_wifi_radio_set_hostname(wifi_radio_obj_t *self, const char *hostname);
extern mp_obj_t common_hal_wifi_radio_get_mac_address(wifi_radio_obj_t *self); extern mp_obj_t common_hal_wifi_radio_get_mac_address(wifi_radio_obj_t *self);
extern mp_obj_t common_hal_wifi_radio_start_scanning_networks(wifi_radio_obj_t *self); extern mp_obj_t common_hal_wifi_radio_start_scanning_networks(wifi_radio_obj_t *self);

View File

@ -347,8 +347,10 @@ void common_hal_displayio_display_set_rotation(displayio_display_obj_t* self, in
self->core.height = tmp; self->core.height = tmp;
} }
displayio_display_core_set_rotation(&self->core, rotation); displayio_display_core_set_rotation(&self->core, rotation);
supervisor_stop_terminal(); if (self == &displays[0].display) {
supervisor_start_terminal(self->core.width, self->core.height); supervisor_stop_terminal();
supervisor_start_terminal(self->core.width, self->core.height);
}
if (self->core.current_group != NULL) { if (self->core.current_group != NULL) {
displayio_group_update_transform(self->core.current_group, &self->core.transform); displayio_group_update_transform(self->core.current_group, &self->core.transform);
} }

View File

@ -85,7 +85,10 @@ void displayio_display_core_construct(displayio_display_core_t* self,
self->bus = bus; self->bus = bus;
supervisor_start_terminal(width, height); // (offsetof core is equal in all display types)
if (self == &displays[0].display.core) {
supervisor_start_terminal(width, height);
}
self->width = width; self->width = width;
self->height = height; self->height = height;

View File

@ -280,8 +280,10 @@ void common_hal_framebufferio_framebufferdisplay_set_rotation(framebufferio_fram
self->core.height = tmp; self->core.height = tmp;
} }
displayio_display_core_set_rotation(&self->core, rotation); displayio_display_core_set_rotation(&self->core, rotation);
supervisor_stop_terminal(); if (self == &displays[0].framebuffer_display) {
supervisor_start_terminal(self->core.width, self->core.height); supervisor_stop_terminal();
supervisor_start_terminal(self->core.width, self->core.height);
}
if (self->core.current_group != NULL) { if (self->core.current_group != NULL) {
displayio_group_update_transform(self->core.current_group, &self->core.transform); displayio_group_update_transform(self->core.current_group, &self->core.transform);
} }

View File

@ -33,6 +33,14 @@
#define CIRCUITPY_SUPERVISOR_ALLOC_COUNT (12) #define CIRCUITPY_SUPERVISOR_ALLOC_COUNT (12)
// Using a zero length to mark an unused allocation makes the code a bit shorter (but makes it
// impossible to support zero-length allocations).
#define FREE 0
// The lowest two bits of a valid length are always zero, so we can use them to mark an allocation
// as freed by the client but not yet reclaimed into the FREE middle.
#define HOLE 1
static supervisor_allocation allocations[CIRCUITPY_SUPERVISOR_ALLOC_COUNT]; static supervisor_allocation allocations[CIRCUITPY_SUPERVISOR_ALLOC_COUNT];
// We use uint32_t* to ensure word (4 byte) alignment. // We use uint32_t* to ensure word (4 byte) alignment.
uint32_t* low_address; uint32_t* low_address;
@ -61,25 +69,31 @@ void free_memory(supervisor_allocation* allocation) {
} }
if (allocation->ptr == high_address) { if (allocation->ptr == high_address) {
high_address += allocation->length / 4; high_address += allocation->length / 4;
allocation->length = FREE;
for (index++; index < CIRCUITPY_SUPERVISOR_ALLOC_COUNT; index++) { for (index++; index < CIRCUITPY_SUPERVISOR_ALLOC_COUNT; index++) {
if (allocations[index].ptr != NULL) { if (!(allocations[index].length & HOLE)) {
break; break;
} }
// Division automatically shifts out the HOLE bit.
high_address += allocations[index].length / 4; high_address += allocations[index].length / 4;
allocations[index].length = FREE;
} }
} else if (allocation->ptr + allocation->length / 4 == low_address) { } else if (allocation->ptr + allocation->length / 4 == low_address) {
low_address = allocation->ptr; low_address = allocation->ptr;
allocation->length = FREE;
for (index--; index >= 0; index--) { for (index--; index >= 0; index--) {
if (allocations[index].ptr != NULL) { if (!(allocations[index].length & HOLE)) {
break; break;
} }
low_address -= allocations[index].length / 4; low_address -= allocations[index].length / 4;
allocations[index].length = FREE;
} }
} else { } else {
// Freed memory isn't in the middle so skip updating bounds. The memory will be added to the // Freed memory isn't in the middle so skip updating bounds. The memory will be added to the
// middle when the memory to the inside is freed. // middle when the memory to the inside is freed. We still need its length, but setting
// only the lowest bit is nondestructive.
allocation->length |= HOLE;
} }
allocation->ptr = NULL;
} }
supervisor_allocation* allocation_from_ptr(void *ptr) { supervisor_allocation* allocation_from_ptr(void *ptr) {
@ -99,7 +113,7 @@ supervisor_allocation* allocate_remaining_memory(void) {
} }
supervisor_allocation* allocate_memory(uint32_t length, bool high) { supervisor_allocation* allocate_memory(uint32_t length, bool high) {
if ((high_address - low_address) * 4 < (int32_t) length || length % 4 != 0) { if (length == 0 || length % 4 != 0) {
return NULL; return NULL;
} }
uint8_t index = 0; uint8_t index = 0;
@ -108,15 +122,21 @@ supervisor_allocation* allocate_memory(uint32_t length, bool high) {
index = CIRCUITPY_SUPERVISOR_ALLOC_COUNT - 1; index = CIRCUITPY_SUPERVISOR_ALLOC_COUNT - 1;
direction = -1; direction = -1;
} }
supervisor_allocation* alloc;
for (; index < CIRCUITPY_SUPERVISOR_ALLOC_COUNT; index += direction) { for (; index < CIRCUITPY_SUPERVISOR_ALLOC_COUNT; index += direction) {
if (allocations[index].ptr == NULL) { alloc = &allocations[index];
if (alloc->length == FREE && (high_address - low_address) * 4 >= (int32_t) length) {
break; break;
} }
// If a hole matches in length exactly, we can reuse it.
if (alloc->length == (length | HOLE)) {
alloc->length = length;
return alloc;
}
} }
if (index >= CIRCUITPY_SUPERVISOR_ALLOC_COUNT) { if (index >= CIRCUITPY_SUPERVISOR_ALLOC_COUNT) {
return NULL; return NULL;
} }
supervisor_allocation* alloc = &allocations[index];
if (high) { if (high) {
high_address -= length / 4; high_address -= length / 4;
alloc->ptr = high_address; alloc->ptr = high_address;