This is an automated email from the ASF dual-hosted git repository.

archer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 1ae7efd3883974b923471049d4774b4ae6d92a1c
Author: Filipe Cavalcanti <filipe.cavalca...@espressif.com>
AuthorDate: Thu Dec 19 15:17:57 2024 -0300

    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

Reply via email to