This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to create a makefile, which will do the same job as Keil build.

I'm working on STM32f0xx (CM0), and using keil to build the project and getting hex file. I want to write a makefile which will do the exact same job.

Parents
  • I'm able to compile the files using "armcc" which will give the .o files. But I'm unable to use "ArmLink" to link these .o files and create a .hex.

    I was referring to the batch file(created by Keil), which uses the .lnp file for linker.
    Internally .lnp using .sct, .map and .axf file. I'm not sure how to create these files using "makefile".

    Can anyone guide me for the same?

Reply
  • I'm able to compile the files using "armcc" which will give the .o files. But I'm unable to use "ArmLink" to link these .o files and create a .hex.

    I was referring to the batch file(created by Keil), which uses the .lnp file for linker.
    Internally .lnp using .sct, .map and .axf file. I'm not sure how to create these files using "makefile".

    Can anyone guide me for the same?

Children