intelhex icon indicating copy to clipboard operation
intelhex copied to clipboard

merge: support 'identical' on overlapped data

Open MarcFinetRtone opened this issue 5 years ago • 1 comments

When merging multiple .hex files, in case of overlap we sometimes need to just 'ensure' that values are identical.

The new 'check' mode ensures this.

Note: the behavior for start_addr is currently a 'check' (i.e. the overlap configuration is checked only when values differ). So we might want to change the behavior for data too:

  • if data is identical: silently bail out
  • add a 'stricter' mode that corresponds to the current behavior

MarcFinetRtone avatar Jul 09 '20 14:07 MarcFinetRtone

v2:

  • replace 'check' with 'identical'
  • fix test
  • fix doc

MarcFinetRtone avatar Dec 30 '20 15:12 MarcFinetRtone