381 Commits

Author SHA1 Message Date
wangjianyu3
571c9652c8 nsh: Add pipeline support for nsh commandline
And nested pipeline supported.

Test
  1. Redirect in
    cat < /etc/init.d/rc.sysinit

  2. Simple pipeline
    ls | cat

  3. Nested pipeline
    ls | dd | cat | dd | cat

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-10 21:09:29 +08:00
wangjianyu3
59418b6149 Pack parameters of nsh_execute() as struct nsh_exec_param_s
1. Input redirect flags currently is hardcode, passing by arguments maybe better.
2. Only support redirect to path_name, redirect to fd is needed for pipeline.

Test
  1. Redirect in
    cat < /etc/init.d/rc.sysinit

  2. Redirect with FIFO
    mkfifo /dev/testfifo
    cat /dev/testfifo &
    ls > /dev/testfifo

  3. NSH Params
    set name `uname`
    echo $name

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2025-01-10 21:09:29 +08:00
ligd
98c601781b Merge branch 'master' into vela
Change-Id: If7ed53cfbd43a5926c1682aa71147fd725a19cdd
2024-11-20 19:39:47 +08:00
ouyangxiangzhen
5fca627d73 apps: Fix compilation error after nuttx/arch.h excluded.
Change-Id: Idd3cbc2be64f32dd2731e65bb1230ab966eccb96
2024-11-20 19:39:43 +08:00
anjiahao
6c9987b130 top:fix memleak if ps_recored retrun error
Change-Id: Ib8d05e0eee167b334fa911e0875fc00294be2e6e
2024-11-20 19:39:40 +08:00
shizhenghui
590a52c28f nxcodec: add rich debugging logs
Change-Id: I309886263ed5968fc7636e6de13f9188dd17253b
2024-11-20 19:39:36 +08:00
shizhenghui
246a299a74 nxcodec: fix build warning
Change-Id: I013f1276aafc7df9737adac6225e3bb01983e2fa
2024-11-20 19:39:35 +08:00
wangmingrong
0a1833b24f nsh: Fix PS printing misalignment
Change-Id: I818449bee3b984aa58d793ac1ac542a868527244
2024-11-20 19:39:32 +08:00
zhangliangyu3
899ce72010 add INTERPRETERS_WAMR_DYNAMIC_AOT_DEBUG config
Change-Id: Iab31c4cbebe5fe02b71ad471b3864d0a11385384
2024-11-20 19:39:30 +08:00
likun17
01b8d2fb5b uORB: Add topic information acquisition and setting interface.
Change-Id: Ie29d3c6f042911de72fe65ade2fd1d17931a827a
2024-11-20 19:39:25 +08:00
chenzhijia
e79032e409 examples/tlpi:Add t_sched_getaffinity.c compilation
Change-Id: If98531d2f891f5a63178f570e9302161551f25e1
2024-11-20 19:39:23 +08:00
wanggang26
65229bb547 enable SOCK_CLOEXEC explicit
Change-Id: I0e920d109477d216758cd7c566e70089a21c9ffa
2024-11-20 19:39:21 +08:00
likun17
5b0ad79d21 gpu:gpu_log.cpp add LIBC_PRINT_EXTENSION dependency.
Change-Id: I826cd76277cd61a0c02782346462b0bff914d066
2024-11-20 19:39:19 +08:00
simbit18
e25a7511e6 build.yml: Workflow aligned with nuttx repo
build.yml: Limit the GitHub Runners

see https://github.com/apache/nuttx/pull/13412

Change-Id: I373e810761872a61ef9a870d6dc1444917c0c72d
2024-11-20 19:39:17 +08:00
buxiasen
51f3de4ea0 system/coredump: compatible restore name with NAME_MAX 32 Bytes
Change-Id: Ic73436e6e60d745ccd9088f5a8691ae8ef633fb5
2024-11-20 19:39:16 +08:00
likun17
c34554924e uORB: Add formatted string ("o_format") parameters and remove callback log ("cb") printing.
Change-Id: Icd02a93958e34af76e950b14c03b85839e8c9cb4
2024-11-20 19:39:14 +08:00
liaobin1
3d9854bc4b cmake: change the aiotjsc tool compilation from quickjs to quickapp
Change-Id: I77e5ecf79f55d704145fcf73fff6732c32a84f3a
2024-11-20 19:39:12 +08:00
wangjianyu3
216f96d32c module/sotest: Try devminor of romdisk
Change-Id: Iaa0432e3a17897956551a5710025b13f4528ec70
2024-11-20 19:39:10 +08:00
yinshengkai
848f7d8c25 nshlib: fix top command accessing illegal memory
Change-Id: I67cf0c2c8bf6f8b18c37bdd62ef8895ba4312ce7
2024-11-20 19:39:08 +08:00
makejian
bd47909348 testing/crypto: add crc32 testcases
Change-Id: I1390e7053e25975a08b4da73d516992551552999
2024-11-20 19:39:05 +08:00
pengyiqiang
241520aa56 lvgl/Makefile: support multiple options for LV_OPTLEVEL
Change-Id: Id17299f932bf747f513291855da71fea7d36a990
2024-11-20 19:39:04 +08:00
xuxin19
b5231c3afe cmake:implement CMake build for NuttX Lua interpreter
Change-Id: I772097b551f6e486bbbb917f42b6bb3c123cc7e3
2024-11-20 19:39:02 +08:00
ouyangxiangzhen
e4cb10dc74 benchmarks/rt-tests: Add CONFIG_PIPE dependency and fix compilation issues.
Change-Id: I5d793f8fa4dda0a809db3ce1415528567d89aa30
2024-11-20 19:39:00 +08:00
meijian
7ab251d9a8 [wireless][wapi] add extend api for private needs
Change-Id: I6c60054a8d3b2cb7a8010b3a841a2625e49f4a77
2024-11-20 19:38:58 +08:00
zhangshoukui
98cdf08c61 ltp: TESTING_LTP_STACKSIZE depend on TESTING_LTP
Change-Id: I7bb46221acf0491bbc8c3ca973d9dd4036f017c1
2024-11-20 19:38:57 +08:00
wangjianyu3
428f4d58e1 system/fastboot: Complete the erase command
Change-Id: I2207e1030496ca1df21827d08bdb324375695dc2
2024-11-20 19:38:54 +08:00
qinliansong
a003e6bb2d update config switch to only a HEAPDUMP
Change-Id: I7be383090ac7414f78af73343cba1c9d3a0e20ec
2024-11-20 19:38:52 +08:00
Huang Qi
14d62f9f2f .gitignore: Add .aider* to .gitignore
Change-Id: I8926f205889bd2a8dac23befda17e4e3c2d9ad28
2024-11-20 19:38:50 +08:00
Huang Qi
1a3fc7c391 testing/debug: Enhancement for watch address by cmd line
Change-Id: Ia01f2091cb4118848405dd8fa11eca30f4a08ec0
2024-11-20 19:38:49 +08:00
dongjiuzhu1
c00326cc60 system/uorb: using uorb.h to replace sensors header file
Change-Id: I2bb5f353fd495507b82794cb4776742ea0d0158c
2024-11-20 19:38:47 +08:00
zhangwenjian
dfd85fc984 perf-tool: need to relase file resource
Change-Id: I6f2d5d0f0875811f28a6f0ddd35cd6116bd8ba97
2024-11-20 19:38:44 +08:00
dependabot[bot]
ba4e2d080c build(deps): bump github/super-linter from 6 to 7
Bumps [github/super-linter](https://github.com/github/super-linter) from 6 to 7.
- [Release notes](https://github.com/github/super-linter/releases)
- [Changelog](https://github.com/github/super-linter/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/super-linter/compare/v6...v7)

Change-Id: I06894dddd5bdbe2407c961cf5752f310701a8df8

---
updated-dependencies:
- dependency-name: github/super-linter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-20 19:38:43 +08:00
makejian
497632d761 mbedtls/psa: provides PSA method for using hardware random driver
Change-Id: I038ec227725e99a0d1ec2b40dfafbafb0c9a5268
2024-11-20 19:38:41 +08:00
hujun5
04958f5e65 ostest: smp_call only valid in FLAT BUILD
Change-Id: Ieff5278d646d28cf9c96a702fa7a909e3dd841b8
2024-11-20 19:38:39 +08:00
likun17
32fc6b38c6 uorb:Added 6dof motion and gesture related types.
Change-Id: Ia60bdecb382513aa9e3e08ba187f3e3e5ea4a1cb
2024-11-20 19:38:37 +08:00
Tim Hardisty
3ba729159b Update settings.c
Change-Id: I9ae670c2afdd3519cfae94faa60b79dc5af63c4c
2024-11-20 19:38:35 +08:00
likun17
c7ba1fbb31 uORB:Fixed the problem that uorb output cannot wrap after deleting lib_libbsprintf automatic wrapping.
Change-Id: I28ff9cf708335954fb31aa0117f0c0c9888a31eb
2024-11-20 19:38:34 +08:00
Michal Lenc
dbed35ba91 can: add support for FD frames if FD mode is configured
This enhances can example application with the possibility to send
CAN FD frames if FD mode is configured. Both EDL and BRS flags are
now correctly set with the latter one configurable with application's
arguments. Also data bytes are now correctly switched to DLC.

Change-Id: I5114304693fd79da24fe6b3c1037a86c0b16d3c0
Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-11-20 19:38:32 +08:00
liaobin1
e34c380c53 wasm: export wamr_custom_init for wasm env to register APIs
Change-Id: I685178ae854bbf7c20af3aa7fadf37e197953e63
2024-11-20 19:38:30 +08:00
jianglianfang
9a882ba3ad apps/examples: fb_main need ioctl(FBIOPAN_DISPLAY) to update and adapt to double buffer mode.
Change-Id: I56da3cfacf6f3f52bb293d970e9d8807e72bfa69
2024-11-20 19:38:28 +08:00
Huang Qi
73e18528f5 wamr: Add external module registration mechanism
Change-Id: I960b39c5d74972f6278accea753cdb508604a75d
2024-11-20 19:38:26 +08:00
Matheus Catarino
ffd97c1e43 Zig & D examples clean & refactor
dlang: use importC to get NuttX include
zig: leds_zig added
Change-Id: Ia814b720ea66b703845f792b4cbf035faf1f596b
2024-11-20 19:38:24 +08:00
zhangwenjian
f81c2f383d perf-tool:support record function
Change-Id: I025d023203f96006bd58787eee9e683acdd2971b
2024-11-20 19:38:23 +08:00
Matheus Catarino
2cc6cfd639 hello_swift added
required: swift 6 (embedded module)

Change-Id: I46829741ebb1330c3d2736cedb7ae76e32453840
2024-11-20 19:38:21 +08:00
buxiasen
8bc9cc40b3 testing/pm_smp: delay_yield ticks 1->2, avoid idle canot run one cycle
Change-Id: I795624e861c7e47ad4fa4cda32bd6227e117cffa
2024-11-20 19:38:18 +08:00
guoshichao
aa6d673b51 ostest/fpu.c: fix the greenhills compile warning
Change-Id: I503fac576f860ca87be261781479e141545d0bf3
2024-11-20 19:38:15 +08:00
makejian
762feefde9 testing/crypto: add ecdsa testing
Change-Id: Icd5bdaae7386481ce9d2e64d911e5c0cb17cc052
2024-11-20 19:38:13 +08:00
zhangchao53
23d194a517 porting fake function framework
Change-Id: I422a1d2bff25570934f0f0eea511739cf8956a2f
2024-11-20 19:38:11 +08:00
Xin Xu
3e19b1d5e1 Revert "cmake:builtin register support NONE srcs target"
This reverts commit bcf655e196911c50034dc2cbc78401960f09a796.
2024-11-20 19:38:09 +08:00
wangjianyu3
9538688c69 system/fastboot: Fix error that download_size always be zero
Change-Id: I52493d62d61f142302aded475058ac4045dc3551
2024-11-20 19:38:08 +08:00