Skip to content

Commit

Permalink
Merge branch 'adafruit:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
deshipu authored Oct 8, 2023
2 parents 43f4293 + 426e54f commit d1b38f1
Show file tree
Hide file tree
Showing 576 changed files with 5,393 additions and 9,281 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/cortex-m/on-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ rm -fr /workspaces/dosfstools-4.2 /workspaces/dosfstools-4.2.tar.gz
# prepare source-code tree
cd /workspaces/circuitpython/
echo -e "[on-create.sh] fetching submodules"
make fetch-submodules
make fetch-all-submodules
echo -e "[on-create.sh] fetching tags"
git fetch --tags --recurse-submodules=no --shallow-since="2021-07-01" https://github.com/adafruit/circuitpython HEAD

Expand Down
6 changes: 1 addition & 5 deletions .github/actions/deps/external/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ runs:
- name: Install IDF tools
if: inputs.port == 'espressif'
run: |
echo "Installing ESP-IDF tools"
$IDF_PATH/tools/idf_tools.py --non-interactive install required
$IDF_PATH/tools/idf_tools.py --non-interactive install cmake
echo "Installing Python environment and packages"
$IDF_PATH/tools/idf_tools.py --non-interactive install-python-env
$IDF_PATH/install.sh
rm -rf $IDF_TOOLS_PATH/dist
shell: bash
- name: Set environment
Expand Down
21 changes: 12 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -143,10 +143,14 @@
[submodule "ports/espressif/esp-idf"]
path = ports/espressif/esp-idf
url = https://github.com/adafruit/esp-idf.git
branch = release/v4.4-circuitpython
[submodule "ports/espressif/certificates/nina-fw"]
path = lib/certificates/nina-fw
url = https://github.com/adafruit/nina-fw.git
branch = circuitpython-v5.1
[submodule "ports/espressif/esp-protocols"]
path = ports/espressif/esp-protocols
url = https://github.com/espressif/esp-protocols.git
[submodule "ports/espressif/esp-camera"]
path = ports/espressif/esp-camera
url = https://github.com/adafruit/esp32-camera.git
branch = circuitpython
[submodule "frozen/Adafruit_CircuitPython_ST7789"]
path = frozen/Adafruit_CircuitPython_ST7789
url = https://github.com/adafruit/Adafruit_CircuitPython_ST7789
Expand Down Expand Up @@ -300,10 +304,6 @@
[submodule "frozen/circuitpython_picoed"]
path = frozen/circuitpython_picoed
url = https://github.com/elecfreaks/circuitpython_picoed.git
[submodule "ports/espressif/esp32-camera"]
path = ports/espressif/esp32-camera
url = https://github.com/adafruit/esp32-camera/
branch = circuitpython
[submodule "ports/raspberrypi/lib/cyw43-driver"]
path = ports/raspberrypi/lib/cyw43-driver
url = https://github.com/georgerobotics/cyw43-driver.git
Expand Down Expand Up @@ -340,8 +340,11 @@
url = https://github.com/bablokb/circuitpython-pcf85063a
[submodule "frozen/Adafruit_CircuitPython_Wave"]
path = frozen/Adafruit_CircuitPython_Wave
url = http://github.com/adafruit/Adafruit_CircuitPython_Wave.git
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
[submodule "ports/raspberrypi/lib/Pico-PIO-USB"]
path = ports/raspberrypi/lib/Pico-PIO-USB
url = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git
branch = main
[submodule "lib/certificates"]
path = lib/certificates
url = https://github.com/adafruit/certificates
6 changes: 4 additions & 2 deletions docs/redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ shared-bindings/frequencyio/__init__.rst shared-bindings/frequencyio/
shared-bindings/gnss/__init__.rst shared-bindings/gnss/
shared-bindings/i2cperipheral/__init__.rst shared-bindings/i2cperipheral/
shared-bindings/i2csecondary/__init__.rst shared-bindings/i2csecondary/
shared-bindings/i2cslave/I2CSlave.rst shared-bindings/i2cperipheral/#i2cperipheral.I2CPeripheral
shared-bindings/i2cslave/I2CSlaveRequest.rst shared-bindings/i2cperipheral/#i2cperipheral.I2CPeripheralRequest
shared-bindings/i2cslave/I2CSlave.rst shared-bindings/i2cperipheral/#i2ctarget.Target
shared-bindings/i2cslave/I2CSlaveRequest.rst shared-bindings/i2cperipheral/#i2ctarget.I2CTargetRequest
shared-bindings/i2cperipheral/I2CPeripheral.rst shared-bindings/i2ctarget/#i2ctarget.I2CTarget
shared-bindings/i2cperipheral/I2CPeripheralRequest.rst shared-bindings/i2ctarget/#i2ctarget.I2CTargetRequest
shared-bindings/math/__init__.rst shared-bindings/math/
shared-bindings/microcontroller/Pin.rst shared-bindings/microcontroller/#microcontroller.Pin
shared-bindings/microcontroller/Processor.rst shared-bindings/microcontroller/#microcontroller.Processor
Expand Down
4 changes: 3 additions & 1 deletion docs/shared_bindings_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,11 @@ def get_settings_from_makefile(port_dir, board_name):
This means that the effect of all Makefile directives is taken
into account, without having to re-encode the logic that sets them
in this script, something that has proved error-prone
This list must explicitly include any setting queried by tools/ci_set_matrix.py.
"""
contents = subprocess.run(
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS"],
["make", "-C", port_dir, "-f", "Makefile", f"BOARD={board_name}", "print-CFLAGS", "print-CIRCUITPY_BUILD_EXTENSIONS", "print-FROZEN_MPY_DIRS", "print-SRC_PATTERNS", "print-SRC_SUPERVISOR"],
encoding="utf-8",
errors="replace",
stdout=subprocess.PIPE,
Expand Down
1 change: 1 addition & 0 deletions lib/certificates
Submodule certificates added at cbb33c
3 changes: 0 additions & 3 deletions lib/certificates/README.md

This file was deleted.

1 change: 0 additions & 1 deletion lib/certificates/nina-fw
Submodule nina-fw deleted from 21205e
2 changes: 1 addition & 1 deletion lib/protomatter
62 changes: 12 additions & 50 deletions locale/ID.po
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,10 @@ msgstr ""
msgid "%q must be <= %d"
msgstr "%q harus <= %d"

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "%q must be <= %u"
msgstr ""

#: py/argcheck.c
msgid "%q must be >= %d"
msgstr "%q harus >= %d"
Expand Down Expand Up @@ -450,10 +454,6 @@ msgstr "pow() 3-arg tidak didukung"
msgid "A hardware interrupt channel is already in use"
msgstr "Sebuah channel hardware interrupt sedang digunakan"

#: ports/espressif/common-hal/analogio/AnalogIn.c
msgid "ADC2 is being used by WiFi"
msgstr "ADC2 sedang digunakan oleh WiFi"

#: ports/raspberrypi/common-hal/wifi/Radio.c
msgid "AP could not be started"
msgstr ""
Expand Down Expand Up @@ -1178,10 +1178,6 @@ msgstr ""
msgid "Initial set pin state conflicts with initial out pin state"
msgstr ""

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "Initialization failed due to lack of memory"
msgstr ""

#: shared-bindings/bitops/__init__.c
#, c-format
msgid "Input buffer length (%d) must be a multiple of the strand count (%d)"
Expand Down Expand Up @@ -1828,11 +1824,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr "Pull tidak digunakan saat arah output."

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "RAISE mode is not implemented"
msgstr ""

#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
Expand Down Expand Up @@ -2180,11 +2171,6 @@ msgstr "Tidak dapat mengalokasikan buffer untuk signed conversion"
msgid "Unable to allocate the heap."
msgstr ""

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to configure ADC DMA controller, ErrorCode:%d"
msgstr ""

#: ports/espressif/common-hal/busio/I2C.c
msgid "Unable to create lock"
msgstr ""
Expand All @@ -2203,20 +2189,10 @@ msgstr "Tidak dapat menemukan GCLK yang kosong"
msgid "Unable to init parser"
msgstr "Tidak dapat memulai parser"

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to initialize ADC DMA controller, ErrorCode:%d"
msgstr ""

#: shared-module/displayio/OnDiskBitmap.c
msgid "Unable to read color palette data"
msgstr "Tidak dapat membaca data palet warna"

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to start ADC DMA controller, ErrorCode:%d"
msgstr ""

#: ports/espressif/common-hal/mdns/Server.c
#: ports/raspberrypi/common-hal/mdns/Server.c
msgid "Unable to start mDNS query"
Expand Down Expand Up @@ -2353,20 +2329,10 @@ msgstr "Tegangan baca habis waktu"
msgid "WARNING: Your code filename has two extensions\n"
msgstr "PERINGATAN: Nama file kode anda mempunyai dua ekstensi\n"

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
msgstr ""

#: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer is not currently running"
msgstr ""

#: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
msgstr ""

#: py/builtinhelp.c
#, c-format
msgid ""
Expand Down Expand Up @@ -4124,10 +4090,7 @@ msgstr "sintaksis error pada JSON"
msgid "syntax error in uctypes descriptor"
msgstr "sintaksis error pada pendeskripsi uctypes"

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "timeout duration exceeded the maximum supported value"
msgstr ""

Expand Down Expand Up @@ -4234,7 +4197,8 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr "argumen keyword tidak diharapkan"

#: py/bc.c py/objnamedtuple.c shared-bindings/traceback/__init__.c
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: shared-bindings/traceback/__init__.c
msgid "unexpected keyword argument '%q'"
msgstr "keyword argumen '%q' tidak diharapkan"

Expand Down Expand Up @@ -4328,10 +4292,6 @@ msgstr ""
msgid "value out of range of target"
msgstr ""

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "watchdog not initialized"
msgstr ""

#: shared-bindings/is31fl3741/FrameBuffer.c
msgid "width must be greater than zero"
msgstr ""
Expand Down Expand Up @@ -4391,10 +4351,6 @@ msgstr "jumlah nilai yang salah untuk dibongkar"
msgid "wrong output type"
msgstr "tipe output salah"

#: ports/espressif/common-hal/audiobusio/__init__.c
msgid "xTaskCreate failed"
msgstr "xTaskCreate gagal"

#: extmod/ulab/code/scipy/signal/signal.c
msgid "zi must be an ndarray"
msgstr "zi harus ndarray"
Expand All @@ -4407,6 +4363,12 @@ msgstr "zi harus berjenis float"
msgid "zi must be of shape (n_section, 2)"
msgstr "Zi harus berbentuk (n_section, 2)"

#~ msgid "ADC2 is being used by WiFi"
#~ msgstr "ADC2 sedang digunakan oleh WiFi"

#~ msgid "xTaskCreate failed"
#~ msgstr "xTaskCreate gagal"

#~ msgid "queue overflow"
#~ msgstr "antrian meluap (overflow)"

Expand Down
56 changes: 6 additions & 50 deletions locale/circuitpython.pot
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ msgstr ""
msgid "%q must be <= %d"
msgstr ""

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "%q must be <= %u"
msgstr ""

#: py/argcheck.c
msgid "%q must be >= %d"
msgstr ""
Expand Down Expand Up @@ -447,10 +451,6 @@ msgstr ""
msgid "A hardware interrupt channel is already in use"
msgstr ""

#: ports/espressif/common-hal/analogio/AnalogIn.c
msgid "ADC2 is being used by WiFi"
msgstr ""

#: ports/raspberrypi/common-hal/wifi/Radio.c
msgid "AP could not be started"
msgstr ""
Expand Down Expand Up @@ -1168,10 +1168,6 @@ msgstr ""
msgid "Initial set pin state conflicts with initial out pin state"
msgstr ""

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "Initialization failed due to lack of memory"
msgstr ""

#: shared-bindings/bitops/__init__.c
#, c-format
msgid "Input buffer length (%d) must be a multiple of the strand count (%d)"
Expand Down Expand Up @@ -1806,11 +1802,6 @@ msgstr ""
msgid "Pull not used when direction is output."
msgstr ""

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "RAISE mode is not implemented"
msgstr ""

#: ports/raspberrypi/common-hal/countio/Counter.c
msgid "RISE_AND_FALL not available on this chip"
msgstr ""
Expand Down Expand Up @@ -2156,11 +2147,6 @@ msgstr ""
msgid "Unable to allocate the heap."
msgstr ""

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to configure ADC DMA controller, ErrorCode:%d"
msgstr ""

#: ports/espressif/common-hal/busio/I2C.c
msgid "Unable to create lock"
msgstr ""
Expand All @@ -2179,20 +2165,10 @@ msgstr ""
msgid "Unable to init parser"
msgstr ""

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to initialize ADC DMA controller, ErrorCode:%d"
msgstr ""

#: shared-module/displayio/OnDiskBitmap.c
msgid "Unable to read color palette data"
msgstr ""

#: ports/espressif/common-hal/analogbufio/BufferedIn.c
#, c-format
msgid "Unable to start ADC DMA controller, ErrorCode:%d"
msgstr ""

#: ports/espressif/common-hal/mdns/Server.c
#: ports/raspberrypi/common-hal/mdns/Server.c
msgid "Unable to start mDNS query"
Expand Down Expand Up @@ -2327,20 +2303,10 @@ msgstr ""
msgid "WARNING: Your code filename has two extensions\n"
msgstr ""

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "WatchDogTimer cannot be deinitialized once mode is set to RESET"
msgstr ""

#: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer is not currently running"
msgstr ""

#: shared-bindings/watchdog/WatchDogTimer.c
msgid "WatchDogTimer.mode cannot be changed once set to WatchDogMode.RESET"
msgstr ""

#: py/builtinhelp.c
#, c-format
msgid ""
Expand Down Expand Up @@ -4097,10 +4063,7 @@ msgstr ""
msgid "syntax error in uctypes descriptor"
msgstr ""

#: ports/atmel-samd/common-hal/watchdog/WatchDogTimer.c
#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
#: ports/nrf/common-hal/watchdog/WatchDogTimer.c
#: ports/raspberrypi/common-hal/watchdog/WatchDogTimer.c
msgid "timeout duration exceeded the maximum supported value"
msgstr ""

Expand Down Expand Up @@ -4207,7 +4170,8 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr ""

#: py/bc.c py/objnamedtuple.c shared-bindings/traceback/__init__.c
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: shared-bindings/traceback/__init__.c
msgid "unexpected keyword argument '%q'"
msgstr ""

Expand Down Expand Up @@ -4301,10 +4265,6 @@ msgstr ""
msgid "value out of range of target"
msgstr ""

#: ports/espressif/common-hal/watchdog/WatchDogTimer.c
msgid "watchdog not initialized"
msgstr ""

#: shared-bindings/is31fl3741/FrameBuffer.c
msgid "width must be greater than zero"
msgstr ""
Expand Down Expand Up @@ -4364,10 +4324,6 @@ msgstr ""
msgid "wrong output type"
msgstr ""

#: ports/espressif/common-hal/audiobusio/__init__.c
msgid "xTaskCreate failed"
msgstr ""

#: extmod/ulab/code/scipy/signal/signal.c
msgid "zi must be an ndarray"
msgstr ""
Expand Down
Loading

0 comments on commit d1b38f1

Please sign in to comment.