Heltec-Aaron-Lee/WiFi_Kit_series

Wrong path for esptool

FStefanni opened this issue · 3 comments

Hi,

for current version (0.0.8), in file esp32/platform.txt the line:

tools.esptool_py.path={runtime.platform.path}/tools/esptool

Should be actually:

tools.esptool_py.path={runtime.platform.path}/tools

Regards

I ran into the same problem.

There is an esptool installed in a couple locations for some reason.

I changed

tools.esptool_py.path={runtime.platform.path}/tools/esptool

to

tools.esptool_py.path={runtime.tools.esptool_py.path}

And this worked. However, I'm now getting a similar error when attempting to upload:

Sketch uses 256357 bytes (19%) of program storage space. Maximum is 1310720 bytes.
Global variables use 13352 bytes (4%) of dynamic memory, leaving 314328 bytes for local variables. Maximum is 327680 bytes.
An error occurred while uploading the sketch
python3: can't open file '/home/mes/.arduino15/packages/Heltec-esp32/hardware/esp32/0.0.8/tools/esptool/esptool.py': [Errno 2] No such file or directory

Which is the same as what it is in the esp32 package.

Hi,

I do not know why your change is partially working.
But my change works fine for me, so maybe you can try to see if it works also for you.

Regards

There seems to be a bit of back and forth on this?
Why does it keep getting changed?

@fhb
320f303
f789618
@wangxiangwangeuse
c604804