I would like to get a sample script or Makefile that compiles C code and converts that to hex file. We need this for simulation.
I have a makefile already that accepts assembly code and then converts to hex but I would like to get a Makefile that accepts C code.
Thanks a lot
There are some getting started examples here:https://developer.arm.com/documentation/102422
These are written for the Arm Compiler, but could be re-used with gcc also.