From 1ae7efd3883974b923471049d4774b4ae6d92a1c Mon Sep 17 00:00:00 2001 From: Filipe Cavalcanti Date: Thu, 19 Dec 2024 15:17:57 -0300 Subject: [PATCH] tools/espressif: add fill-flash-size to build if MERGEBIN selected --- tools/espressif/Config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/espressif/Config.mk b/tools/espressif/Config.mk index 8ac396863c..a09b083c76 100644 --- a/tools/espressif/Config.mk +++ b/tools/espressif/Config.mk @@ -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