Update: WebSocket下MicroPython板卡支持管理板卡文件
This commit is contained in:
@@ -23,7 +23,7 @@ export default class ShellArduino extends Shell {
|
||||
`"${arduino.path.code}"`,
|
||||
'--no-color'
|
||||
].join(' ');
|
||||
return this.exec(command);
|
||||
return this.execUntilClosed(command, { maxBuffer: 4096 * 1000000 });
|
||||
}
|
||||
|
||||
async upload(config) {
|
||||
@@ -43,6 +43,6 @@ export default class ShellArduino extends Shell {
|
||||
`"${arduino.path.code}"`,
|
||||
'--no-color'
|
||||
].join(' ');
|
||||
return this.exec(command);
|
||||
return this.execUntilClosed(command, { maxBuffer: 4096 * 1000000 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user