Skip to content

Commit

Permalink
remove the need to set programmer, by setting upload tool
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepmistry authored and igrr committed Apr 1, 2015
1 parent 7dda022 commit 1d6a742
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Libraries that don't rely on low-level access to AVR registers should work well.


#### Upload via serial port ####
Select "esptool" as a programmer, and pick the correct serial port.
Pick the correct serial port.
You need to put ESP8266 into bootloader mode before uploading code (pull GPIO0 low and
toggle power).

Expand Down
2 changes: 2 additions & 0 deletions hardware/esp8266com/esp8266/boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ esp01.menu.UploadSpeed.256000.upload.speed=256000
esp01.menu.UploadSpeed.921600=921600
esp01.menu.UploadSpeed.921600.upload.speed=921600

esp01.upload.tool=esptool

##############################################################
wifio.name=WIFIO
Expand All @@ -42,3 +43,4 @@ wifio.build.board=ESP8266_WIFIO
wifio.build.core=esp8266
wifio.build.variant=wifio

wifio.upload.tool=esptool
7 changes: 4 additions & 3 deletions hardware/esp8266com/esp8266/platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ tools.esptool.cmd=esptool
tools.esptool.cmd.windows=esptool.exe
tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266

tools.esptool.program.params.verbose=-vv
tools.esptool.program.params.quiet=
tools.esptool.program.pattern="{path}/{cmd}" {program.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp {serial.port} -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"
tools.esptool.upload.protocol=esp
tools.esptool.upload.params.verbose=-vv
tools.esptool.upload.params.quiet=
tools.esptool.upload.pattern="{path}/{cmd}" {upload.verbose} -cd {upload.resetmethod} -cb {upload.speed} -cp {serial.port} -ca 0x00000 -cf "{build.path}/{build.project_name}_00000.bin" -ca 0x40000 -cf "{build.path}/{build.project_name}_40000.bin"

6 changes: 0 additions & 6 deletions hardware/esp8266com/esp8266/programmers.txt
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
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 1d6a742

Please sign in to comment.