esp32: Abort POSTBUILD if esptool.py is missing

This commit is contained in:
Gustavo Henrique Nihei 2021-02-04 16:18:32 -03:00 committed by Abdelatif Guettouche
parent a8cf8abfaa
commit 1069bbd024

View File

@ -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."; \