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

[zephyr] Run shell commands in Matter thread #28623

Merged
merged 1 commit into from
Aug 16, 2023

Commits on Aug 14, 2023

  1. [zephyr] Run shell commands in Matter thread

    1. Run Matter shell commands in Matter thread instead of
       Zephyr's shell thread. Make the shell thread wait for
       the condition variable signalled when the command ends
       in the Matter thread.
    
       This is done to avoid data races when accessing Matter's
       data structures, and avoid stack overflow when executing
       Matter functions in the shell thread that uses
       a relatively small stack.
    2. Print either:
       - "Done" or
       - "Error: <error_string_or_code>"
       after each shell command. This is to align with other
       platforms and be able to remove unnecessary logging
       from existing shell command implementations.
    
    Signed-off-by: Damian Krolik <damian.krolik@nordicsemi.no>
    Damian-Nordic committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    35728c2 View commit details
    Browse the repository at this point in the history