This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

hex file related question

Dear Nordic Team.

What are different between these two hex file in same example.

nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_beacon\hex\ble_app_beacon_s130_pca10028.hex=320 kb nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs_build\nrf51422_xxac_s130.hex=22kb

Parents
  • The difference is that the hex file in examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs\_build is the compiled application only. The hex files under examples\ble_peripheral\ble_app_beacon\hex on the other hand, are application files merged with the SoftDevice. This just for convenience, so that they can easily be tested by flashing only that single file.

    (Multiple hex file (such as the application and SoftDevice) can easily be merged using for example mergehex, which is part of nRF5x-Command-Line-Tools.)

Reply
  • The difference is that the hex file in examples\ble_peripheral\ble_app_beacon\pca10028\s130\arm5_no_packs\_build is the compiled application only. The hex files under examples\ble_peripheral\ble_app_beacon\hex on the other hand, are application files merged with the SoftDevice. This just for convenience, so that they can easily be tested by flashing only that single file.

    (Multiple hex file (such as the application and SoftDevice) can easily be merged using for example mergehex, which is part of nRF5x-Command-Line-Tools.)

Children
Related