Skip to content

Commit bbbeccd

Browse files
committed
Some fixes that I hope will fix the ESP32S3 core panic.
1 parent 318e212 commit bbbeccd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

builder/esp32.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ def update_mpconfigport():
10961096
'#ifdef MICROPY_HW_ENABLE_USBDEV',
10971097
'#undef MICROPY_HW_ENABLE_USBDEV',
10981098
'#endif',
1099-
f'#define MICROPY_HW_ENABLE_USBDEV ({int(enable_cdc_repl.lower() == "y")})'
1099+
f'#define MICROPY_HW_ENABLE_USBDEV ({int(enable_cdc_repl.lower() == "y")})',
11001100
'',
11011101
'#ifdef MICROPY_HW_USB_CDC',
11021102
'#undef MICROPY_HW_USB_CDC',
@@ -1138,8 +1138,7 @@ def update_mpconfigport():
11381138
''
11391139
)
11401140
data = data.replace(
1141-
'#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) '
1142-
'IRAM_ATTR f\n',
1141+
'#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) IRAM_ATTR f\n',
11431142
''
11441143
)
11451144
data = data.replace(
@@ -1183,7 +1182,7 @@ def update_mpconfigport():
11831182
# )
11841183
# continue
11851184

1186-
data = '\n'.join(data)
1185+
# data = '\n'.join(data)
11871186

11881187
write_file(MPCONFIGPORT_PATH, data)
11891188

0 commit comments

Comments
 (0)