Page 1 of 1

generate symbol to makefile

Posted: Fri Dec 02, 2016 8:52 am
by szalokicsiga
Hi!

Is it possible to generate a symbol to the generated makefile from e.g. the OIL file?
I would like to change the name of the .elf file. Now it is working like this: TARGET := $(TARGET_NAME).elf
And I would need something like this: TARGET := $(PROJECT_NAME).elf, but for that I need this variable generating.

Thank you!

Re: generate symbol to makefile

Posted: Fri Dec 02, 2016 9:10 am
by paolo.gai
I guess you need to change directly the makefile... There is no way to change that name as of today from the OIL file.

PJ

Re: generate symbol to makefile

Posted: Fri Dec 02, 2016 12:09 pm
by szalokicsiga
Thank you, solved it!

Now I need one more thing. At the oil generation phase, is it possible to set, that eecfg.h and eecfg.c should be generated into an other folder? (so not into Debug folder)
I cannot find it, where is it defined, to be generated into the Debug folder.

Thank you

Re: generate symbol to makefile

Posted: Fri Dec 02, 2016 12:28 pm
by paolo.gai
You can use a batch file and generate through the command line version of RT-Druid...

Can you share some info on the kind of application you are developing? Is it for research, or are you working in a company?

Ciao,

Paolo

Re: generate symbol to makefile

Posted: Mon Dec 05, 2016 1:31 pm
by szalokicsiga
I'm working in a company.