Commit Graph

194 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
xuxin19 b354e310ea cmake:refine cmake build for apps/examples
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:53 +08:00
openvela-robot 57eb7368cb lv_porting/img_cache: add memdump when malloc fail
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:53 +08:00
openvela-robot da489d3134 Fix Kconfig style
Remove spaces from Kconfig files
Add TABs
Add comments
2026-04-20 15:11:52 +08:00
openvela-robot 439449e29d lv_porting/gpu: add undecoded image check
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:51 +08:00
openvela-robot 9f4db7cde8 memtester:Adaptation of memtester
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:11:49 +08:00
openvela-robot e59f61a06c memtester:update format
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:11:48 +08:00
openvela-robot a1788ffc55 setlogmask: fix uncloseed handle
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:11:47 +08:00
openvela-robot 915af431da apps/nshlib: Add the pidof command and API nsh_getpid
Add the API "nsh_getpid" in "nsh_fsutils. c" and the nsh command pidof. Temporarily support two parameters, - s, and process name
Signed-off-by: wangmingrong <wangmingrong@xiaomi.com>
2026-04-20 15:11:46 +08:00
openvela-robot 8b3c57b0c0 mbedtls: mbedtls_selftest depends on MBEDTLS_SSL_DTLS_CONNECTION_ID
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:44 +08:00
openvela-robot 2a8488d0df lv_porting/lv_img_cache: add error resource print
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:44 +08:00
openvela-robot 8f9a6e1056 Application.mk:define main entry MAINNAME relatively
when a program has multiple MAINSRC for incremental compilation,
the PROGNAME of the compiled file may generate errors
-------------------- compile definition error ---------------------
cc -c -g CFLAGS INCLUDEDIR -Dmain=funA_main funB.c -o funB.c.path.o
                             ^^^^  ^^^^^^    ^^^^
-------------------------------------------------------------------
use the MAINOBJ:PROGNAME mapping variable to define the main entry name

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:43 +08:00
openvela-robot f513ac8168 add macro for ecc
application may use micro-ecc for some ecc operation, which may be
faster than tinycrypt, due to assamble code, but both of them have
same function defination, cause build error on there case.

Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-04-20 15:11:42 +08:00
openvela-robot 9845a5a47d apps/gpsutils: move gpsutils to nuttx/libs/libc/gpsutils
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:11:40 +08:00
openvela-robot dd187932cd crypto/mbedtls: disable MBEDTLS_PADLOCK_C by default if enable MBEDTLS_AES_ALT
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:39 +08:00
openvela-robot d3a03b0744 rptun/ping: fix invalid use of nsh_error after 31421db6f 2026-04-20 15:11:37 +08:00
openvela-robot fbf3cb95e3 crypto/mbedtls: disable MBEDTLS_PADLOCK_C by default
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:37 +08:00
openvela-robot be0d849333 mbedtls-alt: add aes alternative implementation
aes module of mbedtls use alternative implementation via /dev/crypto
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:36 +08:00
openvela-robot 7a5aac5cfd Revert "libuv: Add getppid and symlink depends"
This reverts commit 40b21ce6039531356216ba24e576eeeb9211611f.

Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2026-04-20 15:11:35 +08:00
openvela-robot 47e6725fc8 Fix Kconfig style
Replace help => ---help---
Add comments
2026-04-20 15:11:34 +08:00
openvela-robot 01853547de feat(v9): change config for v9
remove dependency for LV_FBDEV_INTERFACE_DEFAULT_DEVICEPATH and
LV_TOUCHPAD_INTERFACE_DEFAULT_DEVICEPATH, because v9 will not
need LV_USE_FBDEV_INTERFACE and LV_USE_TOUCHPAD_INTERFACE.

Signed-off-by: yanxiaowei <yanxiaowei@xiaomi.com>
2026-04-20 15:11:33 +08:00
openvela-robot 97454464b8 example/capture : fixed build warning
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
2026-04-20 15:11:32 +08:00
openvela-robot 236c10da9b apps/examples/pipe: check POSIX-compliant behavior of NuttX's FIFOs
Adjust the test considering the POSIX-compliant behavior of the
NuttX's FIFO (mkfifo), which should block `open` for read-only
and write-only. This test's result is expected to be the same with
any other POSIX-compliant system.

This commit also:

 * Fix redirect test;
 * Use pthread instead `task_create` to be able to run this test
on POSIX-compliant systems;
 * General fixes regarding formatting and error messages;

Signed-off-by: wurui3 <wurui3@xiaomi.com>
2026-04-20 15:11:31 +08:00
openvela-robot 2d9ef88734 Change all sizeof(arr)/sizeof(arr[0]) to nitems
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:11:30 +08:00
openvela-robot f01108c7fc pm:fix testcase compile error after the interface modified
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2026-04-20 15:11:29 +08:00
xuxin19 8875feabcf cmake:refine cmake build for apps/examples
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:28 +08:00
openvela-robot abdcec40ac Remove the const cast from the initialization of boardioc_symtab_s::symtab
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot 8ca8591007 apps/testing/ltp: remove the -Dfork=vfork option
as we provided the fork implementation in nuttx, we do not need this
compile option

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot 7b80f22e2e add initial cmake build system
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:09:52 +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
lilei19 86470b890a change strcpy to strlcpy
Signed-off-by: lilei19 <lilei19@xiaomi.com>
2026-04-20 15:07:41 +08:00
Xiang Xiao 6c6a3040ae fsutils/examples: Include unistd.h explicitly
to get the prototypes or macros are defined in it

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:07:39 +08:00
openvela-robot a5f1efe7c7 testing/drivertest: fix lack setjmp.h header
error: unknown type name 'jmp_buf'
cmocka must 'setdarg seddeff setjmp stdint cmocka' five header files

Signed-off-by: yintao <yintao@xiaomi.com>
2026-04-20 15:07:39 +08:00
openvela-robot b1099f6961 lvgl/port/lv_port_touchpad: add cursor display
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:07:23 +08:00