| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
App startup:merge nsh_builtin into nsh_fileapps Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
fs: rename PSEUDOFS_SOFTLINKS to FS_LINKS Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com> | 2 个月前 | |
Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) to support the tristate option correctly and unify the usage Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
App startup:merge nsh_builtin into nsh_fileapps Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
nshlib: Add stderr redirection support This commit implements stderr redirection in HSN, support Bash-like syntax for redirecting standard error output. Support both foreground and background commands. example: - nsh> ls noexists 2> err.log - nsh> ls noexists 2> err.log & - nsh> ls noexists 2>> err.log - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS1 & - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2>&1 & Signed-off-by: fangpeina <fangpeina@xiaomi.com> | 2 个月前 | |
toolchain/ghs: Fix green hills toolchain build Vela warnings Signed-off-by: yanghuatao <yanghuatao@xiaomi.com> | 2 个月前 | |
nsh: support watch command Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 2 个月前 | |
fix compile error Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
nshlib/md5: Support reading from standard input Sometimes users may want to calculate the MD5 of part of a file(e.g. check partition contents for debug after flashing, size of which may be greater than image). This can be done with the "dd" command and pipes, the "md5" command just needs to support reading from standard input. For example: dd if=/dev/virtblk0 bs=512 count=1 | md5. Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> | 2 个月前 | |
fs: rename PSEUDOFS_SOFTLINKS to FS_LINKS Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com> | 2 个月前 | |
nsh_console: Fixed the bug where the process could not be exited using Ctrl+C after redirecting the log. Signed-off-by: wangshaoxin <wangshaoxin@xiaomi.com> | 2 个月前 | |
nshlib: Add stderr redirection support This commit implements stderr redirection in HSN, support Bash-like syntax for redirecting standard error output. Support both foreground and background commands. example: - nsh> ls noexists 2> err.log - nsh> ls noexists 2> err.log & - nsh> ls noexists 2>> err.log - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS1 & - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2>&1 & Signed-off-by: fangpeina <fangpeina@xiaomi.com> | 2 个月前 | |
Merge branch 'dev-merge-github-20230228' into dev | 2 个月前 | |
nshlib: disable nsh error print if NSH_DISABLE_ERROR_PRINT enabled text data bss dec hex filename 398953 27088 4128 430169 69059 nuttx /* before */ 389241 27072 4128 420441 66a59 nuttx /* after */ -9712 -16 Signed-off-by: chao an <anchao@xiaomi.com> | 2 个月前 | |
bugfix:nsh_ddcmd type mismatchin conditional expression Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com> | 2 个月前 | |
Merge branch 'dev-merge-github-20230228' into dev | 2 个月前 | |
nshlib: Add stderr redirection support This commit implements stderr redirection in HSN, support Bash-like syntax for redirecting standard error output. Support both foreground and background commands. example: - nsh> ls noexists 2> err.log - nsh> ls noexists 2> err.log & - nsh> ls noexists 2>> err.log - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS1 & - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2>&1 & Signed-off-by: fangpeina <fangpeina@xiaomi.com> | 2 个月前 | |
nshlib/nsh_fscmd:improve symlink handling in ls_handler This patch modifies the ls_handler logic to improve the handling of symbolic links (symlinks). First, call lstat() to check if the current file is a symlink. If the file is determined to be a symlink, then call stat() to obtain the information of the target file. Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com> | 2 个月前 | |
If file name too long,can show next dir and no error info Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com> | 2 个月前 | |
nsh: support watch command Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 2 个月前 | |
Replace all strncpy with strlcpy Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Use lib_get_tempbuffer Saving stack Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com> | 2 个月前 | |
add -f for umount Signed-off-by: zhengyu16 <zhengyu16@xiaomi.com> | 2 个月前 | |
nshlib: Remove the remaining CONFIG_FILE_STREAM dependence continue the change from https://github.com/apache/nuttx-apps/pull/1559 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
net/ethernet: ARP can be configured on interface ARP can be configured on interface Signed-off-by: gaohedong <gaohedong@xiaomi.com> | 2 个月前 | |
nsh: fix nsh redirect fd double close avoid double-close of redirection fds Signed-off-by: zhenwei fang <fangzhenwei@bytedance.com> | 2 个月前 | |
apps/nshlib: add the missing FAR macro for all source files Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com> | 2 个月前 | |
nshlib: Remove the remaining CONFIG_FILE_STREAM dependence continue the change from https://github.com/apache/nuttx-apps/pull/1559 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
nsh/tools: add support for DISABLE_SIGNALS make the nsh tools can work with SIGNAL disabled Signed-off-by: guoshichao <guoshichao@xiaomi.com> | 2 个月前 | |
nsh: support watch command Signed-off-by: yinshengkai <yinshengkai@xiaomi.com> | 2 个月前 | |
netlib/setroute: fix dhcpd stack-overflow when calls netlib_set_dripv4addr with debug info-level Signed-off-by: meijian <meijian@xiaomi.com> | 2 个月前 | |
nshlib: Add stderr redirection support This commit implements stderr redirection in HSN, support Bash-like syntax for redirecting standard error output. Support both foreground and background commands. example: - nsh> ls noexists 2> err.log - nsh> ls noexists 2> err.log & - nsh> ls noexists 2>> err.log - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2> /dev/ttyS1 & - nsh> sh < /dev/ttyS0 > /dev/ttyS0 2>&1 & Signed-off-by: fangpeina <fangpeina@xiaomi.com> | 2 个月前 | |
nsh: return EOF when nread is 0 Signed-off-by: yangsong8 <yangsong8@xiaomi.com> | 2 个月前 | |
nshlib/reset_cause: Fix format warning for flag Fix format string not appropriate warning for cause.flag. nsh_syscmds.c: In function 'cmd_reset_cause': nsh_syscmds.c:513:24: error: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'} [-Werror=format=] 513 | nsh_output(vtbl, "%s(%lu)\n", | ^~~~~~~~~~~ 514 | g_resetcause[cause.cause], cause.flag); | ~~~~~~~~~~ | | | uint32_t {aka unsigned int} Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> | 2 个月前 | |
nshlib: Remove the remaining CONFIG_FILE_STREAM dependence continue the change from https://github.com/apache/nuttx-apps/pull/1559 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Minor typo fix Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Replace all strncpy with strlcpy Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
nshlib: add negative number logical judgement support for test and [ command Signed-off-by: wanggang26 <wanggang26@xiaomi.com> | 2 个月前 | |
nsh: Fix incorrect redirection restore in cmd_time() Signed-off-by: wushenhui <wushenhui@xiaomi.com> | 2 个月前 | |
Merge branch 'dev-merge-github-20230228' into dev | 2 个月前 | |
nshlib: Remove the remaining CONFIG_FILE_STREAM dependence continue the change from https://github.com/apache/nuttx-apps/pull/1559 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
nsh_vars: Remove rogue sched_unlock() There is no corresponding sched_lock() for this and therefore this causes random crashes. Found when running a long init script which utilizes shell variables in SMP mode. | 2 个月前 | |
nshlib/cmd_wait: Wait failed if "PROCFS/PROCES" not enabled Env sim:nsh - CONFIG_FS_PROCFS_EXCLUDE_PROCES=y Error nsh> sleep 5 & sh [4:100] nsh> wait 4 nsh: wait: wait failed: 2 cmd_wait(): snprintf(path, sizeof(path), "/proc/%d/status", tid); Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> | 2 个月前 | |
driver/sensor: rename /dev/sensor -> /dev/uorb because this directory contains all topics by uorb using, not just sensors. Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 | |
driver/sensor: rename /dev/sensor -> /dev/uorb because this directory contains all topics by uorb using, not just sensors. Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com> | 2 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 | ||
| 2 个月前 |