Skip to content

Commit 9f6a518

Browse files
committed
Merge branch 'main' into if57_update
2 parents 767be33 + 666fb94 commit 9f6a518

218 files changed

Lines changed: 17252 additions & 1718 deletions

File tree

Some content is hidden

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

.github/workflows/build-mpy-cross.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@ jobs:
4343

4444
- name: Install toolchain (aarch64)
4545
if: matrix.mpy-cross == 'static-aarch64'
46-
run: sudo apt-get install -y gcc-aarch64-linux-gnu
46+
run: |
47+
sudo apt-get update
48+
sudo apt-get install -y gcc-aarch64-linux-gnu
4749
- name: Install toolchain (mingw)
4850
if: matrix.mpy-cross == 'static-mingw'
49-
run: sudo apt-get install -y mingw-w64
51+
run: |
52+
sudo apt-get update
53+
sudo apt-get install -y mingw-w64
5054
5155
- name: Build mpy-cross.${{ matrix.mpy-cross }}
5256
run: make -C mpy-cross -j2 -f Makefile.${{ matrix.mpy-cross }}

BUILDING.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,11 @@ This project has a bunch of git submodules. You will need to update them regula
2727

2828
In the root folder of the CircuitPython repository, execute the following:
2929

30-
make fetch-submodules
30+
make fetch-all-submodules
31+
32+
Or, in the ports directory for the particular port you are building, do:
33+
34+
make fetch-port-submodules
3135

3236
### Required Python Packages
3337

Makefile

Lines changed: 8 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ TRANSLATE_SOURCES_EXC = -path "ports/*/build-*" \
6161

6262
help:
6363
@echo "Please use \`make <target>' where <target> is one of"
64-
@echo " fetch-submodules to fetch dependencies from submodules, run this right after you clone the repo"
6564
@echo " html to make standalone HTML files"
6665
@echo " dirhtml to make HTML files named index.html in directories"
6766
@echo " singlehtml to make a single large HTML file"
@@ -84,6 +83,8 @@ help:
8483
@echo " pseudoxml to make pseudoxml-XML files for display purposes"
8584
@echo " linkcheck to check all external links for integrity"
8685
@echo " doctest to run all doctests embedded in the documentation (if enabled)"
86+
@echo " fetch-all-submodules to fetch submodules for all ports"
87+
@echo " remove-all-submodules remove all submodules, including files and .git/ data"
8788

8889
clean:
8990
rm -rf $(BUILDDIR)/*
@@ -324,25 +325,12 @@ clean-stm:
324325
$(MAKE) -C ports/stm BOARD=feather_stm32f405_express clean
325326

326327

327-
# If available, do blobless partial clones of submodules to save time and space.
328-
# A blobless partial clone lazily fetches data as needed, but has all the metadata available (tags, etc.)
329-
# so it does not have the idiosyncrasies of a shallow clone.
330-
#
331-
# If not available, do a fetch that will fail, and then fix it up with a second fetch.
332-
# (Only works for git servers that allow sha fetches.)
333-
.PHONY: fetch-submodules
334-
fetch-submodules:
335-
git submodule sync
336-
#####################################################################################
337-
# NOTE: Ideally, use git version 2.36.0 or later, to do partial clones of submodules.
338-
# If an older git is used, submodules will be cloned with a shallow clone of depth 1.
339-
# You will see a git usage message first if the git version is too old to do
340-
# clones of submodules.
341-
#####################################################################################
342-
git submodule update --init --filter=blob:none || git submodule update --init -N --depth 1 || git submodule foreach 'git fetch --tags --depth 1 origin $$sha1 && git checkout -q $$sha1' || echo 'make fetch-submodules FAILED'
343-
344-
.PHONY: remove-submodules
345-
remove-submodules:
328+
.PHONY: fetch-all-submodules
329+
fetch-all-submodules:
330+
tools/fetch-submodules.sh
331+
332+
.PHONY: remove-all-submodules
333+
remove-all-submodules:
346334
git submodule deinit -f --all
347335
rm -rf .git/modules/*
348336

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ litex alpha
235235
mimxrt10xx alpha
236236
nrf stable
237237
raspberrypi stable
238+
efr32 alpha
238239
stm ``F4`` stable | ``others`` beta
239240
unix alpha
240241
================ ============================================================

extmod/moductypes.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t base_in, mp_obj_t index_in, mp_ob
544544
}
545545

546546
} else if (agg_type == PTR) {
547-
byte *p = *(void **)self->addr;
547+
byte *p = *(void **)(void *)self->addr;
548548
if (mp_obj_is_small_int(t->items[1])) {
549549
uint val_type = GET_TYPE(MP_OBJ_SMALL_INT_VALUE(t->items[1]), VAL_TYPE_BITS);
550550
return get_aligned(val_type, p, index);
@@ -574,7 +574,7 @@ STATIC mp_obj_t uctypes_struct_unary_op(mp_unary_op_t op, mp_obj_t self_in) {
574574
mp_int_t offset = MP_OBJ_SMALL_INT_VALUE(t->items[0]);
575575
uint agg_type = GET_TYPE(offset, AGG_TYPE_BITS);
576576
if (agg_type == PTR) {
577-
byte *p = *(void **)self->addr;
577+
byte *p = *(void **)(void *)self->addr;
578578
return mp_obj_new_int((mp_int_t)(uintptr_t)p);
579579
}
580580
}

locale/ID.po

Lines changed: 43 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ msgstr ""
66
"Project-Id-Version: PACKAGE VERSION\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
9-
"PO-Revision-Date: 2021-11-08 18:50+0000\n"
9+
"PO-Revision-Date: 2023-06-09 10:50+0000\n"
1010
"Last-Translator: Reza Almanda <rezaalmanda27@gmail.com>\n"
1111
"Language-Team: LANGUAGE <LL@li.org>\n"
1212
"Language: ID\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
1616
"Plural-Forms: nplurals=1; plural=0;\n"
17-
"X-Generator: Weblate 4.9-dev\n"
17+
"X-Generator: Weblate 4.18-dev\n"
1818

1919
#: main.c
2020
msgid ""
@@ -168,11 +168,15 @@ msgstr ""
168168
msgid "%q length must be >= %d"
169169
msgstr ""
170170

171-
#: ports/raspberrypi/common-hal/picodvi/Framebuffer.c py/argcheck.c
171+
#: py/argcheck.c
172172
msgid "%q must be %d"
173173
msgstr ""
174174

175175
#: py/argcheck.c shared-bindings/displayio/Bitmap.c
176+
#: shared-bindings/displayio/Display.c
177+
#: shared-bindings/framebufferio/FramebufferDisplay.c
178+
#: shared-bindings/is31fl3741/FrameBuffer.c
179+
#: shared-bindings/rgbmatrix/RGBMatrix.c
176180
msgid "%q must be %d-%d"
177181
msgstr "%q harus %d-%d"
178182

@@ -206,10 +210,11 @@ msgstr ""
206210

207211
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
208212
#: shared-bindings/canio/CAN.c shared-bindings/digitalio/Pull.c
213+
#: shared-module/synthio/Synthesizer.c
209214
msgid "%q must be of type %q or %q, not %q"
210215
msgstr ""
211216

212-
#: py/argcheck.c py/obj.c py/objstrunicode.c
217+
#: py/argcheck.c py/obj.c py/objstrunicode.c shared-module/synthio/__init__.c
213218
msgid "%q must be of type %q, not %q"
214219
msgstr ""
215220

@@ -428,6 +433,7 @@ msgid "Address must be %d bytes long"
428433
msgstr "Alamat harus sepanjang %d byte"
429434

430435
#: ports/espressif/common-hal/memorymap/AddressRange.c
436+
#: ports/nrf/common-hal/memorymap/AddressRange.c
431437
msgid "Address range not allowed"
432438
msgstr ""
433439

@@ -613,13 +619,6 @@ msgstr ""
613619
msgid "Both pins must support hardware interrupts"
614620
msgstr "Kedua pin harus mendukung hardware interrut"
615621

616-
#: shared-bindings/displayio/Display.c
617-
#: shared-bindings/framebufferio/FramebufferDisplay.c
618-
#: shared-bindings/is31fl3741/FrameBuffer.c
619-
#: shared-bindings/rgbmatrix/RGBMatrix.c
620-
msgid "Brightness must be 0-1.0"
621-
msgstr "Kecerahan harus di antara 0-1.0"
622-
623622
#: shared-bindings/displayio/Display.c
624623
#: shared-bindings/framebufferio/FramebufferDisplay.c
625624
msgid "Brightness not adjustable"
@@ -937,11 +936,6 @@ msgstr ""
937936
msgid "EXTINT channel already in use"
938937
msgstr "Channel EXTINT sedang digunakan"
939938

940-
#: shared-module/synthio/MidiTrack.c
941-
#, c-format
942-
msgid "Error in MIDI stream at position %d"
943-
msgstr ""
944-
945939
#: extmod/modure.c
946940
msgid "Error in regex"
947941
msgstr "Error pada regex"
@@ -1355,11 +1349,6 @@ msgstr ""
13551349
msgid "Mapping must be a tuple"
13561350
msgstr ""
13571351

1358-
#: shared-module/displayio/Shape.c
1359-
#, c-format
1360-
msgid "Maximum x value when mirrored is %d"
1361-
msgstr "Nilai x maksimum ketika dicerminkan adalah %d"
1362-
13631352
#: shared-bindings/audiobusio/PDMIn.c
13641353
msgid "Microphone startup delay must be in range 0.0 to 1.0"
13651354
msgstr "Penundaan mulai mikrofon harus dalam kisaran 0,0 hingga 1,0"
@@ -1453,6 +1442,10 @@ msgstr ""
14531442
msgid "Nimble out of memory"
14541443
msgstr ""
14551444

1445+
#: ports/atmel-samd/common-hal/busio/UART.c
1446+
msgid "No %q pin"
1447+
msgstr "Tidak pin %q"
1448+
14561449
#: ports/espressif/common-hal/_bleio/Characteristic.c
14571450
#: ports/nrf/common-hal/_bleio/Characteristic.c
14581451
msgid "No CCCD for this Characteristic"
@@ -1501,14 +1494,12 @@ msgstr "Tidak ada Pin MOSI"
15011494
msgid "No MOSI pin"
15021495
msgstr ""
15031496

1504-
#: ports/atmel-samd/common-hal/busio/UART.c
15051497
#: ports/espressif/common-hal/busio/UART.c
15061498
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
15071499
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
15081500
msgid "No RX pin"
15091501
msgstr "Tidak pin RX"
15101502

1511-
#: ports/atmel-samd/common-hal/busio/UART.c
15121503
#: ports/espressif/common-hal/busio/UART.c
15131504
#: ports/mimxrt10xx/common-hal/busio/UART.c ports/nrf/common-hal/busio/UART.c
15141505
#: ports/raspberrypi/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
@@ -2149,8 +2140,8 @@ msgstr "Diperlukan argumen Tuple atau struct_time"
21492140
msgid "UART de-init"
21502141
msgstr ""
21512142

2152-
#: ports/atmel-samd/common-hal/busio/UART.c ports/cxd56/common-hal/busio/UART.c
2153-
#: ports/espressif/common-hal/busio/UART.c ports/stm/common-hal/busio/UART.c
2143+
#: ports/cxd56/common-hal/busio/UART.c ports/espressif/common-hal/busio/UART.c
2144+
#: ports/stm/common-hal/busio/UART.c
21542145
msgid "UART init"
21552146
msgstr ""
21562147

@@ -2507,6 +2498,10 @@ msgstr "alamatnya kosong"
25072498
msgid "annotation must be an identifier"
25082499
msgstr ""
25092500

2501+
#: extmod/ulab/code/numpy/create.c
2502+
msgid "arange: cannot compute length"
2503+
msgstr ""
2504+
25102505
#: py/modbuiltins.c
25112506
msgid "arg is an empty sequence"
25122507
msgstr "arg berisi urutan kosong"
@@ -2679,6 +2674,10 @@ msgstr "hanya mampu memiliki hingga 4 parameter untuk Thumb assembly"
26792674
msgid "can only have up to 4 parameters to Xtensa assembly"
26802675
msgstr ""
26812676

2677+
#: extmod/ulab/code/ndarray.c
2678+
msgid "can only specify one unknown dimension"
2679+
msgstr ""
2680+
26822681
#: py/objtype.c
26832682
msgid "can't add special method to already-subclassed class"
26842683
msgstr ""
@@ -2830,6 +2829,10 @@ msgstr ""
28302829
msgid "cannot import name %q"
28312830
msgstr ""
28322831

2832+
#: extmod/ulab/code/ndarray.c
2833+
msgid "cannot reshape array"
2834+
msgstr ""
2835+
28332836
#: extmod/moductypes.c
28342837
msgid "cannot unambiguously get sizeof scalar"
28352838
msgstr ""
@@ -3279,10 +3282,6 @@ msgstr ""
32793282
msgid "inline assembler must be a function"
32803283
msgstr "inline assembler harus sebuah fungsi"
32813284

3282-
#: extmod/ulab/code/ndarray.c
3283-
msgid "input and output shapes are not compatible"
3284-
msgstr ""
3285-
32863285
#: extmod/ulab/code/numpy/create.c
32873286
msgid "input argument must be an integer, a tuple, or a list"
32883287
msgstr ""
@@ -3997,7 +3996,7 @@ msgid "set unsupported"
39973996
msgstr ""
39983997

39993998
#: extmod/ulab/code/ndarray.c
4000-
msgid "shape must be a tuple"
3999+
msgid "shape must be integer or tuple of integers"
40014000
msgstr ""
40024001

40034002
#: shared-module/msgpack/__init__.c
@@ -4365,24 +4364,16 @@ msgstr "jumlah argumen salah"
43654364

43664365
#: py/runtime.c
43674366
msgid "wrong number of values to unpack"
4368-
msgstr ""
4367+
msgstr "jumlah nilai yang salah untuk dibongkar"
43694368

43704369
#: extmod/ulab/code/numpy/vector.c
43714370
msgid "wrong output type"
43724371
msgstr "tipe output salah"
43734372

4374-
#: shared-module/displayio/Shape.c
4375-
msgid "x value out of bounds"
4376-
msgstr "nilai x di luar batas"
4377-
43784373
#: ports/espressif/common-hal/audiobusio/__init__.c
43794374
msgid "xTaskCreate failed"
43804375
msgstr "xTaskCreate gagal"
43814376

4382-
#: shared-module/displayio/Shape.c
4383-
msgid "y value out of bounds"
4384-
msgstr "Nilai y di luar batas"
4385-
43864377
#: extmod/ulab/code/scipy/signal/signal.c
43874378
msgid "zi must be an ndarray"
43884379
msgstr "zi harus ndarray"
@@ -4395,6 +4386,19 @@ msgstr "zi harus berjenis float"
43954386
msgid "zi must be of shape (n_section, 2)"
43964387
msgstr "Zi harus berbentuk (n_section, 2)"
43974388

4389+
#~ msgid "Brightness must be 0-1.0"
4390+
#~ msgstr "Kecerahan harus di antara 0-1.0"
4391+
4392+
#, c-format
4393+
#~ msgid "Maximum x value when mirrored is %d"
4394+
#~ msgstr "Nilai x maksimum ketika dicerminkan adalah %d"
4395+
4396+
#~ msgid "x value out of bounds"
4397+
#~ msgstr "nilai x di luar batas"
4398+
4399+
#~ msgid "y value out of bounds"
4400+
#~ msgstr "Nilai y di luar batas"
4401+
43984402
#~ msgid "No key was specified"
43994403
#~ msgstr "Tidak ada kunci yang ditentukan"
44004404

0 commit comments

Comments
 (0)