-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Update SMP get idle task memory for static allocation #784
Update SMP get idle task memory for static allocation #784
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #784 +/- ##
==========================================
- Coverage 93.62% 93.60% -0.02%
==========================================
Files 6 6
Lines 2508 2517 +9
Branches 598 602 +4
==========================================
+ Hits 2348 2356 +8
Misses 107 107
- Partials 53 54 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
* Rename vApplicationMinimalIdleTask to vApplicationPassiveIdleTask * Rename the macro configUSE_MINIMAL_IDLE_HOOK to configUSE_PASSIVE_IDLE_HOOK * Update xTaskGetIdleTaskHandle for SMP
…glee-iot/FreeRTOS-Kernel into update-smp-idle-task-memory
This pull request in FreeRTOS-Community-Supported-Demos fixes the FreeRTOS-Kernel-Demos / GNU ARM Toolchain failure. It will be merged after this kernel PR is merged. |
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Add static idle task memory support for SMP
Description
In the FreeRTOS SMP, configNUMBER_OF_CORES - 1 idle tasks which do the minimal job are also created to ensure that each core has an idle task to run when no other task is available to run. The prototype of
vApplicationGetIdleTaskMemory()
is changed in SMP to specify the idle task memory.Set xCoreID to 0 to specify the idle task memory for the active idle task. Set xCoreID to 1 ~ ( configNUMBER_OF_CORES - 1 ) to specify the idle task memory for a passive idle task which does the minimal job.
codecov/project : fixed in FreeRTOS/FreeRTOS#1096
FreeRTOS-Kernel Demos / GNU ARM Toolchain (pull_request) : fixed in FreeRTOS/FreeRTOS-Community-Supported-Demos#13
Test Steps
Checklist:
Related Issue
Address #750 comment in line 469
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.