Skip to content

STM32: add PulseIn module #2697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 10 additions & 6 deletions locale/ID.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -709,6 +709,7 @@ msgstr "Gagal untuk mengalokasikan buffer RX"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr "Gagal untuk megalokasikan buffer RX dari %d byte"
Expand Down Expand Up @@ -1165,6 +1166,10 @@ msgstr ""
msgid "Pin does not have ADC capabilities"
msgstr "Pin tidak mempunya kemampuan untuk ADC (Analog Digital Converter)"

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
msgid "Plus any modules on the filesystem\n"
msgstr "Tambahkan module apapun pada filesystem\n"
Expand All @@ -1187,10 +1192,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2231,7 +2232,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr "index keluar dari jangkauan"

Expand Down Expand Up @@ -2718,6 +2720,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr "Muncul dari PulseIn yang kosong"

Expand Down Expand Up @@ -2949,6 +2952,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr "tx dan rx keduanya tidak boleh kosong"

Expand Down
16 changes: 10 additions & 6 deletions locale/circuitpython.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand Down Expand Up @@ -698,6 +698,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr ""
Expand Down Expand Up @@ -1153,6 +1154,10 @@ msgstr ""
msgid "Pin does not have ADC capabilities"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
msgid "Plus any modules on the filesystem\n"
msgstr ""
Expand All @@ -1173,10 +1178,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2207,7 +2208,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr ""

Expand Down Expand Up @@ -2693,6 +2695,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr ""

Expand Down Expand Up @@ -2923,6 +2926,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr ""

Expand Down
16 changes: 10 additions & 6 deletions locale/de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: Pascal Deneaux\n"
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
Expand Down Expand Up @@ -702,6 +702,7 @@ msgstr "Konnte keinen RX Buffer allozieren"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr "Konnte keine RX Buffer mit %d allozieren"
Expand Down Expand Up @@ -1168,6 +1169,10 @@ msgstr "Zugang verweigert"
msgid "Pin does not have ADC capabilities"
msgstr "Pin hat keine ADC Funktionalität"

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
msgid "Plus any modules on the filesystem\n"
msgstr "und alle Module im Dateisystem \n"
Expand All @@ -1190,10 +1195,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr "Pull wird nicht verwendet, wenn die Richtung output ist."

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2237,7 +2238,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr "index außerhalb der Reichweite"

Expand Down Expand Up @@ -2731,6 +2733,7 @@ msgstr "pixel_shader muss displayio.Palette oder displayio.ColorConverter sein"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr "pop von einem leeren PulseIn"

Expand Down Expand Up @@ -2964,6 +2967,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr "tx und rx können nicht beide None sein"

Expand Down
16 changes: 10 additions & 6 deletions locale/en_US.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -698,6 +698,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr ""
Expand Down Expand Up @@ -1153,6 +1154,10 @@ msgstr ""
msgid "Pin does not have ADC capabilities"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
msgid "Plus any modules on the filesystem\n"
msgstr ""
Expand All @@ -1173,10 +1178,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2207,7 +2208,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr ""

Expand Down Expand Up @@ -2693,6 +2695,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr ""

Expand Down Expand Up @@ -2923,6 +2926,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr ""

Expand Down
16 changes: 10 additions & 6 deletions locale/en_x_pirate.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: @sommersoft, @MrCertainly\n"
Expand Down Expand Up @@ -702,6 +702,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr ""
Expand Down Expand Up @@ -1157,6 +1158,10 @@ msgstr ""
msgid "Pin does not have ADC capabilities"
msgstr "Belay that! Th' Pin be not ADC capable"

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
msgid "Plus any modules on the filesystem\n"
msgstr ""
Expand All @@ -1177,10 +1182,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2211,7 +2212,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr ""

Expand Down Expand Up @@ -2697,6 +2699,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr ""

Expand Down Expand Up @@ -2927,6 +2930,7 @@ msgstr ""

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr ""

Expand Down
16 changes: 10 additions & 6 deletions locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
"Last-Translator: \n"
"Language-Team: \n"
Expand Down Expand Up @@ -704,6 +704,7 @@ msgstr "Ha fallado la asignación del buffer RX"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
#, c-format
msgid "Failed to allocate RX buffer of %d bytes"
msgstr "Falló la asignación del buffer RX de %d bytes"
Expand Down Expand Up @@ -1167,6 +1168,10 @@ msgstr "Permiso denegado"
msgid "Pin does not have ADC capabilities"
msgstr "Pin no tiene capacidad ADC"

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "Pin number already reserved by EXTI"
msgstr ""

#: py/builtinhelp.c
#, fuzzy
msgid "Plus any modules on the filesystem\n"
Expand All @@ -1189,10 +1194,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr "Pull no se usa cuando la dirección es output."

#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "PulseIn not yet supported"
msgstr ""

#: ports/stm32f4/common-hal/pulseio/PulseOut.c
msgid "PulseOut not supported on this chip"
msgstr ""
Expand Down Expand Up @@ -2238,7 +2239,8 @@ msgstr ""

#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
msgid "index out of range"
msgstr "index fuera de rango"

Expand Down Expand Up @@ -2731,6 +2733,7 @@ msgstr "pixel_shader debe ser displayio.Palette o displayio.ColorConverter"
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
msgid "pop from an empty PulseIn"
msgstr "pop de un PulseIn vacío"

Expand Down Expand Up @@ -2964,6 +2967,7 @@ msgstr "tuple/lista se require en RHS"

#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
#: shared-bindings/busio/UART.c
msgid "tx and rx cannot both be None"
msgstr "Ambos tx y rx no pueden ser None"

Expand Down
Loading