- Sat Mar 19, 2016 10:12 am
#43554
Hello,
I was unable to properly compile arduino IDE for RPi.
But it seems there's really odd things about the way that esptool command line is built by the toolchain. If I comment esptool related lines in platform.txt, I get always the same error :
Code: Select all#tools.esptool.cmd=esptool
#tools.esptool.cmd.windows=esptool.exe
#tools.esptool.path={runtime.tools.esptool.path}
#tools.esptool.network_cmd=python
#tools.esptool.network_cmd.windows=python.exe
#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}.bin"
#tools.esptool.upload.network_pattern="{network_cmd}" "{runtime.platform.path}/tools/espota.py" -i "{serial.port}" -p "{network.port}" "--auth={network.password}" -f "{build.path}/{build.project_name}.bin"
#tools.mkspiffs.cmd=mkspiffs
#tools.mkspiffs.cmd.windows=mkspiffs.exe
#tools.mkspiffs.path={runtime.tools.mkspiffs.path}
#tools.espota.cmd=python
#tools.espota.cmd.windows=python.exe
#tools.espota.path={runtime.platform.path}/tools
#tools.espota.upload.protocol=espota
#tools.espota.upload.params.verbose=
#tools.espota.upload.params.quiet=
#tools.espota.upload.pattern="{cmd}" "{path}/espota.py" -i "{serial.port}" -p 8266 -f "{build.path}/{build.project_name}.bin"
It seems that esptool command line is built elsewhere in the toolchain, and platform.txt file is ignored for this task.
Actually, I can compile sketches but I've to upload them manually with esptool.
If someone experiment same kind of error, thanks by advance for your feedback.