Skip to content

Commit 1ae7efd

Browse files
fdcavalcantianchao
authored andcommitted
tools/espressif: add fill-flash-size to build if MERGEBIN selected
1 parent 84d261e commit 1ae7efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/espressif/Config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ define MERGEBIN
116116
echo "Missing Flash memory size configuration."; \
117117
exit 1; \
118118
fi
119-
esptool.py -c $(CHIP_SERIES) merge_bin --output nuttx.merged.bin $(ESPTOOL_BINS)
119+
esptool.py -c $(CHIP_SERIES) merge_bin --fill-flash-size $(FLASH_SIZE) --output nuttx.merged.bin $(ESPTOOL_BINS)
120120
$(Q) echo nuttx.merged.bin >> nuttx.manifest
121121
$(Q) echo "Generated: nuttx.merged.bin"
122122
endef

0 commit comments

Comments
 (0)