Skip to content

Commit dd21ec0

Browse files
authored
Merge pull request #2697 from hierophect/stm32-pulsein
STM32: add PulseIn module
2 parents d988af0 + 0155fab commit dd21ec0

File tree

16 files changed

+368
-86
lines changed

16 files changed

+368
-86
lines changed

locale/ID.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
11+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -709,6 +709,7 @@ msgstr "Gagal untuk mengalokasikan buffer RX"
709709
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
710710
#: ports/cxd56/common-hal/pulseio/PulseIn.c
711711
#: ports/nrf/common-hal/pulseio/PulseIn.c
712+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
712713
#, c-format
713714
msgid "Failed to allocate RX buffer of %d bytes"
714715
msgstr "Gagal untuk megalokasikan buffer RX dari %d byte"
@@ -1165,6 +1166,10 @@ msgstr ""
11651166
msgid "Pin does not have ADC capabilities"
11661167
msgstr "Pin tidak mempunya kemampuan untuk ADC (Analog Digital Converter)"
11671168

1169+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1170+
msgid "Pin number already reserved by EXTI"
1171+
msgstr ""
1172+
11681173
#: py/builtinhelp.c
11691174
msgid "Plus any modules on the filesystem\n"
11701175
msgstr "Tambahkan module apapun pada filesystem\n"
@@ -1187,10 +1192,6 @@ msgstr ""
11871192
msgid "Pull not used when direction is output."
11881193
msgstr ""
11891194

1190-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1191-
msgid "PulseIn not yet supported"
1192-
msgstr ""
1193-
11941195
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11951196
msgid "PulseOut not supported on this chip"
11961197
msgstr ""
@@ -2231,7 +2232,8 @@ msgstr ""
22312232

22322233
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22332234
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2234-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2235+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2236+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22352237
msgid "index out of range"
22362238
msgstr "index keluar dari jangkauan"
22372239

@@ -2718,6 +2720,7 @@ msgstr ""
27182720
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
27192721
#: ports/cxd56/common-hal/pulseio/PulseIn.c
27202722
#: ports/nrf/common-hal/pulseio/PulseIn.c
2723+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
27212724
msgid "pop from an empty PulseIn"
27222725
msgstr "Muncul dari PulseIn yang kosong"
27232726

@@ -2949,6 +2952,7 @@ msgstr ""
29492952

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

locale/circuitpython.pot

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
11+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -698,6 +698,7 @@ msgstr ""
698698
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
699699
#: ports/cxd56/common-hal/pulseio/PulseIn.c
700700
#: ports/nrf/common-hal/pulseio/PulseIn.c
701+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
701702
#, c-format
702703
msgid "Failed to allocate RX buffer of %d bytes"
703704
msgstr ""
@@ -1153,6 +1154,10 @@ msgstr ""
11531154
msgid "Pin does not have ADC capabilities"
11541155
msgstr ""
11551156

1157+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1158+
msgid "Pin number already reserved by EXTI"
1159+
msgstr ""
1160+
11561161
#: py/builtinhelp.c
11571162
msgid "Plus any modules on the filesystem\n"
11581163
msgstr ""
@@ -1173,10 +1178,6 @@ msgstr ""
11731178
msgid "Pull not used when direction is output."
11741179
msgstr ""
11751180

1176-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1177-
msgid "PulseIn not yet supported"
1178-
msgstr ""
1179-
11801181
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11811182
msgid "PulseOut not supported on this chip"
11821183
msgstr ""
@@ -2207,7 +2208,8 @@ msgstr ""
22072208

22082209
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22092210
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2210-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2211+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2212+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22112213
msgid "index out of range"
22122214
msgstr ""
22132215

@@ -2693,6 +2695,7 @@ msgstr ""
26932695
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
26942696
#: ports/cxd56/common-hal/pulseio/PulseIn.c
26952697
#: ports/nrf/common-hal/pulseio/PulseIn.c
2698+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
26962699
msgid "pop from an empty PulseIn"
26972700
msgstr ""
26982701

@@ -2923,6 +2926,7 @@ msgstr ""
29232926

29242927
#: ports/atmel-samd/common-hal/busio/UART.c
29252928
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
2929+
#: shared-bindings/busio/UART.c
29262930
msgid "tx and rx cannot both be None"
29272931
msgstr ""
29282932

locale/de_DE.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
10+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Pascal Deneaux\n"
1313
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@@ -702,6 +702,7 @@ msgstr "Konnte keinen RX Buffer allozieren"
702702
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
703703
#: ports/cxd56/common-hal/pulseio/PulseIn.c
704704
#: ports/nrf/common-hal/pulseio/PulseIn.c
705+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
705706
#, c-format
706707
msgid "Failed to allocate RX buffer of %d bytes"
707708
msgstr "Konnte keine RX Buffer mit %d allozieren"
@@ -1168,6 +1169,10 @@ msgstr "Zugang verweigert"
11681169
msgid "Pin does not have ADC capabilities"
11691170
msgstr "Pin hat keine ADC Funktionalität"
11701171

1172+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1173+
msgid "Pin number already reserved by EXTI"
1174+
msgstr ""
1175+
11711176
#: py/builtinhelp.c
11721177
msgid "Plus any modules on the filesystem\n"
11731178
msgstr "und alle Module im Dateisystem \n"
@@ -1190,10 +1195,6 @@ msgstr ""
11901195
msgid "Pull not used when direction is output."
11911196
msgstr "Pull wird nicht verwendet, wenn die Richtung output ist."
11921197

1193-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1194-
msgid "PulseIn not yet supported"
1195-
msgstr ""
1196-
11971198
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11981199
msgid "PulseOut not supported on this chip"
11991200
msgstr ""
@@ -2237,7 +2238,8 @@ msgstr ""
22372238

22382239
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22392240
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2240-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2241+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2242+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22412243
msgid "index out of range"
22422244
msgstr "index außerhalb der Reichweite"
22432245

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

@@ -2964,6 +2967,7 @@ msgstr ""
29642967

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

locale/en_US.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
10+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -698,6 +698,7 @@ msgstr ""
698698
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
699699
#: ports/cxd56/common-hal/pulseio/PulseIn.c
700700
#: ports/nrf/common-hal/pulseio/PulseIn.c
701+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
701702
#, c-format
702703
msgid "Failed to allocate RX buffer of %d bytes"
703704
msgstr ""
@@ -1153,6 +1154,10 @@ msgstr ""
11531154
msgid "Pin does not have ADC capabilities"
11541155
msgstr ""
11551156

1157+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1158+
msgid "Pin number already reserved by EXTI"
1159+
msgstr ""
1160+
11561161
#: py/builtinhelp.c
11571162
msgid "Plus any modules on the filesystem\n"
11581163
msgstr ""
@@ -1173,10 +1178,6 @@ msgstr ""
11731178
msgid "Pull not used when direction is output."
11741179
msgstr ""
11751180

1176-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1177-
msgid "PulseIn not yet supported"
1178-
msgstr ""
1179-
11801181
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11811182
msgid "PulseOut not supported on this chip"
11821183
msgstr ""
@@ -2207,7 +2208,8 @@ msgstr ""
22072208

22082209
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22092210
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2210-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2211+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2212+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22112213
msgid "index out of range"
22122214
msgstr ""
22132215

@@ -2693,6 +2695,7 @@ msgstr ""
26932695
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
26942696
#: ports/cxd56/common-hal/pulseio/PulseIn.c
26952697
#: ports/nrf/common-hal/pulseio/PulseIn.c
2698+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
26962699
msgid "pop from an empty PulseIn"
26972700
msgstr ""
26982701

@@ -2923,6 +2926,7 @@ msgstr ""
29232926

29242927
#: ports/atmel-samd/common-hal/busio/UART.c
29252928
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
2929+
#: shared-bindings/busio/UART.c
29262930
msgid "tx and rx cannot both be None"
29272931
msgstr ""
29282932

locale/en_x_pirate.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
10+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -702,6 +702,7 @@ msgstr ""
702702
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
703703
#: ports/cxd56/common-hal/pulseio/PulseIn.c
704704
#: ports/nrf/common-hal/pulseio/PulseIn.c
705+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
705706
#, c-format
706707
msgid "Failed to allocate RX buffer of %d bytes"
707708
msgstr ""
@@ -1157,6 +1158,10 @@ msgstr ""
11571158
msgid "Pin does not have ADC capabilities"
11581159
msgstr "Belay that! Th' Pin be not ADC capable"
11591160

1161+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1162+
msgid "Pin number already reserved by EXTI"
1163+
msgstr ""
1164+
11601165
#: py/builtinhelp.c
11611166
msgid "Plus any modules on the filesystem\n"
11621167
msgstr ""
@@ -1177,10 +1182,6 @@ msgstr ""
11771182
msgid "Pull not used when direction is output."
11781183
msgstr ""
11791184

1180-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1181-
msgid "PulseIn not yet supported"
1182-
msgstr ""
1183-
11841185
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11851186
msgid "PulseOut not supported on this chip"
11861187
msgstr ""
@@ -2211,7 +2212,8 @@ msgstr ""
22112212

22122213
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22132214
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2214-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2215+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2216+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22152217
msgid "index out of range"
22162218
msgstr ""
22172219

@@ -2697,6 +2699,7 @@ msgstr ""
26972699
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
26982700
#: ports/cxd56/common-hal/pulseio/PulseIn.c
26992701
#: ports/nrf/common-hal/pulseio/PulseIn.c
2702+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
27002703
msgid "pop from an empty PulseIn"
27012704
msgstr ""
27022705

@@ -2927,6 +2930,7 @@ msgstr ""
29272930

29282931
#: ports/atmel-samd/common-hal/busio/UART.c
29292932
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
2933+
#: shared-bindings/busio/UART.c
29302934
msgid "tx and rx cannot both be None"
29312935
msgstr ""
29322936

locale/es.po

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2020-03-09 08:19-0500\n"
10+
"POT-Creation-Date: 2020-03-11 17:52-0400\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -704,6 +704,7 @@ msgstr "Ha fallado la asignación del buffer RX"
704704
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
705705
#: ports/cxd56/common-hal/pulseio/PulseIn.c
706706
#: ports/nrf/common-hal/pulseio/PulseIn.c
707+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
707708
#, c-format
708709
msgid "Failed to allocate RX buffer of %d bytes"
709710
msgstr "Falló la asignación del buffer RX de %d bytes"
@@ -1167,6 +1168,10 @@ msgstr "Permiso denegado"
11671168
msgid "Pin does not have ADC capabilities"
11681169
msgstr "Pin no tiene capacidad ADC"
11691170

1171+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1172+
msgid "Pin number already reserved by EXTI"
1173+
msgstr ""
1174+
11701175
#: py/builtinhelp.c
11711176
#, fuzzy
11721177
msgid "Plus any modules on the filesystem\n"
@@ -1189,10 +1194,6 @@ msgstr ""
11891194
msgid "Pull not used when direction is output."
11901195
msgstr "Pull no se usa cuando la dirección es output."
11911196

1192-
#: ports/stm32f4/common-hal/pulseio/PulseIn.c
1193-
msgid "PulseIn not yet supported"
1194-
msgstr ""
1195-
11961197
#: ports/stm32f4/common-hal/pulseio/PulseOut.c
11971198
msgid "PulseOut not supported on this chip"
11981199
msgstr ""
@@ -2238,7 +2239,8 @@ msgstr ""
22382239

22392240
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
22402241
#: ports/cxd56/common-hal/pulseio/PulseIn.c
2241-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2242+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2243+
#: ports/stm32f4/common-hal/pulseio/PulseIn.c py/obj.c
22422244
msgid "index out of range"
22432245
msgstr "index fuera de rango"
22442246

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

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

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

0 commit comments

Comments
 (0)