Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit21f56b1

Browse files
authored
Update esp32.py
Define USB_SERIAL_JTAG_PACKET_SZ_BYTES to prevent errors when building with --enable-jtag-repl=y
1 parentbabbd84 commit21f56b1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎builder/esp32.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,8 @@ def update_mpconfigport():
11201120
'#ifdef MICROPY_HW_ESP_USB_SERIAL_JTAG',
11211121
'#undef MICROPY_HW_ESP_USB_SERIAL_JTAG',
11221122
'#endif',
1123-
f'#define MICROPY_HW_ESP_USB_SERIAL_JTAG ({int(enable_jtag_repl.lower()=="y")})'
1123+
f'#define MICROPY_HW_ESP_USB_SERIAL_JTAG ({int(enable_jtag_repl.lower()=="y")})',
1124+
'#define USB_SERIAL_JTAG_PACKET_SZ_BYTES (64)'
11241125
])
11251126

11261127
repl_data.extend([

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp