Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RTOS2 priority value mapping (#96) #100

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

VladimirUmek
Copy link
Collaborator

  • FreeRTOS handles priorities from 0 to configMAX_PRIORITIES-1

  • RTOS2 defines priorities from 1(osPriorityIdle) to osPriorityISR(56)

  • Till now RTOS2 passed priorities 1:1 to FreeRTOS, i.e. FreeRTOS priority matched osPriority_t.
    This commit changes priority mapping: FreeRTOS priority is now (osPriority_t - 1).

- FreeRTOS handles priorities from 0 to configMAX_PRIORITIES-1
- RTOS2 defines priorities from 1(osPriorityIdle) to osPriorityISR(56)

- Till now RTOS2 passed priorities 1:1 to FreeRTOS, i.e. FreeRTOS priority matched osPriority_t.
  This commit changes priority mapping: FreeRTOS priority is now (osPriority_t - 1).
Copy link

Test Results

   24 files     24 suites   0s ⏱️
  161 tests   135 ✅  22 💤  4 ❌
3 864 runs  3 240 ✅ 528 💤 96 ❌

For more details on these failures, see this check.

Results for commit 68b3d4f.

@VladimirUmek VladimirUmek merged commit 9cdbe17 into main Apr 10, 2024
8 of 9 checks passed
@VladimirUmek VladimirUmek deleted the fix_os_priority branch April 10, 2024 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant