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

CMSIS RTOS priority levels

I've been looking through some details about porting code from Keil's RTX (RL-ARM) to CMSIS_RTOS RTX.

In particular Appnote #264 looks appropriate to that.

I see that whereas the RL-ARM RTX allows for up to 250 task priority levels, CMSIS is limited to 7.

This makes me wonder. Why so small? Have I maybe structured my previous work in an unfavorable way by using more than 7 priority levels?

Am I missing something?

Parents
  • No you haven't missed anything. It's too few in my opinion and has been a problem for me when porting a V4 application with pre-emptive scheduling to V5. Luckily in my case 7 was just enough.

Reply
  • No you haven't missed anything. It's too few in my opinion and has been a problem for me when porting a V4 application with pre-emptive scheduling to V5. Luckily in my case 7 was just enough.

Children
No data