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

Build a project from a makefile

Hi,
I am looking for a way to build a project from a makefile with Keil uVision4.
Is there any way (simple the better)?

Thx

Parents
  • Maybe use the IDE to design the project and build once.

    Build with list files enabled.

    Extract info from the top of the *.txt files:

    ; generated by ARM/Thumb C/C++ Compiler with , RVCT3.1 [Build 919] for uVision
    ; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Flash\uart2.o --depend=.\Flash\uart2.d --device=DARMP --apc
    s=interwork -Otime -IC:\Keil\ARM\INC\Philips -D__RTX --omf_browse=.\Flash\uart2.crf uart2.c]
    


    to get compilation options for individual source files.

    Look at the *.d file for dependancy information you want to add to your makefile, unless you design the makefile to automatically capture dependancy information.

    Look at file *.lpn (preferable) or *.tra for linker parameters.

Reply
  • Maybe use the IDE to design the project and build once.

    Build with list files enabled.

    Extract info from the top of the *.txt files:

    ; generated by ARM/Thumb C/C++ Compiler with , RVCT3.1 [Build 919] for uVision
    ; commandline ArmCC [--split_sections --debug -c --asm --interleave -o.\Flash\uart2.o --depend=.\Flash\uart2.d --device=DARMP --apc
    s=interwork -Otime -IC:\Keil\ARM\INC\Philips -D__RTX --omf_browse=.\Flash\uart2.crf uart2.c]
    


    to get compilation options for individual source files.

    Look at the *.d file for dependancy information you want to add to your makefile, unless you design the makefile to automatically capture dependancy information.

    Look at file *.lpn (preferable) or *.tra for linker parameters.

Children