8000 esp32/Makefile: Add link to build troubleshooting on failure. · micropython/micropython@18d0e6d · GitHub
[go: up one dir, main page]

Skip to content

Commit 18d0e6d

Browse files
committed
esp32/Makefile: Add link to build troubleshooting on failure.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
1 parent 45972fa commit 18d0e6d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ports/esp32/Makefile

Lines changed: 3 additions & 1 deletion
Original file lin 7AC4 e numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ ifdef FROZEN_MANIFEST
3434
IDFPY_FLAGS += -D MICROPY_FROZEN_MANIFEST=$(FROZEN_MANIFEST)
3535
endif
3636

37+
HELP_BUILD_ERROR ?= "See \033[1;31mhttps://github.com/micropython/micropython/wiki/Build-Troubleshooting\033[0m"
38+
3739
all:
38-
idf.py $(IDFPY_FLAGS) build
40+
idf.py $(IDFPY_FLAGS) build || (echo -e $(HELP_BUILD_ERROR); false)
3941
@$(PYTHON) makeimg.py \
4042
$(BUILD)/sdkconfig \
4143
$(BUILD)/bootloader/bootloader.bin \

0 commit comments

Comments
 (0)
0