esp32: Make esptool output non-silent on POSTBUILD

This commit is contained in:
Gustavo Henrique Nihei 2021-02-09 15:39:32 -03:00 committed by Abdelatif Guettouche
parent c024b414f8
commit ea3eccb490

View File

@ -57,14 +57,13 @@ define POSTBUILD
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."; \
exit 1; \
fi; \
esptool.py --chip esp32 elf2image --flash_mode dio --flash_size $(FLASH_SIZE) -o nuttx.bin nuttx; \
echo "Generated: nuttx.bin (ESP32 compatible)"; \
fi
$(Q) if [ -z $(FLASH_SIZE) ]; then \
echo "Missing Flash memory size configuration for the ESP32 chip."; \
exit 1; \
fi
esptool.py --chip esp32 elf2image --flash_mode dio --flash_size $(FLASH_SIZE) -o nuttx.bin nuttx
$(Q) echo "Generated: nuttx.bin (ESP32 compatible)"
$(Q) $(MK_QEMU_IMG)
endef