Skip to content

iut: Make shell suspend/resume work with latest Zephyr #63

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kwd-doodling
Copy link
Contributor

They're previously developed against zephyr 3.7 and out of date. Expose them in header file iut_zephyr.h.
They'll be used in incoming pm tests.

Copilot

This comment was marked as outdated.

@kwd-doodling kwd-doodling force-pushed the dwang4_iut_shell_suspend branch from 91b2138 to fb15ca6 Compare July 31, 2025 08:44
@kwd-doodling kwd-doodling requested a review from Copilot July 31, 2025 08:44
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates shell suspend/resume functionality to work with the latest Zephyr version by adapting to changes in the shell UART backend structure and exposing functions in a new header file. The changes address compatibility issues from when the code was developed against Zephyr 3.7.

  • Update shell UART backend structure access to use the new polling interface
  • Create a new header file to expose shell suspend/resume functions
  • Add build assertion to prevent incompatible configuration

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
zephyr/iut_test/test_zephyr/include/iut_zephyr.h New header file exposing shell suspend/resume functions with conditional compilation
zephyr/iut_test/test_zephyr/CMakeLists.txt Add include directory for the new header file
zephyr/iut_test/src/shell_iut.c Update shell backend structure access and add build assertion for configuration validation

They're previously developed against zephyr 3.7 and out of date.
Expose them in header file iut_zephyr.h.
They'll be used in incoming pm tests.

Signed-off-by: Dong Wang <[email protected]>
@kwd-doodling kwd-doodling force-pushed the dwang4_iut_shell_suspend branch from fb15ca6 to 9d47dbc Compare August 1, 2025 00:33
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.

2 participants