From 1069bbd024a3b28be487b11c009a42d886ba0d29 Mon Sep 17 00:00:00 2001 From: Gustavo Henrique Nihei Date: Thu, 4 Feb 2021 16:18:32 -0300 Subject: [PATCH] esp32: Abort POSTBUILD if esptool.py is missing --- tools/esp32/Config.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/esp32/Config.mk b/tools/esp32/Config.mk index 76a0b070ff..3df543d952 100644 --- a/tools/esp32/Config.mk +++ b/tools/esp32/Config.mk @@ -56,6 +56,7 @@ define POSTBUILD echo "Or run: \"make -C $(TOPDIR)/tools/esp32\" to install all IDF tools."; \ echo ""; \ echo "Run make again to create the nuttx.bin image."; \ + exit 1; \ else \ if [ -z $(FLASH_SIZE) ]; then \ echo "Missing Flash memory size configuration for the ESP32 chip."; \