Skip to content

Commit

Permalink
Use esptool-ck for flashing
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed Dec 22, 2014
1 parent 687e472 commit 0962670
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion boards.txt
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 4 additions & 4 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"

12 changes: 6 additions & 6 deletions programmers.txt
Original file line number Diff line number Diff line change
@@ -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=

0 comments on commit 0962670

Please sign in to comment.