Skip to content

Commit 69e71f2

Browse files
authored
Merge branch 'adafruit:main' into m5stack_stamps3
2 parents cf116f1 + 04608a3 commit 69e71f2

File tree

88 files changed

+1548
-417
lines changed

Some content is hidden

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

88 files changed

+1548
-417
lines changed

.gitmodules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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.1
146+
branch = circuitpython-v5.3.2
147147
[submodule "ports/espressif/esp-protocols"]
148148
path = ports/espressif/esp-protocols
149149
url = https://github.com/adafruit/esp-protocols.git
@@ -345,7 +345,7 @@
345345
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
346346
[submodule "ports/raspberrypi/lib/Pico-PIO-USB"]
347347
path = ports/raspberrypi/lib/Pico-PIO-USB
348-
url = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git
348+
url = https://github.com/adafruit/Pico-PIO-USB.git
349349
[submodule "lib/micropython-lib"]
350350
path = lib/micropython-lib
351351
url = https://github.com/micropython/micropython-lib.git

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ Behavior
136136
- Adds a safe mode that does not run user code after a hard crash or brown out. This makes it
137137
possible to fix code that causes nasty crashes by making it available through mass storage after
138138
the crash. A reset (the button) is needed after it's fixed to get back into normal mode.
139+
- A 1 second delay is added to the boot process during which time the status LED will flash, and
140+
resetting the device or pressing the boot button will force the device into safe mode. This delay
141+
can be removed by a compile time option (``CIRCUITPY_SKIP_SAFE_MODE_WAIT``).
139142
- Safe mode may be handled programmatically by providing a ``safemode.py``.
140143
``safemode.py`` is run if the board has reset due to entering safe mode, unless the safe mode
141144
initiated by the user by pressing button(s).

conf.py

Lines changed: 16 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -174,74 +174,22 @@ def autoapi_prepare_jinja_env(jinja_env):
174174

175175
# List of patterns, relative to source directory, that match files and
176176
# directories to ignore when looking for source files.
177-
exclude_patterns = ["**/build*",
178-
".git",
179-
".github",
180-
".env",
181-
".venv",
182-
".direnv",
183-
".devcontainer/Readme.md",
184-
"circuitpython-stubs",
185-
"data",
186-
"docs/autoapi",
187-
"docs/README.md",
188-
"drivers",
189-
"examples",
190-
"extmod",
191-
"frozen",
192-
"lib",
193-
"main.c",
194-
"mpy-cross",
195-
"ports/*/*.c",
196-
"ports/*/*.h",
197-
"ports/*/boards",
198-
"ports/*/common-hal",
199-
"ports/*/supervisor",
200-
"ports/atmel-samd/asf4",
201-
"ports/atmel-samd/asf4_conf",
202-
"ports/atmel-samd/external_flash",
203-
"ports/atmel-samd/freetouch",
204-
"ports/atmel-samd/peripherals",
205-
"ports/atmel-samd/QTouch",
206-
"ports/atmel-samd/tools",
207-
"ports/broadcom/firmware",
208-
"ports/broadcom/peripherals",
209-
"ports/cxd56/mkspk",
210-
"ports/cxd56/spresense-exported-sdk",
211-
"ports/espressif/certificates",
212-
"ports/espressif/esp-idf",
213-
"ports/espressif/esp-camera",
214-
"ports/espressif/esp-protocols",
215-
"ports/espressif/.idf_tools",
216-
"ports/espressif/peripherals",
217-
"ports/litex/hw",
218-
"ports/minimal",
219-
"ports/mimxrt10xx/peripherals",
220-
"ports/mimxrt10xx/sdk",
221-
"ports/nordic/device",
222-
"ports/nordic/bluetooth",
223-
"ports/nordic/modules",
224-
"ports/nordic/nrfx",
225-
"ports/nordic/peripherals",
226-
"ports/nordic/usb",
227-
"ports/raspberrypi/sdk",
228-
"ports/raspberrypi/pioasm",
229-
"ports/raspberrypi/lib",
230-
"ports/silabs/gecko_sdk",
231-
"ports/silabs/tools",
232-
"ports/stm/st_driver",
233-
"ports/stm/packages",
234-
"ports/stm/peripherals",
235-
"ports/stm/ref",
236-
"py",
237-
"shared/*",
238-
"shared-bindings/util.*",
239-
"shared-module",
240-
"supervisor",
241-
"tests",
242-
"test-stubs",
243-
"tools",
244-
"circuitpython-stubs/README.rst"]
177+
include_patterns = [
178+
# Top directory documentation
179+
"*.rst",
180+
"*.md",
181+
182+
# Docs inherited from microypython (but not templates or README.md, see below)
183+
"docs/**",
184+
185+
# Module documentation
186+
"shared-bindings/**",
187+
"ports/*/bindings/**",
188+
189+
# Port READMEs in various formats
190+
"ports/*/README*",
191+
]
192+
exclude_patterns = ["docs/autoapi/templates/**", "docs/README.md"]
245193

246194
# The reST default role (used for this markup: `text`) to use for all
247195
# documents.

docs/environment.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ during power up at 1024x600 otherwise the display will be initialized at a resol
111111
of 800x480.
112112

113113
`Sunton ESP32-2432S028 <https://circuitpython.org/board/sunton_esp32_2432S028/>`_
114+
`Sunton ESP32-2432S024C <https://circuitpython.org/board/sunton_esp32_2432S024C/>`_
114115

115116
CIRCUITPY_DISPLAY_ROTATION
116117
~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -119,3 +120,13 @@ If the CIRCUITPY_DISPLAY_ROTATION parameter is set the display will be initializ
119120
during power up with the selected rotation, otherwise the display will be initialized with
120121
a rotation of 0. Attempting to initialize the screen with a rotation other than 0,
121122
90, 180 or 270 is not supported and will result in an unexpected screen rotation.
123+
124+
`Sunton ESP32-8048S050 <https://circuitpython.org/board/sunton_esp32_8048S050/>`_
125+
126+
CIRCUITPY_DISPLAY_FREQUENCY
127+
~~~~~~~~~~~~~~~~~~~~~~~~~~~
128+
Allows the entry of a display frequency used during the "dotclock" framebuffer construction.
129+
If a valid frequency is not defined the board will initialize the framebuffer with a
130+
frequency of 12500000hz (12.5Mhz). The value should be entered as an integer in hertz
131+
i.e. CIRCUITPY_DISPLAY_FREQUENCY=16000000 will override the default value with a 16Mhz
132+
display frequency.

locale/ID.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ msgstr "%q harus kelipatan 8."
230230
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
231231
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
232232
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
233-
#: shared-module/synthio/Synthesizer.c
233+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
234234
msgid "%q must be of type %q or %q, not %q"
235235
msgstr "%q harus bertipe %q atau %q, bukan %q"
236236

@@ -817,6 +817,10 @@ msgstr "Tidak dapat menentukan RTS atau CTS dalam mode RS485"
817817
msgid "Cannot subclass slice"
818818
msgstr "Tidak dapat membuat subkelas dari irisan"
819819

820+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
821+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
822+
msgstr ""
823+
820824
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
821825
msgid "Cannot wake on pin edge, only level"
822826
msgstr "Tidak dapat bangun di tepi pin, hanya level"
@@ -3434,10 +3438,6 @@ msgstr ""
34343438
msgid "label redefined"
34353439
msgstr "label didefinis ulang"
34363440

3437-
#: shared-bindings/audiomixer/MixerVoice.c
3438-
msgid "level must be between 0 and 1"
3439-
msgstr ""
3440-
34413441
#: py/objarray.c
34423442
msgid "lhs and rhs should be compatible"
34433443
msgstr ""

locale/circuitpython.pot

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ msgstr ""
218218
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
219219
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
220220
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
221-
#: shared-module/synthio/Synthesizer.c
221+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
222222
msgid "%q must be of type %q or %q, not %q"
223223
msgstr ""
224224

@@ -795,6 +795,10 @@ msgstr ""
795795
msgid "Cannot subclass slice"
796796
msgstr ""
797797

798+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
799+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
800+
msgstr ""
801+
798802
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
799803
msgid "Cannot wake on pin edge, only level"
800804
msgstr ""
@@ -3383,10 +3387,6 @@ msgstr ""
33833387
msgid "label redefined"
33843388
msgstr ""
33853389

3386-
#: shared-bindings/audiomixer/MixerVoice.c
3387-
msgid "level must be between 0 and 1"
3388-
msgstr ""
3389-
33903390
#: py/objarray.c
33913391
msgid "lhs and rhs should be compatible"
33923392
msgstr ""

locale/cs.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ msgstr ""
229229
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
230230
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
231231
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
232-
#: shared-module/synthio/Synthesizer.c
232+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
233233
msgid "%q must be of type %q or %q, not %q"
234234
msgstr "%q musí být typu %q nebo %q, ne %q"
235235

@@ -811,6 +811,10 @@ msgstr "Nelze určit RTS nebo CTS v režimu RS485"
811811
msgid "Cannot subclass slice"
812812
msgstr "Nelze použít řez podtřídy"
813813

814+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
815+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
816+
msgstr ""
817+
814818
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
815819
msgid "Cannot wake on pin edge, only level"
816820
msgstr "Nelze probudit hranou na pinu, pouze úrovní"
@@ -3414,10 +3418,6 @@ msgstr ""
34143418
msgid "label redefined"
34153419
msgstr ""
34163420

3417-
#: shared-bindings/audiomixer/MixerVoice.c
3418-
msgid "level must be between 0 and 1"
3419-
msgstr ""
3420-
34213421
#: py/objarray.c
34223422
msgid "lhs and rhs should be compatible"
34233423
msgstr ""

locale/de_DE.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ msgstr "%q muss ein Vielfaches von 8 sein."
232232
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
233233
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
234234
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
235-
#: shared-module/synthio/Synthesizer.c
235+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
236236
msgid "%q must be of type %q or %q, not %q"
237237
msgstr "%q muss von Typ %q oder %q sein, nicht %q"
238238

@@ -815,6 +815,10 @@ msgstr "RTS oder CTS können im RS485-Modus nicht angegeben werden"
815815
msgid "Cannot subclass slice"
816816
msgstr "Slice kann keine sub-klasse sein"
817817

818+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
819+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
820+
msgstr ""
821+
818822
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
819823
msgid "Cannot wake on pin edge, only level"
820824
msgstr "Kann nicht durch Flanke an Pin geweckt werden, sondern nur durch Pegel"
@@ -3464,10 +3468,6 @@ msgstr "Label '%q' nicht definiert"
34643468
msgid "label redefined"
34653469
msgstr "Label neu definiert"
34663470

3467-
#: shared-bindings/audiomixer/MixerVoice.c
3468-
msgid "level must be between 0 and 1"
3469-
msgstr "Der Pegel muss zwischen 0 und 1 liegen"
3470-
34713471
#: py/objarray.c
34723472
msgid "lhs and rhs should be compatible"
34733473
msgstr "lhs und rhs sollten kompatibel sein"
@@ -4459,6 +4459,9 @@ msgstr "zi muss eine Gleitkommazahl sein"
44594459
msgid "zi must be of shape (n_section, 2)"
44604460
msgstr "zi muss die Form (n_section, 2) haben"
44614461

4462+
#~ msgid "level must be between 0 and 1"
4463+
#~ msgstr "Der Pegel muss zwischen 0 und 1 liegen"
4464+
44624465
#~ msgid "init I2C"
44634466
#~ msgstr "initialisiere I2C"
44644467

locale/el.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ msgstr ""
233233
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
234234
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
235235
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
236-
#: shared-module/synthio/Synthesizer.c
236+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
237237
msgid "%q must be of type %q or %q, not %q"
238238
msgstr "%q πρέπει να είναι τύπου %q ή %q, όχι %q"
239239

@@ -816,6 +816,10 @@ msgstr "Δεν μπορεί να οριστεί RTS ή CTS σε RS485 mode"
816816
msgid "Cannot subclass slice"
817817
msgstr "Δεν γίνεται υποκατηγορία ενός slice"
818818

819+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
820+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
821+
msgstr ""
822+
819823
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
820824
msgid "Cannot wake on pin edge, only level"
821825
msgstr "Δεν γίνεται αφύπνηση σε pin edge, αλλά μόνο σε level"
@@ -3411,10 +3415,6 @@ msgstr ""
34113415
msgid "label redefined"
34123416
msgstr ""
34133417

3414-
#: shared-bindings/audiomixer/MixerVoice.c
3415-
msgid "level must be between 0 and 1"
3416-
msgstr ""
3417-
34183418
#: py/objarray.c
34193419
msgid "lhs and rhs should be compatible"
34203420
msgstr ""

locale/en_GB.po

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ msgstr "%q must be multiple of 8."
231231
#: ports/raspberrypi/bindings/cyw43/__init__.c py/argcheck.c py/objexcept.c
232232
#: shared-bindings/bitmapfilter/__init__.c shared-bindings/canio/CAN.c
233233
#: shared-bindings/digitalio/Pull.c shared-bindings/supervisor/__init__.c
234-
#: shared-module/synthio/Synthesizer.c
234+
#: shared-module/synthio/Biquad.c shared-module/synthio/Synthesizer.c
235235
msgid "%q must be of type %q or %q, not %q"
236236
msgstr "%q must be of type %q or %q, not %q"
237237

@@ -810,6 +810,10 @@ msgstr "Cannot specify RTS or CTS in RS485 mode"
810810
msgid "Cannot subclass slice"
811811
msgstr "Cannot subclass slice"
812812

813+
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
814+
msgid "Cannot use GPIO0..15 together with GPIO32..47"
815+
msgstr ""
816+
813817
#: ports/nordic/common-hal/alarm/pin/PinAlarm.c
814818
msgid "Cannot wake on pin edge, only level"
815819
msgstr "Cannot wake on pin edge, only level"
@@ -3421,10 +3425,6 @@ msgstr "label '%q' not defined"
34213425
msgid "label redefined"
34223426
msgstr "label redefined"
34233427

3424-
#: shared-bindings/audiomixer/MixerVoice.c
3425-
msgid "level must be between 0 and 1"
3426-
msgstr "level must be between 0 and 1"
3427-
34283428
#: py/objarray.c
34293429
msgid "lhs and rhs should be compatible"
34303430
msgstr "lhs and rhs should be compatible"
@@ -4406,6 +4406,9 @@ msgstr "zi must be of float type"
44064406
msgid "zi must be of shape (n_section, 2)"
44074407
msgstr "zi must be of shape (n_section, 2)"
44084408

4409+
#~ msgid "level must be between 0 and 1"
4410+
#~ msgstr "level must be between 0 and 1"
4411+
44094412
#~ msgid "init I2C"
44104413
#~ msgstr "init I2C"
44114414

0 commit comments

Comments
 (0)