Hello and thanks for your services,
I would like to ask a question concerning RT-Druid and the oil language, I'm trying to compile a project that uses erika os, a linking error was produced stating that the variable 'EE_th_absdline' is undefined, the following are the ways 'EE_th_absdline' is used in the code:
EE_th_absdline[t] = EE_hal_gettime()+EE_th_reldline[t];
and
if (t == EE_NIL || // this test works also for the main task
(EE_stk_queryfirst() != EE_NIL &&
((EE_STIME)(EE_th_absdline[EE_stk_queryfirst()] - EE_th_absdline[t]) <= 0
|| EE_sys_ceiling >= EE_th_ready_prio[t])))
so I assumed that this array should be generated by RT-Druid from the oil file, and that it should contain the absolute deadlines for all threads.
so I checked the thread definition in the oil file and found that it contains a variable called "REL_DEADLINE" that is filled with type "string".
the problem is that I don't know how to set this variable and it isn't mentioned in the oil 2.5 documentation, and when I set it with random strings, nothing changes in the eecfg.c, eecfg.h files.
Hope you can refer me to the documentation where this variable is described so that the 'EE_th_absdline' array definition would be produced.
Thanks.
Oil Enquiry: REL_DEADLINE
Moderator: paolo.gai
Re: Oil Enquiry: REL_DEADLINE
That is part of the EDF kernel, just check the examples on EDF for the dsPIC... they should work.
PJ
PJ
Re: Oil Enquiry: REL_DEADLINE
thanks paolo for your help,
but the linker produces errors in the semaphore files ee_spost.c, ee_swait.c , in both cases the compiler options are as follows
/***********************************************/
#if defined(__FP__)
some code
#else
the code that uses EE_th_absdline
#endif
/***********************************************/
and it isn't a part of EDF code, or is there a problem in the source code?
but the linker produces errors in the semaphore files ee_spost.c, ee_swait.c , in both cases the compiler options are as follows
/***********************************************/
#if defined(__FP__)
some code
#else
the code that uses EE_th_absdline
#endif
/***********************************************/
and it isn't a part of EDF code, or is there a problem in the source code?