diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2022-09-14 10:08:48 +1000 |
|---|---|---|
| committer | Jim Mussared <jim.mussared@gmail.com> | 2022-09-15 12:22:18 +1000 |
| commit | 18d0e6d0dbdb34c6cac5aeeb9c4424821cd9f16a (patch) | |
| tree | 076e4900d17c359ffaad5bd71aa42701bd15d42a | |
| parent | 45972fa5481aeef38d074360b0f72b212968a305 (diff) | |
esp32/Makefile: Add link to build troubleshooting on failure.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
| -rw-r--r-- | ports/esp32/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ports/esp32/Makefile b/ports/esp32/Makefile index b7d804d07..e43cad751 100644 --- a/ports/esp32/Makefile +++ b/ports/esp32/Makefile @@ -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 \ |
