feat(core): 更新py-esptool (version: 4.8.1)
This commit is contained in:
@@ -255,11 +255,11 @@ Boards.changeTo = (boardName) => {
|
||||
let pyToolsPath = "{srcPath}/tools/python/";
|
||||
let obj = {};
|
||||
let pyTools = {
|
||||
'esptool': 'esptool/__init__.py',
|
||||
'esptool': 'esptool_main.py',
|
||||
'kflash': 'kflash.py',
|
||||
'stm32loader': 'stm32loader.py',
|
||||
'stm32bl': 'stm32bl.py',
|
||||
'ampy': 'ampy/cli.py'
|
||||
'ampy': 'ampy_main.py'
|
||||
};
|
||||
if (!Env.hasSocketServer) {
|
||||
for (let key in pyTools) {
|
||||
|
||||
@@ -36,7 +36,7 @@ class AmpyExt extends Ampy {
|
||||
run: '{{&y}} -p {{&port}} -b {{&baud}} -i 0 run "{{&filePath}}"'
|
||||
}
|
||||
|
||||
this.AMPY_PATH = path.join(Env.srcDirPath, './tools/python/ampy/cli.py');
|
||||
this.AMPY_PATH = path.join(Env.srcDirPath, './tools/python/ampy_main.py');
|
||||
|
||||
this.AMPY_TEMPLATE = Mustache.render('"{{&python3}}" "{{&y}}"', {
|
||||
python3: Env.python3Path,
|
||||
|
||||
Reference in New Issue
Block a user