From 4013b2e0747aa3f9d066c54b47eec463ff98f2ed 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 645a83a9da635..11f6e13bde493 100644 --- a/cpu/esp32/Makefile.include +++ b/cpu/esp32/Makefile.include @@ -59,7 +59,7 @@ PSEUDOMODULES += esp_wifi_any export CPU ?= esp32 export TARGET_ARCH ?= xtensa-esp32-elf -export ESPTOOL ?= $(ESP32_SDK_DIR)/components/esptool_py/esptool/esptool.py +export ESPTOOL ?= esptool.py USEMODULE += esp_idf USEMODULE += esp_idf_driver