Open FStefanni opened 1 year ago
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 https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/commit/320f30358d8e3207717e7fa0c0762a0503652ed8 https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/commit/f789618ec9ff1534a981038745dcb403971e1638 @wangxiangwangeuse https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series/commit/c604804d91f2a1f0b1835589c13dfdc963bd6d51
Hi,
for current version (0.0.8), in file
esp32/platform.txt
the line:Should be actually:
Regards