diff options
Diffstat (limited to 'tools/mpy-tool.py')
-rwxr-xr-x | tools/mpy-tool.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/mpy-tool.py b/tools/mpy-tool.py index 95b2c492d..8d86c1017 100755 --- a/tools/mpy-tool.py +++ b/tools/mpy-tool.py @@ -1454,7 +1454,15 @@ def freeze_mpy(firmware_qstr_idents, compiled_modules): # As in qstr.c, set so that the first dynamically allocated pool is twice this size; must be <= the len qstr_pool_alloc = min(len(new), 10) - global bc_content, const_str_content, const_int_content, const_obj_content, const_table_qstr_content, const_table_ptr_content, raw_code_count, raw_code_content + global \ + bc_content, \ + const_str_content, \ + const_int_content, \ + const_obj_content, \ + const_table_qstr_content, \ + const_table_ptr_content, \ + raw_code_count, \ + raw_code_content qstr_content = 0 bc_content = 0 const_str_content = 0 |