Update: web下板卡烧录固件前先擦除Flash
This commit is contained in:
@@ -302,6 +302,7 @@ BU.burnWithEsptool = async () => {
|
||||
}
|
||||
});
|
||||
try {
|
||||
await esploader.eraseFlash();
|
||||
await esploader.writeFlash(flashOptions);
|
||||
layer.msg(Msg.Lang['shell.burnSucc'], { time: 1000 });
|
||||
statusBarTerminal.addValue(`==${Msg.Lang['shell.burnSucc']}==\n`);
|
||||
|
||||
Reference in New Issue
Block a user