This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RTX using rt_post_taskswitch

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

Parents
  • Did you specify it as weak?

    Note that the library may specify a function as weak. But your code shouldn't, since the goal is that the weak function in the library should be replaced with a non-weak function supplied by you.

Reply
  • Did you specify it as weak?

    Note that the library may specify a function as weak. But your code shouldn't, since the goal is that the weak function in the library should be replaced with a non-weak function supplied by you.

Children