Skip to content

Commit

Permalink
debug file size
Browse files Browse the repository at this point in the history
  • Loading branch information
webjay committed Dec 9, 2023
1 parent ebe686c commit 7aed39d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,11 @@ nrfutil settings generate --family NRF52810 --application nrf52810_xxaa.hex --ap
cp $WORKSPACE/nRF5_SDK_17.0.2_d674dde/components/softdevice/s112/hex/s112_nrf52_7.2.0_softdevice.hex $WORKSPACE/hex
mergehex --merge bl_settings.hex secure_bootloader_moko.hex nrf52810_xxaa.hex s112_nrf52_7.2.0_softdevice.hex --output firmware.hex

# debug
ls -alh firmware.hex

# Convert the HEX file to a BIN file
arm-none-eabi-objcopy --input-target=ihex --output-target=binary firmware.hex $WORKSPACE/dist/firmware.bin

# debug
ls -alh $WORKSPACE/dist/firmware.bin

0 comments on commit 7aed39d

Please sign in to comment.