Skip to content

Commit c6b57d7

Browse files
authored
Merge pull request #265 from 0ut4t1m3/main
prevent build issues with using --enable-jtag-repl=y
2 parents babbd84 + 21f56b1 commit c6b57d7

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)