Skip to content

Use merged_bin without overwriting NVS. (ESPTOOL-1032) #1075

@MYCAMEL222

Description

@MYCAMEL222

Operating System

Windows 11

Esptool Version

esptool.py v4.6.2

Python Version

3.13

Chip Description

esp32wroom32

Device Description

I want to use the merged_bin function (or elf2image) to create a single file for the end user to upload. The problem is the partition.bin writes to 0x8000 and the factory.bin writes to 0x10000. NVS is at 0x9000. The users configuration settings are in NVS. When I write a merged bin file at 0x0, the NVS gets overwritten (I assume by padding). Is there a way to avoid that? I don't want the end user writing multiple .bin files if at all possible....Thanks for any help!

Hardware Configuration

No response

How is Esptool Run

terminal in VScode

Full Esptool Command Line that Was Run

No response

Esptool Output

More Information

No response

Other Steps to Reproduce

No response

I Have Read the Troubleshooting Guide

  • I confirm I have read the troubleshooting guide.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions