summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhathach <thach@tinyusb.org>2018-10-03 11:30:31 +0700
committerhathach <thach@tinyusb.org>2018-10-03 11:30:31 +0700
commitf543c8415d96aff96b252a0256795e1eb874f2ed (patch)
treec0fb0aeeb19501b143d03ddfcdf2f51d93684267
parent76d6fb03f0ffabe3886ed5a493faa02041f91179 (diff)
"busio.UART not yet implemented -> not available
-rw-r--r--locale/circuitpython.pot14
-rw-r--r--locale/de_DE.po14
-rw-r--r--locale/en_US.po14
-rw-r--r--locale/es.po14
-rw-r--r--locale/fil.po15
-rw-r--r--locale/fr.po23
-rw-r--r--ports/nrf/common-hal/busio/UART.c20
7 files changed, 58 insertions, 56 deletions
diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot
index 05cb73287..c224b9d6a 100644
--- a/locale/circuitpython.pot
+++ b/locale/circuitpython.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -719,12 +719,12 @@ msgstr ""
msgid "Odd parity is not supported"
msgstr ""
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+msgid "busio.UART not available"
msgstr ""
#: ports/nrf/common-hal/microcontroller/Processor.c:49
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 098e065d0..b60d644f9 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: Sebastian Plamauer\n"
"Language-Team: \n"
@@ -732,12 +732,12 @@ msgstr "ungültiger dupterm index"
msgid "Odd parity is not supported"
msgstr "bytes mit merh als 8 bits werden nicht unterstützt"
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+msgid "busio.UART not available"
msgstr ""
#: ports/nrf/common-hal/microcontroller/Processor.c:49
diff --git a/locale/en_US.po b/locale/en_US.po
index c57949b67..255de333d 100644
--- a/locale/en_US.po
+++ b/locale/en_US.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -719,12 +719,12 @@ msgstr ""
msgid "Odd parity is not supported"
msgstr ""
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+msgid "busio.UART not available"
msgstr ""
#: ports/nrf/common-hal/microcontroller/Processor.c:49
diff --git a/locale/es.po b/locale/es.po
index 9d8f057be..c3c87bf46 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
"Last-Translator: \n"
"Language-Team: \n"
@@ -737,12 +737,12 @@ msgstr "index dupterm inválido"
msgid "Odd parity is not supported"
msgstr "bytes > 8 bits no son soportados"
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+msgid "busio.UART not available"
msgstr ""
#: ports/nrf/common-hal/microcontroller/Processor.c:49
diff --git a/locale/fil.po b/locale/fil.po
index 6223463da..e131a5c62 100644
--- a/locale/fil.po
+++ b/locale/fil.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: 2018-08-30 23:04-0700\n"
"Last-Translator: Timothy <me@timothygarcia.ca>\n"
"Language-Team: fil\n"
@@ -738,12 +738,13 @@ msgstr "mali ang buffer length"
msgid "Odd parity is not supported"
msgstr "hindi sinusuportahan ang bytes > 8 bits"
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+#, fuzzy
+msgid "busio.UART not available"
msgstr "hindi pa implemented ang busio.UART"
#: ports/nrf/common-hal/microcontroller/Processor.c:49
diff --git a/locale/fr.po b/locale/fr.po
index 3b3baca84..9bd874e5c 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2018-09-26 02:09+0700\n"
+"POT-Creation-Date: 2018-10-03 11:28+0700\n"
"PO-Revision-Date: 2018-08-14 11:01+0200\n"
"Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n"
"Language-Team: fr\n"
@@ -734,12 +734,13 @@ msgstr "longueur de tampon invalide"
msgid "Odd parity is not supported"
msgstr "octets > 8 bits non supporté"
-#: ports/nrf/common-hal/busio/UART.c:245 ports/nrf/common-hal/busio/UART.c:322
-#: ports/nrf/common-hal/busio/UART.c:326 ports/nrf/common-hal/busio/UART.c:331
-#: ports/nrf/common-hal/busio/UART.c:336 ports/nrf/common-hal/busio/UART.c:342
-#: ports/nrf/common-hal/busio/UART.c:347 ports/nrf/common-hal/busio/UART.c:352
-#: ports/nrf/common-hal/busio/UART.c:356 ports/nrf/common-hal/busio/UART.c:364
-msgid "busio.UART not yet implemented"
+#: ports/nrf/common-hal/busio/UART.c:318 ports/nrf/common-hal/busio/UART.c:322
+#: ports/nrf/common-hal/busio/UART.c:327 ports/nrf/common-hal/busio/UART.c:332
+#: ports/nrf/common-hal/busio/UART.c:338 ports/nrf/common-hal/busio/UART.c:343
+#: ports/nrf/common-hal/busio/UART.c:348 ports/nrf/common-hal/busio/UART.c:352
+#: ports/nrf/common-hal/busio/UART.c:360
+#, fuzzy
+msgid "busio.UART not available"
msgstr "busio.UART pas encore implémenté"
#: ports/nrf/common-hal/microcontroller/Processor.c:49
@@ -2425,9 +2426,9 @@ msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format"
#, fuzzy
-#~ msgid "value_size must be power of two"
-#~ msgstr "'len' doit être un multiple de 4"
-
-#, fuzzy
#~ msgid "palette must be displayio.Palette"
#~ msgstr "la palette doit être longue de 32 octets"
+
+#, fuzzy
+#~ msgid "value_size must be power of two"
+#~ msgstr "'len' doit être un multiple de 4"
diff --git a/ports/nrf/common-hal/busio/UART.c b/ports/nrf/common-hal/busio/UART.c
index d3bd2a854..8d0db34be 100644
--- a/ports/nrf/common-hal/busio/UART.c
+++ b/ports/nrf/common-hal/busio/UART.c
@@ -190,7 +190,7 @@ size_t common_hal_busio_uart_read(busio_uart_obj_t *self, uint8_t *data, size_t
}
// Write characters.
-size_t common_hal_busio_uart_write(busio_uart_obj_t *self, const uint8_t *data, size_t len, int *errcode) {
+size_t common_hal_busio_uart_write (busio_uart_obj_t *self, const uint8_t *data, size_t len, int *errcode) {
if ( nrf_uarte_tx_pin_get(self->uarte.p_reg) == NRF_UARTE_PSEL_DISCONNECTED ) {
mp_raise_ValueError(translate("No TX pin"));
}
@@ -315,41 +315,41 @@ void common_hal_busio_uart_construct (busio_uart_obj_t *self,
const mcu_pin_obj_t * tx, const mcu_pin_obj_t * rx, uint32_t baudrate,
uint8_t bits, uart_parity_t parity, uint8_t stop, uint32_t timeout,
uint8_t receiver_buffer_size) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
}
bool common_hal_busio_uart_deinited (busio_uart_obj_t *self) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
return true;
}
void common_hal_busio_uart_deinit (busio_uart_obj_t *self) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
}
// Read characters.
size_t common_hal_busio_uart_read (busio_uart_obj_t *self, uint8_t *data, size_t len, int *errcode) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
return 0;
}
// Write characters.
size_t common_hal_busio_uart_write (busio_uart_obj_t *self, const uint8_t *data, size_t len, int *errcode) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
return 0;
}
uint32_t common_hal_busio_uart_get_baudrate (busio_uart_obj_t *self) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
return self->baudrate;
}
void common_hal_busio_uart_set_baudrate (busio_uart_obj_t *self, uint32_t baudrate) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
}
uint32_t common_hal_busio_uart_rx_characters_available (busio_uart_obj_t *self) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
}
void common_hal_busio_uart_clear_rx_buffer (busio_uart_obj_t *self) {
@@ -357,7 +357,7 @@ void common_hal_busio_uart_clear_rx_buffer (busio_uart_obj_t *self) {
}
bool common_hal_busio_uart_ready_to_tx (busio_uart_obj_t *self) {
- mp_raise_NotImplementedError(translate("busio.UART not yet implemented"));
+ mp_raise_NotImplementedError(translate("busio.UART not available"));
return false;
}
#endif