mirror of
https://github.com/jam422470459/EPD-nRF52-hema213.git
synced 2025-12-06 08:32:54 +08:00
update nrf52 ota script
This commit is contained in:
@@ -11,6 +11,6 @@ set settings=%1%2-settings.hex
|
||||
set fw_full_hex=%1%2-full.hex
|
||||
set ota_zip=%1%2-ota.zip
|
||||
|
||||
nrfutil pkg generate --application %fw_hex% --key-file %p_key% --hw-version 52 --sd-req 0x103 --sd-id 0x103 --application-version %fw_ver% %ota_zip%
|
||||
nrfutil pkg generate --application %fw_hex% --key-file %p_key% --hw-version 52 --sd-req 0x126 --sd-id 0x126 --application-version %fw_ver% %ota_zip%
|
||||
nrfutil settings generate --family NRF52810 --application %fw_hex% --softdevice %sd_hex% --application-version %fw_ver% --bootloader-version 1 --bl-settings-version 1 --key-file %p_key% --no-backup %settings%
|
||||
mergehex -m %sd_hex% %bl_hex% %fw_hex% %settings% -o %fw_full_hex%
|
||||
|
||||
Reference in New Issue
Block a user