feat(core): micropython板卡烧录固件时支持调整波特率
This commit is contained in:
@@ -518,6 +518,9 @@ BU.burnByCmd = function (port, command) {
|
||||
const { mainStatusBarTabs } = Mixly;
|
||||
const statusBarTerminal = mainStatusBarTabs.getStatusBarById('output');
|
||||
statusBarTerminal.setValue(Msg.Lang['shell.burning'] + '...\n');
|
||||
command = MString.tpl(command, {
|
||||
baudrate: Boards.getSelectedBoardConfigParam('BurnSpeed') ?? '460800'
|
||||
});
|
||||
BU.runCmd('burn', port, command);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user