1 parent 78302f7 commit 0593d6fCopy full SHA for 0593d6f
1 file changed
ports/esp32/Makefile
@@ -23,8 +23,12 @@ CROSS_COMPILE ?= xtensa-esp32-elf-
23
24
# paths to ESP IDF and its components
25
ifeq ($(ESPIDF),)
26
+ifneq ($(IDF_PATH),)
27
+ESPIDF = $(IDF_PATH)
28
+else
29
$(error Please configure the ESPIDF variable)
30
endif
31
+endif
32
ESPCOMP = $(ESPIDF)/components
33
ESPTOOL ?= $(ESPCOMP)/esptool_py/esptool/esptool.py
34
0 commit comments