We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
Has anyone got to hook rt_post_taskswitch()? I am using Keil and RTX. I want to check the timing of task swithcing (but not from the tasks themselves). Onthis forum I have found out that rt_post_taskswitch, can do this. However I include this WEAK function in my code but it is never called.
Anyone had any experiences with this, and got it to work?
thanks
Thanks for your reply, no its no specified as weak in my code.. here is the actual code
void rt_post_taskswitch (U32 task_id) {
FS_SetPin( LEDport , LEDpin , PIN_HIGH); FS_SetPin( LEDport , LEDpin , PIN_LOW);
}