Lib with all OSEK operations

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Locked
eugenskt

Lib with all OSEK operations

Post by eugenskt »

Hello,

is it possible with RTDruid to build a lib where all OSEK operations (actually I need SuspendAllInterrupt and so on). My problem is I have a lib in my project which referenced to this operations. But the builded libee has not this references.

What I done: 1. Generate eecfg.h/c with oil file
2. Then build libee (I need only libee, but it contains only EE stuff, no OSEK API)
3. Put it in my project
4. Build project (with own build environment)
5. Get linker error

Thanks!

Regards, Eugen
paolo.gai
Administrator
Posts: 877
Joined: Thu Dec 07, 2006 12:11 pm

Re: Lib with all OSEK operations

Post by paolo.gai »

You probably need the .h include tree of ERIKA in addition to the lib file.

Note that the OSEK primitives are #defines to the real function names, in order to have all symbold start with "EE_"...

Ciao,

Paolo
Locked