Skip to content

Commit

Permalink
esp32/Makefile: Add link to build troubleshooting on failure.
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Mussared <[email protected]>
  • Loading branch information
jimmo committed Sep 15, 2022
1 parent 45972fa commit 18d0e6d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ports/esp32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ ifdef FROZEN_MANIFEST
IDFPY_FLAGS += -D MICROPY_FROZEN_MANIFEST=$(FROZEN_MANIFEST)
endif

HELP_BUILD_ERROR ?= "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m"

all:
idf.py $(IDFPY_FLAGS) build
idf.py $(IDFPY_FLAGS) build || (echo -e $(HELP_BUILD_ERROR); false)
@$(PYTHON) makeimg.py \
$(BUILD)/sdkconfig \
$(BUILD)/bootloader/bootloader.bin \
Expand Down

0 comments on commit 18d0e6d

Please sign in to comment.