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

Is merging HEX files of application built using GCC with Bootloader DFU built using Keil recommended?

Our product is based on nrf51422_CEAA chip with softdevice S110, SDK 8.0.0, dual bank ble bootloader DFU.

We have modified the dfu bootloader example from SDK 8.0.0 to have certain features and it was compiled using Keil. Bootloader example of SDK 8.0.0 works only with Keil. However, we found out that SDK 8.1.0 and above have works with GCC as well.

Initially our application was also built using Keil and recently we have migrated the project to GCC. We have to merge s110_nrf51_8.0.0_softdevice.hex, application.hex (GCC) and bootloader.hex (KEIL) for batch flashing. We have found the tutorials in the nordic devzone to merge them.

Does merging the HEX files generated by different compilers (Keil and GCC) corrupt the final image in someway? Is it recommended to do it?

Related