tools/espressif: add fill-flash-size to build if MERGEBIN selected

This commit is contained in:
Filipe Cavalcanti 2024-12-19 15:17:57 -03:00 committed by archer
parent 84d261e3be
commit 1ae7efd388

View file

@ -116,7 +116,7 @@ define MERGEBIN
echo "Missing Flash memory size configuration."; \
exit 1; \
fi
esptool.py -c $(CHIP_SERIES) merge_bin --output nuttx.merged.bin $(ESPTOOL_BINS)
esptool.py -c $(CHIP_SERIES) merge_bin --fill-flash-size $(FLASH_SIZE) --output nuttx.merged.bin $(ESPTOOL_BINS)
$(Q) echo nuttx.merged.bin >> nuttx.manifest
$(Q) echo "Generated: nuttx.merged.bin"
endef