nrfutil settings generate --family NRF52810 --application ..\..\HEX/Helmet\Helmet_application.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 settings.hex

mergehex -m nRF5_SDK_17.1.0_ddde560\components\softdevice\s112\hex\s112_nrf52_7.2.0_softdevice.hex nRF5_SDK_17.1.0_ddde560\examples\dfu\secure_bootloader\pca10040e_s112_ble\arm5_no_packs\_build\bootloader.hex settings.hex -o temp.hex
		 
mergehex -m  temp.hex ..\..\HEX\Helmet\Helmet_application.hex  -o  ..\..\HEX\Helmet\Helmet_AllInOne.hex

del /F/Q temp.hex