We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96be505 commit 3f418c2Copy full SHA for 3f418c2
builder/esp32.py
@@ -853,7 +853,7 @@ def compile(): # NOQA
853
854
data = data.replace(pattern, pattern + '#define MICROPY_WRAP_MP_SCHED_EXCEPTION(f) IRAM_ATTR f\n')
855
data = data.replace(pattern, pattern + '#define MICROPY_WRAP_MP_SCHED_KEYBOARD_INTERRUPT(f) IRAM_ATTR f\n')
856
- with open(mpconfigport, 'rb') as f:
+ with open(mpconfigport, 'wb') as f:
857
f.write(data.encode('utf-8'))
858
859
if board in ('ESP32_GENERIC_S2', 'ESP32_GENERIC_S3') and disable_OTG:
0 commit comments