Skip to content

Commit f7f0ea6

Browse files
authored
Merge branch 'adafruit:main' into waveshare_rp2350_usb
2 parents 7517bb0 + 66093e8 commit f7f0ea6

File tree

136 files changed

+116524
-115601
lines changed

Some content is hidden

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

136 files changed

+116524
-115601
lines changed

.github/actions/deps/ports/espressif/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ runs:
77
run: |
88
echo >> $GITHUB_ENV "IDF_PATH=$GITHUB_WORKSPACE/ports/espressif/esp-idf"
99
echo >> $GITHUB_ENV "IDF_TOOLS_PATH=$GITHUB_WORKSPACE/.idf_tools"
10+
echo >> $GITHUB_ENV "ESP_ROM_ELF_DIR=$GITHUB_WORKSPACE/.idf_tools"
1011
shell: bash
1112

1213
- name: Get IDF commit

.gitmodules

Lines changed: 1 addition & 1 deletion
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.2
146+
branch = circuitpython-v5.4.1
147147
[submodule "ports/espressif/esp-protocols"]
148148
path = ports/espressif/esp-protocols
149149
url = https://github.com/adafruit/esp-protocols.git

lib/mbedtls_config/mbedtls_config_port.h

Lines changed: 0 additions & 67 deletions
This file was deleted.

locale/en_GB.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"PO-Revision-Date: 2025-04-19 15:42+0000\n"
10+
"PO-Revision-Date: 2025-04-25 15:04+0000\n"
1111
"Last-Translator: Andi Chandler <[email protected]>\n"
1212
"Language-Team: none\n"
1313
"Language: en_GB\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Generator: Weblate 5.11.1-dev\n"
18+
"X-Generator: Weblate 5.12-dev\n"
1919

2020
#: main.c
2121
msgid ""
@@ -117,7 +117,7 @@ msgstr "%q failure: %d"
117117

118118
#: shared-module/audiodelays/MultiTapDelay.c
119119
msgid "%q in %q must be of type %q or %q, not %q"
120-
msgstr ""
120+
msgstr "%q in %q must be of type %q or %q, not %q"
121121

122122
#: py/argcheck.c shared-module/audiofilters/Filter.c
123123
msgid "%q in %q must be of type %q, not %q"
@@ -2630,7 +2630,7 @@ msgstr "bits must be 32 or less"
26302630
#: shared-bindings/audiofilters/Distortion.c
26312631
#: shared-bindings/audiodelays/Reverb.c
26322632
msgid "bits_per_sample must be 16"
2633-
msgstr ""
2633+
msgstr "bits_per_sample must be 16"
26342634

26352635
#: shared-bindings/audiodelays/Echo.c shared-bindings/audiofilters/Distortion.c
26362636
#: shared-bindings/audiofilters/Filter.c shared-bindings/audiomixer/Mixer.c
@@ -4055,7 +4055,7 @@ msgstr "rsplit(None,n)"
40554055

40564056
#: shared-bindings/audiodelays/Reverb.c
40574057
msgid "samples_signed must be true"
4058-
msgstr ""
4058+
msgstr "samples_signed must be true"
40594059

40604060
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
40614061
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c

locale/zh_Latn_pinyin.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ msgstr ""
77
"Project-Id-Version: circuitpython-cn\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
10-
"PO-Revision-Date: 2025-04-10 22:01+0000\n"
10+
"PO-Revision-Date: 2025-04-25 15:04+0000\n"
1111
"Last-Translator: hexthat <[email protected]>\n"
1212
"Language-Team: Chinese Hanyu Pinyin\n"
1313
"Language: zh_Latn_pinyin\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=1; plural=0;\n"
18-
"X-Generator: Weblate 5.11-dev\n"
18+
"X-Generator: Weblate 5.12-dev\n"
1919

2020
#: main.c
2121
msgid ""
@@ -118,7 +118,7 @@ msgstr "%q Shībài: %d"
118118

119119
#: shared-module/audiodelays/MultiTapDelay.c
120120
msgid "%q in %q must be of type %q or %q, not %q"
121-
msgstr ""
121+
msgstr "%q zhōngde %q bìxū shì %q huò %q lèixíng, érbùshì %q"
122122

123123
#: py/argcheck.c shared-module/audiofilters/Filter.c
124124
msgid "%q in %q must be of type %q, not %q"
@@ -2648,7 +2648,7 @@ msgstr "wèi bì xū shì 32 huò gèng shǎo"
26482648
#: shared-bindings/audiofilters/Distortion.c
26492649
#: shared-bindings/audiodelays/Reverb.c
26502650
msgid "bits_per_sample must be 16"
2651-
msgstr ""
2651+
msgstr "bits_per_sample bìxū wèi 16"
26522652

26532653
#: shared-bindings/audiodelays/Echo.c shared-bindings/audiofilters/Distortion.c
26542654
#: shared-bindings/audiofilters/Filter.c shared-bindings/audiomixer/Mixer.c
@@ -4077,7 +4077,7 @@ msgstr "Rchāifēn(wú,N)"
40774077

40784078
#: shared-bindings/audiodelays/Reverb.c
40794079
msgid "samples_signed must be true"
4080-
msgstr ""
4080+
msgstr "samples_signed bìxū wéi zhēn"
40814081

40824082
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
40834083
#: ports/raspberrypi/common-hal/audiobusio/PDMIn.c

main.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ static void start_mp(safe_mode_t safe_mode) {
203203
mp_obj_list_append(mp_sys_path, MP_OBJ_NEW_QSTR(MP_QSTR__slash_lib));
204204

205205
mp_obj_list_init((mp_obj_list_t *)mp_sys_argv, 0);
206+
207+
// Always return to root
208+
common_hal_os_chdir("/");
206209
}
207210

208211
static void stop_mp(void) {
@@ -457,8 +460,6 @@ static bool __attribute__((noinline)) run_code_py(safe_mode_t safe_mode, bool *s
457460
usb_setup_with_vm();
458461
#endif
459462

460-
// Always return to root before trying to run files.
461-
common_hal_os_chdir("/");
462463
// Check if a different run file has been allocated
463464
if (next_code_configuration != NULL) {
464465
next_code_configuration->options &= ~SUPERVISOR_NEXT_CODE_OPT_NEWLY_SET;

ports/atmel-samd/boards/hallowing_m4_express/mpconfigboard.mk

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ EXTERNAL_FLASH_DEVICES = "GD25Q64C,W25Q64JVxQ"
1111
LONGINT_IMPL = MPZ
1212

1313
CIRCUITPY_AESIO = 0
14-
CIRCUITPY_JPEGIO = 0
15-
CIRCUITPY_SYNTHIO = 0
16-
CIRCUITPY_TILEPALETTEMAPPER = 0
14+
CIRCUITPY_CODEOP = 0
15+
CIRCUITPY_EPAPERDISPLAY = 0
16+
CIRCUITPY_FLOPPYIO = 0
17+
CIRCUITPY_I2CDISPLAYBUS = 0
18+
CIRCUITPY_I2CTARGET = 0
19+
CIRCUITPY_PARALLELDISPLAYBUS = 0
20+
CIRCUITPY_RGBMATRIX = 0
21+
CIRCUITPY_SHARPDISPLAY = 0
22+
CIRCUITPY_SPITARGET = 0

ports/atmel-samd/boards/uartlogger2/mpconfigboard.mk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ CHIP_FAMILY = samd51
99
QSPI_FLASH_FILESYSTEM = 1
1010
EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
1111
LONGINT_IMPL = MPZ
12+
13+
CIRCUITPY_I2CTARGET = 0
1214
CIRCUITPY_SPITARGET = 0
1315
CIRCUITPY_SYNTHIO = 0
1416
CIRCUITPY_JPEGIO = 0

ports/atmel-samd/common-hal/pulseio/PulseIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t *self,
130130
mp_raise_RuntimeError(MP_ERROR_TEXT("Internal resource(s) in use"));
131131
}
132132

133-
self->buffer = (uint16_t *)m_malloc(maxlen * sizeof(uint16_t));
133+
self->buffer = (uint16_t *)m_malloc_without_collect(maxlen * sizeof(uint16_t));
134134
if (self->buffer == NULL) {
135135
m_malloc_fail(maxlen * sizeof(uint16_t));
136136
}

ports/cxd56/common-hal/pulseio/PulseIn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ static int pulsein_interrupt_handler(int irq, FAR void *context, FAR void *arg)
6565

6666
void common_hal_pulseio_pulsein_construct(pulseio_pulsein_obj_t *self,
6767
const mcu_pin_obj_t *pin, uint16_t maxlen, bool idle_state) {
68-
self->buffer = (uint16_t *)m_malloc(maxlen * sizeof(uint16_t));
68+
self->buffer = (uint16_t *)m_malloc_without_collect(maxlen * sizeof(uint16_t));
6969
if (self->buffer == NULL) {
7070
m_malloc_fail(maxlen * sizeof(uint16_t));
7171
}

0 commit comments

Comments
 (0)