Commit Graph

38 Commits

Author SHA1 Message Date
v-tangmeng 6528ef552a fix the compilation error caused by CONFIG_DISABLE_SIGNALS
The commit 'add support for CONFIG_DISABLE_SIGNALS' led to:

undefined reference to `sigaction'

Signed-off-by: v-tangmeng <v-tangmeng@xiaomi.com>
2026-04-20 15:20:13 +08:00
Xiang Xiao de11400ce1 Change the private default signal number to 32
and remove the unused private signal number macro

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:40 +08:00
openvela-robot 13329a1069 watchdog:test watchdog not depend on fs.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2026-04-20 15:08:40 +08:00
openvela-robot b4001c66ca DroneCAN add socketcan support, rename to DroneCAN
Rename canardv1 to OpenCyphal

Apply suggestions from code review

Co-authored-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:08:38 +08:00
openvela-robot 895122cd3f apps/system: Call arg_freetable before iptables/tcpdump exit
Forget to free argtable before exit.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:08:38 +08:00
openvela-robot cbf092ea72 bump toywasm version 2026-04-20 15:08:36 +08:00
openvela-robot 4c26acaebb Revert "apps: add default uid for builtin app"
This reverts commit 22d81c55e483d3fe05f9ebb8e1c644e4763870ac.
2026-04-20 15:08:36 +08:00
openvela-robot 896fdc5dcf ostest: fix smp ostest fail
In SMP we need improve thread waiting strategy

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-20 15:08:34 +08:00
openvela-robot f5092dcfe9 nshlib: Don't show passwd in telnet login
Current implementation is broken, in this patch ECHO is
disabled by termios.

This patch works with https://github.com/apache/nuttx/pull/8950

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:08:33 +08:00
openvela-robot a4be6a233e nshlib/nsh_fscmds.c:Add whether or not to pass in empty arguments when rm -r
When rm -r is passed with no address specified, it will automatically recursively unlink all files under the root path ('/') until unlinking to the mounted folder causes the unlink to fail. In this change, rm -r without a specified path will prompt for missing arguments
2026-04-20 15:08:32 +08:00
openvela-robot c7e04ccd31 drivertest:Add touch panel test case.
remove vapp in rcS.audio,run cmocka_driver_touchpanel

Signed-off-by: liuhongchao <liuhongchao@xiaomi.com>
2026-04-20 15:08:31 +08:00
openvela-robot 8517912798 system/ramspeed:Fix the problem that irq_disable is often opened.
Fix the problem that "when repeat_num!=0, there is no break, so irq_disable will be configured to true by default".
2026-04-20 15:08:29 +08:00
openvela-robot 4752743729 cmd_reboot:fix build errror
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:08:28 +08:00
openvela-robot 8f05c1e156 nsh/alias: Add support for alias arguments
This adds support for more complex alias handling, such as:

$ alias ls='ls -l'

Previously such an alias was not split into the command verb and the
argument correctly, instead the full alias string was handled as the
verb, which obviously fails.

This commit fixes this by expanding the alias, checking whether it has
arguments and if so, it merges the expanded alias + the old command line
together, resulting in a completely new command line.

Example (assuming the alias above has been created):

$ ls /bin

Results in a new command line: "ls -l /bin" which is then parsed and
executed.
2026-04-20 15:08:27 +08:00
openvela-robot 87303ce005 [TinyCrypt test porting]Porting two testcases for TinyCrypt lib.
Update the Makefile, add 2 test cases from source.

Signed-off-by: yangjiao <yangjiao@xiaomi.com>
2026-04-20 15:08:26 +08:00
openvela-robot ce04624dec nshlib: Add switchboot command
switchboot <image path>

Switch to the updated or specified boot system. This command depends on
hardware support CONFIG_BOARDCTL_SWITCH_BOOT. `<image path>` point to a
partion or file which contain the firmware to boot.

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:25 +08:00
openvela-robot 7c59ae9a61 support ymodem protocal and sb rb application
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:08:18 +08:00
Xiang Xiao 9162c8bf27 Change the private default signal number to 32
and remove the unused private signal number macro

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:08:13 +08:00
Xiang Xiao 24481e2074 Remove the unnecessary BUILD_FLAT dependence from Kconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:50:42 +08:00
YAMAMOTO Takashi ad25788f5d Change the defaults of stack size configs to DEFAULT_TASK_STACKSIZE
This commit changes only ones with the default 2048 and
leaves the others.
E.g. this leaves SYSTEM_RAMTEST_STACKSIZE, whose default is 1024.
I guess those need to be inspected one-by-one.
2026-04-20 14:50:26 +08:00
Xiang Xiao 70785fdbd9 Application.mk and main.c files: Change builtin's entry point from main to xxx_main by macro expansion. This change make the entry point fully compliant with POSIX/ANSI standard. 2026-04-20 14:49:52 +08:00
Nathan Hartman 56c2372e2c Fix minor typo/copy-paste: 'will be use when'->'will be used when' 2026-04-20 14:49:48 +08:00
openvela-robot 27d30dd138 Merge remote-tracking branch 'apps/NxWidgets' 2026-04-20 14:48:48 +08:00
openvela-robot b290b68f06 Merge remote-tracking branch 'NxWidgets/master' 2026-04-20 14:48:44 +08:00
anchao afa07ccacd apps/: Modification to build system: Unified application compilation rules 2026-04-20 14:48:39 +08:00
anchao 4d6fd9ef67 Squashed commit of the following:
Author: anchao <anchao@pinecone.net>

     apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage
     Loadable apps/: Correct loadable symbol table generate
     apps/system/ubloxmodem:  Fix build break
     apps/examples/ostest: start restart/waitpid/user test from main loop
     apps/nshlib:  Expand reboot and poweroff commands to include a second, optional mode argument

    Author: Gregory Nutt <gnutt@nuttx.org>

     An attempt to fix build issues.  Does not work.
     apps/examples/ostest:  Fix some inappropriate renaming of static functions introduced with recent patches.
     apps/builtin/exec_builtin.c:  Fix a error introduced by recent comments.  Found in build testing.

    Author: anchao <anchao@pinecone.net>

     apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
     apps/Application.mk: introduce MODULE config to simplify tristate(m)
     apps/nsh:  Change the nuttx shell module type to tristate
     apps:  Add loadable application support
     script/mksymtab:  Generate symbol table name by default
     apps/builtin:  Allow loadable applications can register with apps/builtin.
2026-04-20 14:48:36 +08:00
openvela-robot 6c5c341c59 apps/system/zmodem:
- fix error "sz_main.o: No such file or directory"
  - support -p <path> for rz to change the folder for the recevied file
  - switch debug output from printf to syslog
  - send the next packet for ZME_ACK in ZMS_SENDING to avoid rz on the host side stuck
  - make send work reliable even without hardware flow control
2026-04-20 14:48:34 +08:00
openvela-robot 810cc5f664 Prep for NxWidgets 1.0 release
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4506 42af7a65-404d-4744-a932-0658087f49c3
2026-04-20 14:48:02 +08:00
Gregory Nutt 2f982e9c77 Revert "Squashed commit of the following:"
This reverts commit 25b92edd9f.
2018-08-22 12:06:32 -06:00
anchao 25b92edd9f Squashed commit of the following:
apps/builtin/exec_builtin.c:  Try posix_spawn if builtin apps do not have have an entry point.
    apps/Application.mk: introduce MODULE config to simplify tristate(m)
    apps/nsh:  Change the nuttx shell module type to tristate
    apps:  Add loadable application support
    script/mksymtab:  Generate symbol table name by default
    apps/builtin:  Allow loadable applications can register with apps/builtin.
2018-08-22 09:30:38 -06:00
Gregory Nutt 7fa2bd1a23 examples/: Correct naming of some configuration variables. 2017-08-24 13:37:36 -06:00
Gregory Nutt 9ce4b6f82e apps/examples/timer: Should detach signal handler before exiting. 2016-11-18 08:17:15 -06:00
Gregory Nutt cfe6476ac2 Revert "apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged."
This reverts commit dba181d0af.
2016-11-17 15:04:14 -06:00
Gregory Nutt dba181d0af apps/examples: Remove the timer example. It uses a non-portable IOCTL and must be purged. 2016-11-17 11:32:28 -06:00
Gregory Nutt d8c7a8fff8 apps/examples: Add Oneshot timer example 2016-08-12 14:20:52 -06:00
Gregory Nutt d538f48797 Add dependencies, button and timer example will only work in a flat build 2015-10-12 12:45:43 -06:00
Gregory Nutt d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt da7402f174 apps/exemples/timer: Add a trivial test of the timer driver 2015-01-13 12:57:26 -06:00