Closed Dazza0 closed 5 months ago
@Dazza0 Thank you for creating this PR. I will continue to fix CI test failure to have this PR merged.
Kudos, no new issues were introduced!
0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Attention: 1 lines
in your changes are missing coverage. Please review.
Comparison is base (
b4da9e3
) 93.65% compared to head (39163fa
) 93.62%. Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
tasks.c | 80.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
SMP FreeRTOS applications may call
xTaskGetCurrentTaskHandleForCore()
. However, when the same application is built withconfigNUMBER_OF_CORES = 1
, the function is no longer available.In general,,
configNUMBER_OF_CORES = 1
should be treated as a special case of an SMP FreeRTOS application, thus any SMP FreeRTOS API should also be callable even whenconfigNUMBER_OF_CORES = 1
,Test Steps
xTaskGetCurrentTaskHandleForCore()
in applicationconfigNUMBER_OF_CORES = 1
for build.Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.