Skip to content

Commit a93cbb2

Browse files
committed
Merge remote-tracking branch 'origin/main' into ssl-anything
2 parents 879f241 + 87a400a commit a93cbb2

File tree

26 files changed

+456
-89
lines changed

26 files changed

+456
-89
lines changed

conf.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@
110110
autoapi_python_class_content = "both"
111111
autoapi_python_use_implicit_namespaces = True
112112
autoapi_root = "shared-bindings"
113+
114+
# Suppress cache warnings to prevent "unpickable" [sic] warning
115+
# about autoapi_prepare_jinja_env() from sphinx >= 7.3.0.
116+
# See https://github.com/sphinx-doc/sphinx/issues/12300
117+
suppress_warnings = ["config.cache"]
118+
113119
def autoapi_prepare_jinja_env(jinja_env):
114120
jinja_env.globals['support_matrix_reverse'] = modules_support_matrix_reverse
115121

locale/en_GB.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"PO-Revision-Date: 2024-03-06 21:41+0000\n"
10+
"PO-Revision-Date: 2024-04-18 21:03+0000\n"
1111
"Last-Translator: Andi Chandler <[email protected]>\n"
1212
"Language-Team: none\n"
1313
"Language: en_GB\n"
@@ -105,7 +105,7 @@ msgstr "%q and %q must share a clock unit"
105105

106106
#: ports/nordic/common-hal/watchdog/WatchDogTimer.c
107107
msgid "%q cannot be changed once mode is set to %q"
108-
msgstr ""
108+
msgstr "%q cannot be changed once mode is set to %q"
109109

110110
#: shared-bindings/microcontroller/Pin.c
111111
msgid "%q contains duplicate pins"
@@ -2327,7 +2327,7 @@ msgstr "You pressed the BOOT button at start up"
23272327
#: ports/espressif/boards/adafruit_feather_esp32c6_4mbflash_nopsram/mpconfigboard.h
23282328
#: ports/espressif/boards/adafruit_itsybitsy_esp32/mpconfigboard.h
23292329
msgid "You pressed the BOOT button at start up."
2330-
msgstr ""
2330+
msgstr "You pressed the BOOT button at start up."
23312331

23322332
#: ports/espressif/boards/adafruit_huzzah32_breakout/mpconfigboard.h
23332333
msgid "You pressed the GPIO0 button at start up."
@@ -4070,12 +4070,12 @@ msgstr "timeout must be < 655.35 secs"
40704070

40714071
#: ports/raspberrypi/common-hal/floppyio/__init__.c
40724072
msgid "timeout waiting for flux"
4073-
msgstr ""
4073+
msgstr "timeout waiting for flux"
40744074

40754075
#: ports/raspberrypi/common-hal/floppyio/__init__.c
40764076
#: shared-module/floppyio/__init__.c
40774077
msgid "timeout waiting for index pulse"
4078-
msgstr ""
4078+
msgstr "timeout waiting for index pulse"
40794079

40804080
#: shared-module/sdcardio/SDCard.c
40814081
msgid "timeout waiting for v1 card"

main.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,11 @@ STATIC bool maybe_run_list(const char *const *filenames, size_t n_filenames) {
299299
if (_current_executing_filename == NULL) {
300300
return false;
301301
}
302-
mp_hal_stdout_tx_str(line_clear);
302+
303+
// This function is used for `boot.py` and is thus logged to `boot_out.txt`.
304+
// We do not want the line clear to be logged.
305+
// The function `serial_write` is the only function that isn't logged into the file.
306+
serial_write(line_clear);
303307
mp_hal_stdout_tx_str(_current_executing_filename);
304308
serial_write_compressed(MP_ERROR_TEXT(" output:\n"));
305309

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* This file is part of the MicroPython project, http://micropython.org/
3+
*
4+
* The MIT License (MIT)
5+
*
6+
* Copyright (c) 2017 Scott Shawcroft for Adafruit Industries
7+
*
8+
* Permission is hereby granted, free of charge, to any person obtaining a copy
9+
* of this software and associated documentation files (the "Software"), to deal
10+
* in the Software without restriction, including without limitation the rights
11+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
* copies of the Software, and to permit persons to whom the Software is
13+
* furnished to do so, subject to the following conditions:
14+
*
15+
* The above copyright notice and this permission notice shall be included in
16+
* all copies or substantial portions of the Software.
17+
*
18+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24+
* THE SOFTWARE.
25+
*/
26+
27+
#include "supervisor/board.h"
28+
29+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.

0 commit comments

Comments
 (0)