Skip to content

finding ESPTOOL #5

@mixmix

Description

@mixmix

On my computer, I discovered that ESPTOOL was not getting set correctly in loramesh/Makefile

Looking closer, I saw that the find was failing... and this was due to ESPTOOL_EXT getting set incorrectly.

I commented out this line and could then flash:

# OS=$(shell uname;)
# ifneq ($(OS), Darwin)
#   ESPTOOL_EXT=.py
# endif

My system

Ubuntu Linux

In case the version of the CLI makes a difference:

$ arduino-cli version
arduino-cli  Version: 1.2.0 Commit: 9c495211 Date: 2025-02-24T15:57:30Z

Here's what I hacked around manually to confirm what worked on my system. I show the path so others on other versions of CLI + different OS can compare:

$ find ~/.arduino15/packages/esp32/tools -name "esptool"
/home/___/.arduino15/packages/esp32/tools/esptool_py/4.9.dev3/esptool

NOTE: not esptool.py here (that was what ESPTOOL_EXT what changing my thing to search for I think)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions