mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
tools/espressif: add fill-flash-size to build if MERGEBIN selected
This commit is contained in:
committed by
archer
parent
84d261e3be
commit
1ae7efd388
@@ -116,7 +116,7 @@ define MERGEBIN
|
|||||||
echo "Missing Flash memory size configuration."; \
|
echo "Missing Flash memory size configuration."; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
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 nuttx.merged.bin >> nuttx.manifest
|
||||||
$(Q) echo "Generated: nuttx.merged.bin"
|
$(Q) echo "Generated: nuttx.merged.bin"
|
||||||
endef
|
endef
|
||||||
|
|||||||
Reference in New Issue
Block a user