合并固件.bat 738 B

1234567891011121314151617
  1. cd ..
  2. nrfutil settings generate --family NRF52 --application ./pca10040/s132/arm5_no_packs/_build/nrf52832_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 ./dfu_readme/app_setting.hex
  3. mergehex --merge ./dfu_readme/s132_nrf52_7.0.1_softdevice.hex ./dfu_readme/central_and_peripheral_bootloader.hex --output ./dfu_readme/sd_boot.hex
  4. mergehex --merge ./dfu_readme/app_setting.hex ./dfu_readme/sd_boot.hex --output ./dfu_readme/setting_sd_boot.hex
  5. mergehex --merge ./pca10040/s132/arm5_no_packs/_build/nrf52832_xxaa.hex ./dfu_readme/app_setting.hex ./dfu_readme/sd_boot.hex --output ./dfu_readme/app_setting_sd_boot.hex
  6. cd ./dfu_readme
  7. del app_setting.hex
  8. del sd_boot.hex
  9. del setting_sd_boot.hex
  10. pause