Page 1 of 1

Infineon AURIX / TASKING Compiler / can not link my project

Posted: Tue Dec 09, 2014 5:55 pm
by philipp
Hello!

I have a problem when linking my code. The Compiling works so far without warnings. But at the end I get the following errors:

LD myProject_master.elf
ltc E106: unresolved external: EE_tc2Yx_cpu1_start - (common.o)
ltc E106: unresolved external: EE_tc2Yx_configure_clock - (ee_startos.o)
ltc E106: unresolved external: EE_tc2Yx_cpu2_start - (common.o)
ltc E106: unresolved external: EE_tc2Yx_initialize_system_timer - (ee_startos.o)
ltc E106: unresolved external: EE_tc2Yx_stm_set_clockpersec - (ee_startos.o)
ltc E106: unresolved external: EE_tc27x_configure_clock_internal - (ee_tc27x_system.o)
ltc F019: unrecoverable error: fatal link error

I have no idea to fix that problem. Can anyone help me?

For my project I use the following components:

MCU: Infineon AURIX TC27x
Compiler: TASKING TC43r3
EE_RT-Druid-2.4.0

Thank you for your Help!

greeting,

philipp

Re: Infineon AURIX / TASKING Compiler / can not link my proj

Posted: Wed Dec 10, 2014 9:02 am
by paolo.gai
Hi Philipp!

The support for TASKING 4.3 was added by Chris recently, and the last patch was on Nov 23rd!

To use it you should download the SVN and configure an external repository... you can configure the repository from the Preferences... or wait a bit for the next nigtly build.

Ciao,

PJ

Re: Infineon AURIX / TASKING Compiler / can not link my proj

Posted: Wed Dec 10, 2014 9:33 am
by chris.kreuzberger
Hi!

Some notes on Tasking 4.3:

Besides on changing to the SVN files, you have to add the following line in the conf.oil:
EE_OPT = "EE_TASKING_4_3";
(COMPILER_TYPE = TASKING;)

Multicore support is not implemented yet, but I am working on it.

Best regards,
Chris

Re: Infineon AURIX / TASKING Compiler / can not link my proj

Posted: Wed Dec 10, 2014 9:36 am
by e.guidieri
I addition to what Paolo said:

Here you can find the instructions to configure RT-Druid to work with an external repository:
http://erika.tuxfamily.org/wiki/index.p ... figuration

Plus in order activate the Chris patch you need to specify:
EE_OPT = "EE_TASKING_4_3";

In your OIL file. Probably I will ask Chris to remove this requirement and let its patch be default, because, in any case without that, Tasking support seems broken.

Bye,
Errico

*P.S. Mostly simultaneous posting with Chris :)