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

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


The following commit(s) were added to refs/heads/master by this push:
     new eb0834cd27f boards/esp32p4: Remove unnecessary 
CONFIG_ESPRESSIF_MERGE_BINS
eb0834cd27f is described below

commit eb0834cd27fd1596a81031c51e03af72238bbf46
Author: wangjianyu3 <[email protected]>
AuthorDate: Sun May 17 00:19:13 2026 +0800

    boards/esp32p4: Remove unnecessary CONFIG_ESPRESSIF_MERGE_BINS
    
    ESP32-P4 uses simple boot mode without a separate bootloader,
    so merging binaries into a single 16MB file is unnecessary.
    Removing this option allows 'make flash' to write only the
    actual firmware (~380KB) instead of a padded 16MB image,
    reducing flash time from ~55s to ~4.5s.
    
    Assisted-by: GitHubCopilot:claude-4.7-opus
    Signed-off-by: wangjianyu3 <[email protected]>
---
 .../risc-v/esp32p4/esp32p4-function-ev-board/configs/ethernet/defconfig  | 1 -
 .../risc-v/esp32p4/esp32p4-function-ev-board/configs/i2schar/defconfig   | 1 -
 boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/spislv/defconfig | 1 -
 3 files changed, 3 deletions(-)

diff --git 
a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/ethernet/defconfig 
b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/ethernet/defconfig
index c9e1307c3b0..2ab3110ae92 100644
--- a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/ethernet/defconfig
+++ b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/ethernet/defconfig
@@ -24,7 +24,6 @@ CONFIG_BOARD_LOOPSPERMSEC=15000
 CONFIG_BUILTIN=y
 CONFIG_ESPRESSIF_EMAC=y
 CONFIG_ESPRESSIF_ETH_DMA_BUFFER_SIZE=512
-CONFIG_ESPRESSIF_MERGE_BINS=y
 CONFIG_ESPRESSIF_SPIFLASH=y
 CONFIG_ESPRESSIF_SPIFLASH_SMARTFS=y
 CONFIG_ESPRESSIF_SPIRAM=y
diff --git 
a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/i2schar/defconfig 
b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/i2schar/defconfig
index c0e85bcdb69..8d80da2c593 100644
--- a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/i2schar/defconfig
+++ b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/i2schar/defconfig
@@ -30,7 +30,6 @@ CONFIG_ESPRESSIF_I2S0_DINPIN=10
 CONFIG_ESPRESSIF_I2S0_DOUTPIN=10
 CONFIG_ESPRESSIF_I2S0_MCLK=y
 CONFIG_ESPRESSIF_I2S0_MCLKPIN=21
-CONFIG_ESPRESSIF_MERGE_BINS=y
 CONFIG_EXAMPLES_I2SCHAR=y
 CONFIG_EXAMPLES_I2SCHAR_BUFSIZE=1024
 CONFIG_EXAMPLES_I2SCHAR_RX=y
diff --git 
a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/spislv/defconfig 
b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/spislv/defconfig
index f27c7e8f928..b491523586d 100644
--- a/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/spislv/defconfig
+++ b/boards/risc-v/esp32p4/esp32p4-function-ev-board/configs/spislv/defconfig
@@ -22,7 +22,6 @@ CONFIG_BOARDCTL_RESET=y
 CONFIG_BOARD_LOOPSPERMSEC=15000
 CONFIG_BUILTIN=y
 CONFIG_ESPRESSIF_DMA=y
-CONFIG_ESPRESSIF_MERGE_BINS=y
 CONFIG_ESPRESSIF_SPI2=y
 CONFIG_ESPRESSIF_SPI2_CSPIN=22
 CONFIG_ESPRESSIF_SPI2_SLAVE=y

Reply via email to