Skip to content

Commit d2e5173

Browse files
committed
Merge remote-tracking branch 'origin/audio_effects' into audio_effects
2 parents cca8d00 + af171da commit d2e5173

File tree

788 files changed

+9467
-7043
lines changed

Some content is hidden

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

788 files changed

+9467
-7043
lines changed

.git-blame-ignore-revs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# all: Prune trailing whitespace.
2+
dda9b9c6da5d3c31fa8769e581a753e95a270803
3+
4+
# all: Remove the "STATIC" macro and just use "static" instead.
5+
decf8e6a8bb940d5829ca3296790631fcece7b21
6+
7+
# renesas-ra: Fix spelling mistakes found by codespell.
8+
b3f2f18f927fa2fad10daf63d8c391331f5edf58
9+
110
# all: Update Python formatting to ruff-format.
211
bbd8760bd9a2302e5abee29db279102bb11d7732
312

.github/workflows/run-tests.yml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,16 @@ jobs:
5353
run: ./run-tests.py -j4 --print-failures
5454
if: failure()
5555
working-directory: tests
56-
- name: Build native modules
57-
if: matrix.test == 'all'
58-
run: |
59-
make -C examples/natmod/features1
60-
make -C examples/natmod/features2
61-
make -C examples/natmod/heapq
62-
make -C examples/natmod/random
63-
make -C examples/natmod/re
64-
- name: Test native modules
65-
if: matrix.test == 'all'
66-
run: ./run-natmodtests.py extmod/{heapq*,re*,zlib*}.py
67-
working-directory: tests
56+
# Not working after MicroPython v1.23 merge.
57+
# - name: Build native modules
58+
# if: matrix.test == 'all'
59+
# run: |
60+
# make -C examples/natmod/features1
61+
# make -C examples/natmod/features2
62+
# make -C examples/natmod/heapq
63+
# make -C examples/natmod/random
64+
# make -C examples/natmod/re
65+
# - name: Test native modules
66+
# if: matrix.test == 'all'
67+
# run: ./run-natmodtests.py extmod/{heapq*,random*,re*}.py
68+
# working-directory: tests

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
url = https://github.com/atgreen/libffi
1111
[submodule "lib/berkeley-db-1.xx"]
1212
path = lib/berkeley-db-1.xx
13-
url = https://github.com/pfalcon/berkeley-db-1.xx
13+
url = https://github.com/micropython/berkeley-db-1.xx
1414
[submodule "tools/uf2"]
1515
path = tools/uf2
1616
url = https://github.com/Microsoft/uf2.git
@@ -143,7 +143,7 @@
143143
[submodule "ports/espressif/esp-idf"]
144144
path = ports/espressif/esp-idf
145145
url = https://github.com/adafruit/esp-idf.git
146-
branch = circuitpython-v5.3
146+
branch = circuitpython-v5.3.1
147147
[submodule "ports/espressif/esp-protocols"]
148148
path = ports/espressif/esp-protocols
149149
url = https://github.com/espressif/esp-protocols.git

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ THE SOFTWARE.
2222

2323
--------------------------------------------------------------------------------
2424

25-
#CIRCUITPY-CHANGE:
25+
# CIRCUITPY-CHANGE:
2626

2727
Unless specified otherwise (see below), the above license and copyright applies
2828
to all files derived from MicroPython in this repository.

LICENSE_MicroPython

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2022 Damien P. George
3+
Copyright (c) 2013-2024 Damien P. George
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
@@ -35,9 +35,7 @@ used during the build process and is not part of the compiled source code.
3535

3636
/ (MIT)
3737
/drivers
38-
/cc3000 (BSD-3-clause)
3938
/cc3100 (BSD-3-clause)
40-
/wiznet5k (BSD-3-clause)
4139
/lib
4240
/asf4 (Apache-2.0)
4341
/axtls (BSD-3-clause)
@@ -50,24 +48,31 @@ used during the build process and is not part of the compiled source code.
5048
/cmsis (BSD-3-clause)
5149
/crypto-algorithms (NONE)
5250
/libhydrogen (ISC)
51+
/libmetal (BSD-3-clause)
5352
/littlefs (BSD-3-clause)
5453
/lwip (BSD-3-clause)
5554
/mynewt-nimble (Apache-2.0)
5655
/nrfx (BSD-3-clause)
5756
/nxp_driver (BSD-3-Clause)
5857
/oofatfs (BSD-1-clause)
58+
/open-amp (BSD-3-clause)
5959
/pico-sdk (BSD-3-clause)
6060
/re15 (BSD-3-clause)
6161
/stm32lib (BSD-3-clause)
6262
/tinytest (BSD-3-clause)
6363
/tinyusb (MIT)
6464
/uzlib (Zlib)
65+
/wiznet5k (MIT)
6566
/logo (uses OFL-1.1)
6667
/ports
6768
/cc3200
6869
/hal (BSD-3-clause)
6970
/simplelink (BSD-3-clause)
7071
/FreeRTOS (GPL-2.0 with FreeRTOS exception)
72+
/esp32
73+
/ppp_set_auth.* (Apache-2.0)
74+
/rp2
75+
/mutex_extra.c (BSD-3-clause)
7176
/stm32
7277
/usbd*.c (MCD-ST Liberty SW License Agreement V2)
7378
/stm32_it.* (MIT + BSD-3-clause)
@@ -77,8 +82,6 @@ used during the build process and is not part of the compiled source code.
7782
/*/stm32*.h (BSD-3-clause)
7883
/usbdev (MCD-ST Liberty SW License Agreement V2)
7984
/usbhost (MCD-ST Liberty SW License Agreement V2)
80-
/teensy
81-
/core (PJRC.COM)
8285
/zephyr
8386
/src (Apache-2.0)
8487
/tools

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ Ports include the code unique to a microcontroller line.
225225

226226
The following ports are available: ``atmel-samd``, ``cxd56``, ``espressif``, ``litex``, ``mimxrt10xx``, ``nordic``, ``raspberrypi``, ``renode``, ``silabs`` (``efr32``), ``stm``, ``unix``.
227227

228-
However, not all ports are fully functional. Some have limited limited functionality and known serious bugs.
228+
However, not all ports are fully functional. Some have limited functionality and known serious bugs.
229229
For details, refer to the **Port status** section in the `latest release <https://github.com/adafruit/circuitpython/releases/latest>`__ notes.
230230

231231
Boards

devices/ble_hci/common-hal/_bleio/Characteristic.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ void common_hal_bleio_characteristic_construct(bleio_characteristic_obj_t *self,
5050
}
5151
}
5252

53+
bool common_hal_bleio_characteristic_deinited(bleio_characteristic_obj_t *self) {
54+
return self->handle == BLE_GATT_HANDLE_INVALID;
55+
}
56+
57+
void common_hal_bleio_characteristic_deinit(bleio_characteristic_obj_t *self) {
58+
if (common_hal_bleio_characteristic_deinited(self)) {
59+
return;
60+
}
61+
self->handle = BLE_GATT_HANDLE_INVALID;
62+
}
63+
5364
mp_obj_tuple_t *common_hal_bleio_characteristic_get_descriptors(bleio_characteristic_obj_t *self) {
5465
return mp_obj_new_tuple(self->descriptor_list->len, self->descriptor_list->items);
5566
}

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Adafruit's CircuitPython Documentation
1+
Adafruit CircuitPython Documentation
22
=========================
33

44
The latest documentation can be found at:

docs/environment.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ CircuitPython behavior
5656
CircuitPython will also read the environment to configure its behavior. Other
5757
keys are ignored by CircuitPython. Here are the keys it uses:
5858

59+
Core CircuitPython keys
60+
^^^^^^^^^^^^^^^^^^^^^^^
61+
5962
CIRCUITPY_BLE_NAME
6063
~~~~~~~~~~~~~~~~~~
6164
Default BLE name the board advertises as, including for the BLE workflow.
@@ -94,3 +97,25 @@ Wi-Fi password used to auto connect to CIRCUITPY_WIFI_SSID.
9497
CIRCUITPY_WIFI_SSID
9598
~~~~~~~~~~~~~~~~~~~
9699
Wi-Fi SSID to auto-connect to even if user code is not running.
100+
101+
Additional board specific keys
102+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103+
104+
`MaTouch ESP32-S3 Parallel TFT with Touch 7“ <https://circuitpython.org/board/makerfabs_tft7/>`_
105+
106+
CIRCUITPY_DISPLAY_WIDTH
107+
~~~~~~~~~~~~~~~~~~~~~~~
108+
Selects the correct screen resolution (1024x600 or 800x640) for the particular board variant.
109+
If the CIRCUITPY_DISPLAY_WIDTH parameter is set to a value of 1024 the display is initialized
110+
during power up at 1024x600 otherwise the display will be initialized at a resolution
111+
of 800x480.
112+
113+
`Sunton ESP32-2432S028 <https://circuitpython.org/board/sunton_esp32_2432S028/>`_
114+
115+
CIRCUITPY_DISPLAY_ROTATION
116+
~~~~~~~~~~~~~~~~~~~~~~~~~~
117+
Selects the correct screen rotation (0, 90, 180 or 270) for the particular board variant.
118+
If the CIRCUITPY_DISPLAY_ROTATION parameter is set the display will be initialized
119+
during power up with the selected rotation, otherwise the display will be initialized with
120+
a rotation of 0. Attempting to initialize the screen with a rotation other than 0,
121+
90, 180 or 270 is not supported and will result in an unexpected screen rotation.

docs/library/collections.rst

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,35 +31,37 @@ Classes
3131

3232
- *flag* is optional and can be set to 1 to check for overflow when
3333
adding items. If the deque is full and overflow checking is enabled,
34-
an IndexError will be raised when adding items.
34+
an ``IndexError`` will be raised when adding items.
3535

3636
Deque objects have the following methods:
3737

3838
.. method:: deque.append(x)
3939

4040
Add *x* to the right side of the deque.
41-
Raises IndexError if overflow checking is enabled and there is no more room left.
41+
Raises ``IndexError`` if overflow checking is enabled and there is
42+
no more room in the queue.
4243

4344
.. method:: deque.appendleft(x)
4445

4546
Add *x* to the left side of the deque.
46-
Raises IndexError if overflow checking is enabled and there is no more room left.
47+
Raises ``IndexError`` if overflow checking is enabled and there is
48+
no more room in the queue.
4749

4850
.. method:: deque.pop()
4951

5052
Remove and return an item from the right side of the deque.
51-
Raises IndexError if no items are present.
53+
Raises ``IndexError`` if no items are present.
5254

5355
.. method:: deque.popleft()
5456

5557
Remove and return an item from the left side of the deque.
56-
Raises IndexError if no items are present.
58+
Raises ``IndexError`` if no items are present.
5759

5860
.. method:: deque.extend(iterable)
5961

60-
Extend the right side of the deque by appending items from the *iterable* argument.
62+
Extend the right side of the deque by appending items from the ``iterable`` argument.
6163
Raises IndexError if overflow checking is enabled and there is no more room left
62-
for all of the items in *iterable*.
64+
for all of the items in ``iterable``.
6365

6466
In addition to the above, deques support iteration, ``bool``, ``len(d)``, ``reversed(d)``,
6567
membership testing with the ``in`` operator, and subscript references like ``d[0]``.

0 commit comments

Comments
 (0)