But what exactly is an addr file? Why does your flashing tool scream for it? And more importantly, how do you find, create, or fix one?
import re def scatter_to_addr(scatter_path, addr_path): with open(scatter_path, 'r') as sf: content = sf.read() mtk addr files
with open(addr_path, 'w') as af: for start, size in matches: af.write(f"start size\n") But what exactly is an addr file