Creating a .hex File using Keil uVision IDE

Question: On compiling firmware with the Keil tools no error was generated but a .hex file was not created. How can this be taken care of?

 

Answer:

In the Keil uVision IDE, select the 'Project' menu and then Options for Target 'Target 1'. Go to the Output tab and check the Create Hex file box.