1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

remove the need to set programmer, by setting upload tool

This commit is contained in:
Sandeep Mistry 2015-03-31 19:43:49 -04:00
parent 9d9c62ed28
commit 187080f40a
4 changed files with 7 additions and 10 deletions

View File

@ -124,7 +124,7 @@ Libraries that don't rely on low-level access to AVR registers should work well.
#### Upload via serial port #### #### 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 You need to put ESP8266 into bootloader mode before uploading code (pull GPIO0 low and
toggle power). toggle power).

View File

@ -13,6 +13,7 @@ esp01.build.board=ESP8266_ESP01
esp01.build.core=esp8266 esp01.build.core=esp8266
esp01.build.variant=esp01 esp01.build.variant=esp01
esp01.upload.tool=esptool
############################################################## ##############################################################
wifio.name=WIFIO wifio.name=WIFIO
@ -29,3 +30,4 @@ wifio.build.board=ESP8266_WIFIO
wifio.build.core=esp8266 wifio.build.core=esp8266
wifio.build.variant=wifio wifio.build.variant=wifio
wifio.upload.tool=esptool

View File

@ -88,7 +88,8 @@ tools.esptool.cmd=esptool
tools.esptool.cmd.windows=esptool.exe tools.esptool.cmd.windows=esptool.exe
tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266 tools.esptool.path={runtime.ide.path}/hardware/tools/esp8266
tools.esptool.program.params.verbose=-vv tools.esptool.upload.protocol=esp
tools.esptool.program.params.quiet= tools.esptool.upload.params.verbose=-vv
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.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"

View File

@ -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=