-
Notifications
You must be signed in to change notification settings - Fork 682
Add pipeline support for nsh commandline #2737
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
Add pipeline support for nsh commandline #2737
Conversation
|
[Experimental Bot, please feedback here] The PR partially meets the NuttX requirements. Strengths:
Areas for improvement:
Recommendations:
By addressing these points, your PR will be more comprehensive and easier for the NuttX maintainers to review. |
ca58b8b to
8f76d9d
Compare
8f76d9d to
50da7c5
Compare
|
Link #2469 |
50da7c5 to
11008cb
Compare
This comment was marked as outdated.
This comment was marked as outdated.
11008cb to
3fb3566
Compare
e5b097a to
e7847cb
Compare
9f4b2de to
6767473
Compare
6767473 to
bd6006b
Compare
bd6006b to
d97057e
Compare
abda46c to
09e5bc7
Compare
This comment was marked as outdated.
This comment was marked as outdated.
cederom
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @JianyuWang0623 ! :-)
|
Hi @JianyuWang0623 ! This PR broke |
|
Perhaps @hujun260 may have a clue here too... |
@tmedicci OK, I'll prepare the environment and try to reproduce. |
1. A simple test with
|
|
|
@tmedicci Is there a full steps/configs to build/run
Currently ostest in |
|
@tmedicci ./tools/configure.sh -l esp32s3-devkit:smp
# Enable ESP32S3_MERGE_BINS
# Enable ESP32S3_QEMU_IMAGE
qemu-system-xtensa -nographic -machine esp32s3 -drive file=nuttx.merged.bin,if=mtd,format=raw
nsh> ostest
... ...
user_main: Exiting
ostest_main: Exiting with status 0
nsh> uname -a
NuttX 12.7.0 f41b0d00fdc-dirty Nov 12 2024 12:58:43 xtensa esp32s3-devkit
nsh> |
I tested with real hardware. Don't you have one at your disposal? I can try on QEMU too later. |
ok, will try on hardware later |
|
Just to add some details: I forgot to mention that our internal CI enables The patch: Applying this patch, the I attached the firmware generated by applying this patch with the following revisions: |
Hi @JianyuWang0623 , although the issue happens on those references, I've just on the latest master and it seems to be fixed: So, don't mind trying to find a solution for outdated code. We will keep testing it in our internal CI. Thanks! |
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
More details, please see apache/nuttx-apps#2737 Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
Summary
Add pipeline support for nsh commandline through
pipe2()andposix_spawn_file_actions_adddup2()And nesting pipeline supported.
Impact
nsh: nsh_parse_command()
Testing
General
With dd
Depends: #2751
Apache:NuttX CI