From d9fea6f72d9ce42028a0f8b2e03de1957c348c89 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 90cd21dc18ebc..29f55f349c571 100644 --- a/cpu/esp32/Makefile.include +++ b/cpu/esp32/Makefile.include @@ -64,7 +64,7 @@ PSEUDOMODULES += esp_spiffs PSEUDOMODULES += esp_wifi_any 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