Skip to content
Snippets Groups Projects
Commit 0593d6f5 authored by Damien George's avatar Damien George
Browse files

esp32/Makefile: Support using IDF_PATH as the env var to the IDF source.

parent 78302f7b
Branches
No related tags found
No related merge requests found
......@@ -23,8 +23,12 @@ CROSS_COMPILE ?= xtensa-esp32-elf-
# paths to ESP IDF and its components
ifeq ($(ESPIDF),)
ifneq ($(IDF_PATH),)
ESPIDF = $(IDF_PATH)
else
$(error Please configure the ESPIDF variable)
endif
endif
ESPCOMP = $(ESPIDF)/components
ESPTOOL ?= $(ESPCOMP)/esptool_py/esptool/esptool.py
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment