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

Only check for stream buffer dependencies, if configUSE_STREAM_BUFFERS==1 #1109

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

d-otte
Copy link
Contributor

@d-otte d-otte commented Aug 2, 2024

Only check for stream buffer dependencies, if configUSE_STREAM_BUFFERS==1.

Description

The checks for configUSE_TASK_NOTIFICATIONS and INCLUDE_xTaskGetCurrentTaskHandle , are now placed after the check for configUSE_STREAM_BUFFERS==1, and hence only performed if support for stream buffers is actually requested.

Test Steps

Setting configUSE_STREAM_BUFFERS and configUSE_TASK_NOTIFICATIONS and/or INCLUDE_xTaskGetCurrentTaskHandle to 0 will trigger a compilation error. This is also described in #1108 .

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

This PR addresses issue #1108 .

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

@d-otte d-otte requested a review from a team as a code owner August 2, 2024 15:27
…S==1.

Signed-off-by: Daniel Otte <d.otte@wut.de>
Copy link

sonarcloud bot commented Aug 5, 2024

@aggarg aggarg merged commit d750173 into FreeRTOS:main Aug 5, 2024
16 checks passed
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.

3 participants