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

Add base priority get APIs #818

Merged
merged 13 commits into from
Oct 17, 2023

Conversation

chinglee-iot
Copy link
Member

@chinglee-iot chinglee-iot commented Oct 4, 2023

Description

  • Add uxTaskBasePriorityGet and uxTaskBasePriorityGetFromISR to get the base priority.

The unit test is added in this PR FreeRTOS/FreeRTOS#1099.

Test Steps

N/A

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#811

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov
Copy link

codecov bot commented Oct 4, 2023

Codecov Report

Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (631ae9e) 93.66% compared to head (e4647e2) 93.18%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #818      +/-   ##
==========================================
- Coverage   93.66%   93.18%   -0.48%     
==========================================
  Files           6        6              
  Lines        2526     2539      +13     
  Branches      604      606       +2     
==========================================
  Hits         2366     2366              
- Misses        107      120      +13     
  Partials       53       53              
Flag Coverage Δ
unittests 93.18% <0.00%> (-0.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
tasks.c 93.54% <0.00%> (-1.38%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chinglee-iot
Copy link
Member Author

Unit test result
image

image

@chinglee-iot chinglee-iot marked this pull request as ready for review October 4, 2023 08:01
@chinglee-iot chinglee-iot requested a review from a team as a code owner October 4, 2023 08:01
ActoryOu
ActoryOu previously approved these changes Oct 4, 2023
kar-rahul-aws
kar-rahul-aws previously approved these changes Oct 4, 2023
kar-rahul-aws and others added 2 commits October 4, 2023 15:29
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Spamfast
Copy link

Thanks guys. Much appreciated. :-)

@chinglee-iot chinglee-iot deleted the add-get-base-priority-apis branch October 19, 2023 06:37
n9wxu pushed a commit to n9wxu/FreeRTOS-Kernel that referenced this pull request Oct 26, 2023
* Add base priority get APIs
* Add MPU changes

---------

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
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.

5 participants