detools icon indicating copy to clipboard operation
detools copied to clipboard

in-place-patch: question and proposal to enhance

Open Laczen opened this issue 4 months ago • 0 comments

When using the in-place-patch method the default minimal shift size seems to be 2 times the segment size. Why does this not default to 1 segment?

To allow using the flash memory to include the step data at the end of the flash region it could be advantageous to allow specifying some extra space that is taken into account when calculating the shift size.

As an example adding 1kB to the from_size would create a writeable area of 1kB at the end of the memory region that could be used to store the step data. Would such a change be accepted?

Laczen avatar Oct 02 '25 17:10 Laczen