Commit Graph

115 Commits

Author SHA1 Message Date
Xiang Xiao b95547405f Fix Error: configdata_main.c:402:14: error: variable 'iteration' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:14 +08:00
openvela-robot ad54f17af8 Fix coremark/core_util.c:210:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:14 +08:00
openvela-robot 4d5c354ef7 system/fastboot: Fix command comparation
e.g. The command is "reboot-bootloader", but will match and break when
     compared  with "reboot"

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:12:11 +08:00
openvela-robot 686ec3623d 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:12:11 +08:00
Xiang Xiao 0d9581430a Fix Error: configdata_main.c:402:14: error: variable 'iteration' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:10 +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 eea8f072da Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:05:00 +08:00
openvela-robot 09fb6941ae wireless/gs2200m: Rename usrsock_request to usrsock_handle_request
fix the conflict after usrsock reconstruct:
https://github.com/apache/incubator-nuttx/pull/6949

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:59 +08:00
openvela-robot 471294725e nshlib: Reuse nsh_session logic in nsh_telnetmain
to avoid the code duplication

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:58 +08:00
openvela-robot 073540aa6a apps/application: genarate staging library before copy
neededby:873092

Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:04:57 +08:00
Xiang Xiao 89cb7831d1 Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:56 +08:00
Xiang Xiao f9b0e99de9 zmodem: Move crc16.h and crc32.h from host to host/nuttx
to avoid the conflict with the 3rd party library

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:04 +08:00
openvela-robot 625968d914 nshlib: support c++ access nsh api
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:56:29 +08:00
openvela-robot 406e7bc0b6 Add lvx_msgbox in Kconfig.
N/A

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2026-04-20 14:56:26 +08:00
SPRESENSE 266ff42df8 examples/configdata: Fix some printf format warnings
Fix some printf format warnings by -Wformat.
2026-04-20 14:56:24 +08:00
openvela-robot 401291a9f7 system/critmon: add thread run time support
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:23 +08:00
openvela-robot a2996be919 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:11 +08:00
openvela-robot 31bba56215 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:08 +08:00
openvela-robot a12f989dba lvgl: lv_ffmpeg support dynamic picture decoding.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:04 +08:00
openvela-robot 36d321395e apps/system: fix command history behavior (2)
N/A
Fixing "last command" misbehavior when one command in history is a
substring of another.

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 14:56:02 +08:00
openvela-robot 53e5b9156a examples: Update lvgldemo to lvgl v8.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:00 +08:00
openvela-robot 48431654da system/critmon: add critmon program for critmon once
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:55:58 +08:00
openvela-robot 4339683cce lv_porting for lvgl v8 (rebase on dev) 2026-04-20 14:55:54 +08:00