Closed Dazza0 closed 1 year ago
@aggarg @chinglee-iot Do we need to add some compatibility macros if there hasn't been a SMP capable release of FreeRTOS thus far?
@Dazza0 - We do not need backward compatibility macros as there is no release with SMP yet.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
9f4a0e3
) 93.64% compared to head (77426a4
) 93.64%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Description
SMP is enabled/disabled via the
configNUMBER_OF_CORES
option. This PR simply renames all occurrences ofCPU
toCore
in any public facing API for naming consistency. The following APIs have been renamed:traceENTER_xTaskGetCurrentTaskHandleCPU
->traceENTER_xTaskGetCurrentTaskHandleForCore
xTaskGetCurrentTaskHandleCPU
->xTaskGetCurrentTaskHandleForCore
This commit renames "CPU" to "Core" for any public facing API for consistency with other SMP related APIs (e.g., "configNUMBER_OF_CORES").
Test Steps
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.