mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-18 12:24:04 +03:00
remove the need to set programmer, by setting upload tool
This commit is contained in:
parent
d9eaefbfc9
commit
ddaf3b1f4c
@ -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).
|
||||
|
||||
|
@ -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
|
||||
@ -42,3 +43,4 @@ wifio.build.board=ESP8266_WIFIO
|
||||
wifio.build.core=esp8266
|
||||
wifio.build.variant=wifio
|
||||
|
||||
wifio.upload.tool=esptool
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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=
|
Loading…
x
Reference in New Issue
Block a user