可以烧录和获取固件
This commit is contained in:
@@ -254,6 +254,7 @@ def bin_to_hex_file(bin_file_name:str,hex_file_name:str,info_file_name:str=None)
|
||||
else:
|
||||
info=load_flash_info(info_file_name)
|
||||
text=bin_to_hex2(bin)
|
||||
print(f"write to file {hex_file_name}")
|
||||
with open(hex_file_name,mode='w+',encoding="utf-8") as f:
|
||||
f.write(text)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user