From 5046140350876dd3e985791b35f38fbf5fc4cf71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Harter?= Date: Wed, 5 Jun 2019 12:05:39 +0200 Subject: [PATCH] cpu/esp32: FIX use esptool.py from path This allows flashing using `esptool.py` install from pip. The documentation already state that `esptool.py` must be put available in the path and that it is possible to use the `pip` version. --- cpu/esp32/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp32/Makefile.include b/cpu/esp32/Makefile.include index 6127225ea8ee..1d4dece45a0a 100644 --- a/cpu/esp32/Makefile.include +++ b/cpu/esp32/Makefile.include @@ -169,7 +169,7 @@ ifneq (,$(filter esp_cxx,$(USEMODULE))) UNDEF += $(BINDIR)/esp_cxx/cxa_guard.o endif -ESPTOOL ?= $(RIOTBASE)/dist/tools/esptool/esptool.py +ESPTOOL ?= esptool.py # The ELFFILE is the base one used for flashing FLASHFILE ?= $(ELFFILE)