Update: WebSocket下MicroPython板卡支持管理板卡文件

This commit is contained in:
王立帮
2024-12-03 19:22:22 +08:00
parent 3911fa27ac
commit b1747a3ad5
7 changed files with 245 additions and 69 deletions

View File

@@ -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 });
}
}