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

Ble nano Arm gcc hex format

I am using em::blocks and arm gcc with ble nano from readbear labs. I built the template example but it is not working. The output hex is the same as if i had built it with eclipse and used mergehex except for the fact that it uses Extended Segment Address (i16HEX format). When I edit the hex output using Extended Linear Address (i32HEX format) it is working fine.

Is there any option for the compiler and objcopy to output i32hex format? If not is there any option to tweak the mk20 donggle to work with the i16hex?

PS: I figured out that the format change when I use eclipse and arm gcc is being implemented in the mergehex.exe

Thanks in advance

Related