From 0962670a603b2f96bd8dd5f6b9eb8761a9988322 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Mon, 22 Dec 2014 18:43:20 +0300 Subject: [PATCH] Use esptool-ck for flashing --- boards.txt | 2 +- platform.txt | 8 ++++---- programmers.txt | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/boards.txt b/boards.txt index 8f9340160..cf7ebb3d0 100644 --- a/boards.txt +++ b/boards.txt @@ -1,7 +1,7 @@ ############################################################## esp01.name=ESP-01 -esp01.upload.tool=esptoolpy +esp01.upload.tool=esptool esp01.upload.speed=115200 esp01.upload.wait_for_upload_port=true diff --git a/platform.txt b/platform.txt index ab9179bcd..72b56c295 100644 --- a/platform.txt +++ b/platform.txt @@ -80,9 +80,9 @@ recipe.size.regex.eeprom=^(?:\.eeprom)\s+([0-9]+).* # ------------------------------ -tools.esptoolpy.cmd.path={runtime.ide.path}/hardware/tools/esp8266/espflash +tools.esptool.cmd.path={runtime.ide.path}/hardware/tools/esp8266/esptool -tools.esptoolpy.program.params.verbose= -tools.esptoolpy.program.params.quiet= -tools.esptoolpy.program.pattern="{cmd.path}" --port={serial.port} write_flash 0x00000 "{build.path}/{build.project_name}_00000.bin" 0x40000 "{build.path}/{build.project_name}_40000.bin" +tools.esptool.program.params.verbose=-v -v +tools.esptool.program.params.quiet=-q +tools.esptool.program.pattern="{cmd.path}" -cp {serial.port} -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin" diff --git a/programmers.txt b/programmers.txt index 4e4d90e67..5be88335a 100644 --- a/programmers.txt +++ b/programmers.txt @@ -1,6 +1,6 @@ -esptoolpy.name=esptool -esptoolpy.communication=serial -esptoolpy.protocol=esp -esptoolpy.program.protocol=esp -esptoolpy.program.tool=esptoolpy -esptoolpy.program.extra_params= +esptool.name=esptool +esptool.communication=serial +esptool.protocol=esp +esptool.program.protocol=esp +esptool.program.tool=esptool +esptool.program.extra_params=