Page 1 of 1

Lib with all OSEK operations

Posted: Wed Jun 19, 2013 10:51 am
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

Re: Lib with all OSEK operations

Posted: Thu Jun 20, 2013 11:23 am
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