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

How to get .hex file in Segger for Release mode?

Hi there,

I am trying to obtain a .hex file for my project for Release Configuration. I don't see the .hex file get updated in the pca10040\s132\ses\Output\Release\Exe directory. It shows Date modified was Oct 2018 but for debug configuration located in pca10040\s132\ses\Output\Debug\Exe I see that the hex file has a Date Modified of today.

I have done the following: open the project settings, under Linker -> Linker, select hex in "Additional Output Format" settings. The hex file will then be generated in the Output\[tagert]\Exe directory.

When I build I also have the mode set to Release. Do I have to do any other steps aside from pressing Build to obtain a hex file for Release mode?

Any help would be much appreciated. Thanks in advance.

Parents Reply Children
Related