Skip to content

Commit a4dda3a

Browse files
authored
Merge branch 'main' into issue_4111
2 parents c5c297d + 7970c88 commit a4dda3a

File tree

160 files changed

+8553
-1317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+8553
-1317
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug'
6+
assignees: ''
7+
8+
---
9+
10+
<!-- Thanks! for testing out CircuitPython. Now that you have got a problem...
11+
you can file a bug report for it. Feel free to modify the below format to better
12+
suit your issue. :) -->
13+
14+
**Firmware**
15+
16+
<!-- Include the version of CircuitPython you're running. You can see it in the
17+
`boot_out.txt` file, as well as in the REPL. -->
18+
19+
```python
20+
Adafruit CircuitPython 6.2.0-beta.2 on 2021-03-01; Raspberry Pi Pico with rp2040
21+
```
22+
23+
**Code/REPL**
24+
25+
<!-- Include your code that reproduces the bug here. Try to distill down to the
26+
minimum possible to reproduce. -->
27+
28+
```python
29+
import busio, bitbangio
30+
i2c = bitbangio.I2C(board.GP1, board.GP0)
31+
```
32+
33+
**Behavior**
34+
35+
<!-- What happens when you run the code above? Include any error messages. -->
36+
37+
```python
38+
Traceback (most recent call last):
39+
File "<stdin>", line 1, in <module>
40+
TimeoutError: Clock stretch too long
41+
```
42+
43+
**Description**
44+
45+
<!-- Optionally, describe the issue in more detail. Here are some examples: -->
46+
47+
- Error while using i2c...
48+
- Only happens when...
49+
- might be related to #4291...
50+
51+
**Additional Info**
52+
53+
<!-- Optionally, add any other information like hardware connection, scope output etc.
54+
If you have already done some debugging, mention it here. -->
55+
56+
Removing [this](url) line resolves the issue.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
contact_links:
2+
- name: Adafruit Forum
3+
url: https://forums.adafruit.com/
4+
about: Official Adafruit technical support forum. Good for getting help on getting a project working.
5+
- name: Adafruit Discord
6+
url: https://adafru.it/discord
7+
about: Unofficial chat with many helpful folks and normally prompt replies.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement'
6+
assignees: ''
7+
8+
---
9+
10+
<!-- We are always adding new features and enhancements to CircuitPython 🚀
11+
and would love ❤ to see what new challenge you have got for us... 🙂 -->

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ jobs:
475475
id: idf-cache
476476
with:
477477
path: ${{ github.workspace }}/.idf_tools
478-
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210128
478+
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210303
479479
- name: Clone IDF submodules
480480
run: |
481481
(cd $IDF_PATH && git submodule update --init)

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@
150150
# directories to ignore when looking for source files.
151151
exclude_patterns = ["**/build*",
152152
".git",
153+
".github",
153154
".env",
154155
".venv",
155156
".direnv",

lib/tinyusb

Submodule tinyusb updated 352 files

locale/ID.po

Lines changed: 67 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ msgstr "%q harus >= 1"
107107
msgid "%q must be a tuple of length 2"
108108
msgstr "%q harus berupa tuple dengan panjang 2"
109109

110+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
110111
#: shared-bindings/canio/Match.c
111112
msgid "%q out of range"
112113
msgstr "%q di luar jangkauan"
@@ -337,6 +338,7 @@ msgid "All SPI peripherals are in use"
337338
msgstr "Semua perangkat SPI sedang digunakan"
338339

339340
#: ports/esp32s2/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
341+
#: ports/raspberrypi/common-hal/busio/UART.c
340342
msgid "All UART peripherals are in use"
341343
msgstr "Semua perangkat UART sedang digunakan"
342344

@@ -460,6 +462,10 @@ msgstr ""
460462
msgid "Below minimum frame rate"
461463
msgstr "Di bawah frame rate minimum"
462464

465+
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
466+
msgid "Bit clock and word select must be sequential pins"
467+
msgstr ""
468+
463469
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
464470
msgid "Bit clock and word select must share a clock unit"
465471
msgstr "Bit clock dan word harus memiliki kesamaan pada clock unit"
@@ -501,6 +507,10 @@ msgstr "Brightness tidak bisa disesuaikan"
501507
msgid "Buffer + offset too small %d %d %d"
502508
msgstr "Buffer + offset terlalu kecil %d %d %d"
503509

510+
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
511+
msgid "Buffer elements must be 4 bytes long or less"
512+
msgstr ""
513+
504514
#: shared-module/usb_hid/Device.c
505515
#, c-format
506516
msgid "Buffer incorrect size. Should be %d bytes."
@@ -962,6 +972,7 @@ msgid "Failed to acquire mutex, err 0x%04x"
962972
msgstr "Gagal untuk mendapatkan mutex, status: 0x%08lX"
963973

964974
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
975+
#: ports/raspberrypi/common-hal/busio/UART.c
965976
msgid "Failed to allocate RX buffer"
966977
msgstr "Gagal untuk mengalokasikan buffer RX"
967978

@@ -1093,6 +1104,10 @@ msgstr ""
10931104
msgid "IV must be %d bytes long"
10941105
msgstr "Panjang IV harus %d byte"
10951106

1107+
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
1108+
msgid "In-buffer elements must be <= 4 bytes long"
1109+
msgstr ""
1110+
10961111
#: py/persistentcode.c
10971112
msgid ""
10981113
"Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
@@ -1109,6 +1124,14 @@ msgstr "Ukuran penyangga salah"
11091124
msgid "Init program size invalid"
11101125
msgstr ""
11111126

1127+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
1128+
msgid "Initial set pin direction conflicts with initial out pin direction"
1129+
msgstr ""
1130+
1131+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
1132+
msgid "Initial set pin state conflicts with initial out pin state"
1133+
msgstr ""
1134+
11121135
#: ports/esp32s2/common-hal/watchdog/WatchDogTimer.c
11131136
msgid "Initialization failed due to lack of memory"
11141137
msgstr ""
@@ -1219,7 +1242,8 @@ msgstr "Argumen tidak valid"
12191242
msgid "Invalid bits per value"
12201243
msgstr "Bit per nilai tidak valid"
12211244

1222-
#: ports/nrf/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
1245+
#: ports/nrf/common-hal/busio/UART.c ports/raspberrypi/common-hal/busio/UART.c
1246+
#: ports/stm/common-hal/busio/UART.c
12231247
msgid "Invalid buffer size"
12241248
msgstr "Ukuran buffer tidak valid"
12251249

@@ -1294,10 +1318,10 @@ msgstr "Pin untuk channel kanan tidak valid"
12941318
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/busio/SPI.c
12951319
#: ports/esp32s2/common-hal/busio/UART.c ports/esp32s2/common-hal/canio/CAN.c
12961320
#: ports/mimxrt10xx/common-hal/busio/I2C.c
1297-
#: ports/mimxrt10xx/common-hal/busio/SPI.c
1298-
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/I2C.c
1321+
#: ports/mimxrt10xx/common-hal/busio/SPI.c ports/nrf/common-hal/busio/I2C.c
12991322
#: ports/raspberrypi/common-hal/busio/I2C.c
13001323
#: ports/raspberrypi/common-hal/busio/SPI.c
1324+
#: ports/raspberrypi/common-hal/busio/UART.c
13011325
msgid "Invalid pins"
13021326
msgstr "Pin-pin tidak valid"
13031327

@@ -1346,7 +1370,8 @@ msgstr "Hitungan suara tidak valid"
13461370
msgid "Invalid wave file"
13471371
msgstr "File wave tidak valid"
13481372

1349-
#: ports/stm/common-hal/busio/UART.c
1373+
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
1374+
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
13501375
msgid "Invalid word/bit length"
13511376
msgstr "Panjang kata/bit tidak valid"
13521377

@@ -1473,6 +1498,7 @@ msgstr "Tidak ada DAC (Digital Analog Converter) di dalam chip"
14731498

14741499
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
14751500
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
1501+
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
14761502
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
14771503
msgid "No DMA channel found"
14781504
msgstr "tidak ada channel DMA ditemukan"
@@ -1539,6 +1565,14 @@ msgstr "Tidak ada dukungan perangkat keras pada pin clk"
15391565
msgid "No hardware support on pin"
15401566
msgstr "Tidak ada dukungan hardware untuk pin"
15411567

1568+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
1569+
msgid "No in in program"
1570+
msgstr ""
1571+
1572+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
1573+
msgid "No in or out in program"
1574+
msgstr ""
1575+
15421576
#: shared-bindings/aesio/aes.c
15431577
msgid "No key was specified"
15441578
msgstr "Tidak ada kunci yang ditentukan"
@@ -1627,13 +1661,10 @@ msgid "Odd parity is not supported"
16271661
msgstr "Parity ganjil tidak didukung"
16281662

16291663
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
1664+
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c
16301665
msgid "Only 8 or 16 bit mono with "
16311666
msgstr "Hanya 8 atau 16 bit mono dengan "
16321667

1633-
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
1634-
msgid "Only IN/OUT of up to 8 supported"
1635-
msgstr ""
1636-
16371668
#: ports/esp32s2/common-hal/wifi/__init__.c
16381669
msgid "Only IPv4 addresses supported"
16391670
msgstr ""
@@ -1691,6 +1722,10 @@ msgstr ""
16911722
msgid "Out of sockets"
16921723
msgstr ""
16931724

1725+
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
1726+
msgid "Out-buffer elements must be <= 4 bytes long"
1727+
msgstr ""
1728+
16941729
#: shared-bindings/bitops/__init__.c
16951730
#, c-format
16961731
msgid "Output buffer must be at least %d bytes"
@@ -1716,6 +1751,14 @@ msgstr ""
17161751
"Frekuensi PWM tidak dapat ditulis ketika variabel_frequency Salah pada "
17171752
"konstruksi."
17181753

1754+
#: ports/raspberrypi/common-hal/countio/Counter.c
1755+
msgid "PWM slice already in use"
1756+
msgstr ""
1757+
1758+
#: ports/raspberrypi/common-hal/countio/Counter.c
1759+
msgid "PWM slice channel A already in use"
1760+
msgstr ""
1761+
17191762
#: ports/mimxrt10xx/common-hal/displayio/ParallelBus.c
17201763
#: ports/raspberrypi/common-hal/displayio/ParallelBus.c
17211764
#: ports/stm/common-hal/displayio/ParallelBus.c
@@ -1753,6 +1796,10 @@ msgstr "Pin tidak mempunya kemampuan untuk ADC (Analog Digital Converter)"
17531796
msgid "Pin is input only"
17541797
msgstr ""
17551798

1799+
#: ports/raspberrypi/common-hal/countio/Counter.c
1800+
msgid "Pin must be on PWM Channel B"
1801+
msgstr ""
1802+
17561803
#: ports/atmel-samd/common-hal/countio/Counter.c
17571804
msgid "Pin must support hardware interrupts"
17581805
msgstr "Pin harus mendukung interupsi perangkat keras"
@@ -1847,7 +1894,7 @@ msgstr "Kesalahan DeInit RNG"
18471894
msgid "RNG Init Error"
18481895
msgstr "Kesalahan Init RNG"
18491896

1850-
#: ports/nrf/common-hal/busio/UART.c
1897+
#: ports/nrf/common-hal/busio/UART.c ports/raspberrypi/common-hal/busio/UART.c
18511898
msgid "RS485 Not yet supported on this device"
18521899
msgstr ""
18531900

@@ -1884,7 +1931,7 @@ msgstr "Baca-saja"
18841931
msgid "Read-only filesystem"
18851932
msgstr "sistem file (filesystem) bersifat Read-only"
18861933

1887-
#: shared-module/displayio/Bitmap.c
1934+
#: shared-module/bitmaptools/__init__.c shared-module/displayio/Bitmap.c
18881935
#, fuzzy
18891936
msgid "Read-only object"
18901937
msgstr "sistem file (filesystem) bersifat Read-only"
@@ -2125,6 +2172,7 @@ msgid "To exit, please reset the board without "
21252172
msgstr "Untuk keluar, silahkan reset board tanpa "
21262173

21272174
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
2175+
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
21282176
msgid "Too many channels in sample."
21292177
msgstr "Terlalu banyak channel dalam sampel"
21302178

@@ -2165,10 +2213,6 @@ msgstr "Kesalahan Init UART"
21652213
msgid "UART Re-init error"
21662214
msgstr "Kesalahan Re-init UART"
21672215

2168-
#: ports/raspberrypi/common-hal/busio/UART.c
2169-
msgid "UART not yet supported"
2170-
msgstr ""
2171-
21722216
#: ports/stm/common-hal/busio/UART.c
21732217
msgid "UART write error"
21742218
msgstr "Kesalahan penulisan UART"
@@ -2195,6 +2239,7 @@ msgstr "Nilai UUID bukan str, int atau byte buffer"
21952239

21962240
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
21972241
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
2242+
#: ports/raspberrypi/common-hal/audiobusio/I2SOut.c
21982243
#: ports/raspberrypi/common-hal/audiopwmio/PWMAudioOut.c
21992244
msgid "Unable to allocate buffers for signed conversion"
22002245
msgstr "Tidak dapat mengalokasikan buffer untuk signed conversion"
@@ -2505,7 +2550,7 @@ msgid "binary op %q not implemented"
25052550
msgstr ""
25062551

25072552
#: shared-bindings/busio/UART.c
2508-
msgid "bits must be 7, 8 or 9"
2553+
msgid "bits must be in range 5 to 9"
25092554
msgstr ""
25102555

25112556
#: shared-bindings/audiomixer/Mixer.c
@@ -2734,6 +2779,10 @@ msgstr ""
27342779
msgid "circle can only be registered in one parent"
27352780
msgstr ""
27362781

2782+
#: shared-bindings/bitmaptools/__init__.c
2783+
msgid "clip point must be (x,y) tuple"
2784+
msgstr ""
2785+
27372786
#: shared-bindings/msgpack/ExtType.c
27382787
msgid "code outside range 0~127"
27392788
msgstr ""
@@ -3734,6 +3783,7 @@ msgstr ""
37343783
#: ports/esp32s2/boards/targett_module_clip_wrover/mpconfigboard.h
37353784
#: ports/esp32s2/boards/unexpectedmaker_feathers2/mpconfigboard.h
37363785
#: ports/esp32s2/boards/unexpectedmaker_feathers2_prerelease/mpconfigboard.h
3786+
#: ports/esp32s2/boards/unexpectedmaker_tinys2/mpconfigboard.h
37373787
msgid "pressing boot button at start up.\n"
37383788
msgstr ""
37393789

@@ -3811,6 +3861,7 @@ msgid ""
38113861
msgstr ""
38123862

38133863
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
3864+
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c
38143865
msgid "sampling rate out of range"
38153866
msgstr "nilai sampling keluar dari jangkauan"
38163867

@@ -3882,7 +3933,7 @@ msgstr ""
38823933
msgid "sosfilt requires iterable arguments"
38833934
msgstr ""
38843935

3885-
#: shared-bindings/displayio/Bitmap.c
3936+
#: shared-bindings/bitmaptools/__init__.c shared-bindings/displayio/Bitmap.c
38863937
msgid "source palette too large"
38873938
msgstr ""
38883939

0 commit comments

Comments
 (0)