I am using KEIL-RTX RTOS for cortex-m3 board.There are many tasks of same priority & Robin robin scheduling is enabled in my code.I need to prioritize a task but that is not supported in KEIL-RTX RTOS while round robin scheduling is enabled.Then How to prioritize a task with round robin scheduling???
Of course you can set different task-priorities when round-robin is enabled. A round-robin task switch is only performed when a task is active longer than the specified round-robin ticks. If one task needs a higher priority, please use the second parameter of os_tsk_create, os_tsk_create_user, os_tsk_create_ex and os_tsk_create_user_ex specifies the priority. See: http://www.keil.com/support/man/docs/rlarm/rlarm_os_tsk_create.htm www.keil.com/.../rlarm_os_tsk_create_user.htm www.keil.com/.../rlarm_os_tsk_create_ex.htm www.keil.com/.../rlarm_os_tsk_create_user_ex.htm