Skip to content

Add IRQ safe API for message buffer reset #1033

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

Merged
merged 7 commits into from
Apr 16, 2024
Merged

Add IRQ safe API for message buffer reset #1033

merged 7 commits into from
Apr 16, 2024

Conversation

HagaiMoshe
Copy link
Contributor

Add IRQ safe API for message buffer reset

Description

Allow reseting the message and stream buffers from IRQ context

Test Steps

called the new added API xMessageBufferResetFromISR from within interrupt context.

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

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

@HagaiMoshe HagaiMoshe requested a review from a team as a code owner April 15, 2024 10:13
hagai.moshe added 2 commits April 16, 2024 09:23
Allow reseting the stream buffer from ISR context

Signed-off-by: hagai.moshe <hagaimoshe@outlook.com>
Allow reseting the stream buffer from ISR context

Signed-off-by: hagai.moshe <hagaimoshe@outlook.com>
@kar-rahul-aws
Copy link
Member

Hi @HagaiMoshe
Thank you for the PR. We are looking into it and will update.

kar-rahul-aws
kar-rahul-aws previously approved these changes Apr 16, 2024
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@xuelix xuelix merged commit 9bfd0ab into FreeRTOS:main Apr 16, 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.

6 participants