setHeaderMagicV1
Sets a custom magic number for the legacy (V1) McuBoot image header.
Call this before starting the SMP OTA upgrade if the target device uses a non-standard legacy header magic value.
Parameters
magic
The expected 32-bit legacy header magic number.