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

shell: Fix shell uart not waking up shell on mcumgr data #16549

Merged

Conversation

nordic-krch
Copy link
Contributor

When mcumgr smp data was received over shell uart transport
it was not waking up shell thread and thus request was not
processed. Shell thread must be waken up on any incoming
data, even data which is only dedicated for mcumgr smp.

Fixes #16278

Signed-off-by: Krzysztof Chruscinski krzysztof.chruscinski@nordicsemi.no

When mcumgr smp data was received over shell uart transport
it was not waking up shell thread and thus request was not
processed. Shell thread must be waken up on any incoming
data, even data which is only dedicated for mcumgr smp.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
@nordic-krch
Copy link
Contributor Author

@PhilippFinke fyi

Copy link
Member

@carlescufi carlescufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix! Thanks!

@nordic-krch
Copy link
Contributor Author

@carlescufi @nashif can you merge it?

@carlescufi carlescufi merged commit 63e0ae0 into zephyrproject-rtos:master Jun 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Zepyhr v1.14.0] Unable to update FW with mcumgr over UART
4 participants