Update: 将xpython板卡工具栏 烧录额外固件 选项与已有 固件烧录 选项合并
This commit is contained in:
@@ -129,10 +129,14 @@ BU.initBurn = () => {
|
||||
if (typeof web.burn.binFile !== 'object') {
|
||||
return;
|
||||
}
|
||||
if (boardKey.indexOf('micropython:esp32s2') !== -1) {
|
||||
BU.burnWithAdafruitEsptool(web.burn.binFile);
|
||||
if (web.burn.special && web.burn.special instanceof Array) {
|
||||
BU.burnWithSpecialBin();
|
||||
} else {
|
||||
BU.burnWithEsptool(web.burn.binFile);
|
||||
if (boardKey.indexOf('micropython:esp32s2') !== -1) {
|
||||
BU.burnWithAdafruitEsptool(web.burn.binFile);
|
||||
} else {
|
||||
BU.burnWithEsptool(web.burn.binFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user