Commit Graph

199 Commits

Author SHA1 Message Date
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
openvela-robot c6b2e303d7 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>
2026-04-20 15:04:00 +08:00
openvela-robot 2c0f278bc5 use UNUSED macro to avoid compile error
Signed-off-by: liyi <liyi25@xiaomi.com>
2026-04-20 15:03:56 +08:00
openvela-robot cbb6c5c664 ifconfig support set IPv6 DNS server
Signed-off-by: liyi <liyi25@xiaomi.com>
2026-04-20 15:03:54 +08:00
openvela-robot cfab70a172 lv_porting/gpu: fix 16-bit build break
And refine argb8565 convert function like others (untested though)

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:03:53 +08:00
openvela-robot 932a023725 Add libcanardv1 for Cyphal, rename libcanard to libcanardv0 2026-04-20 15:03:50 +08:00
openvela-robot a595cc185f lv_porting/gpu: isolate path str API
add get_filtered_image_path()

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:03:49 +08:00
openvela-robot 2b69d6c65b nxlooper: nxlooper should wait call buffer returned before close
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:03:47 +08:00
openvela-robot 4f4394e857 lv_porting/gpu: gpu_img_buf_alloc clear data magic
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:03:45 +08:00
openvela-robot 566ab9d9e3 usrsock: adjust rptun API
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:03:43 +08:00
openvela-robot 4f7884b88f lv_porting/gpu: decoder rework
Remove redundant memset
Separate MVE code into gpu_draw_utils.c
Change vldrw to vldrb to avoid unaligned access fault

Note: 16bpp cases have not been tested

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:03:42 +08:00
openvela-robot b7086688eb gps/minmea: replace minmea file with github repo
apply kosma/minmea origin github repo in gpsutils

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2026-04-20 15:03:38 +08:00
openvela-robot a8ae62b666 lvgl/lv_porting: refact fbdev porting
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:03:30 +08:00
openvela-robot 6d72961662 testing/sensor_test: update sensortest according to enhance sensor driver
1.update prefix of sensor event structure to sensor_xxx.
2.remove activate cmd because of open will auto activate sensor.

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:03:26 +08:00
openvela-robot 7e35dfe93b system/nxplayer: fix warning
nxplayer.c:400:57: warning: array subscript 4 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds]
nxplayer.c:400:57: warning: array subscript 5 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds]
nxplayer.c:400:57: warning: array subscript 6 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds]
nxplayer.c:400:57: warning: array subscript 7 is above array bounds of 'uint8_t[4]' {aka 'unsigned char[4]'} [-Warray-bounds]

Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 15:03:25 +08:00
openvela-robot 6822d02da3 apps/system/uorb: c interfaces.
refer to: https://docs.px4.io/v1.12/en/middleware/uorb.html

- orb_open: do real work for advertise() and subscribe(), if thre is
            no user, register topic first, then save meta in driver;
            only first user can successfully set buffer number.
- orb_exists: check topic state, if topic only has subscribers,
	      return "not exists".

Signed-off-by: jihandong <jihandong@xiaomi.com>
2026-04-20 15:03:22 +08:00
openvela-robot f2c91c3949 lvgl/lv_porting: delete default display refr_timer
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:03:20 +08:00
openvela-robot 5fde7fbc32 nshlib:support nsh can redirect
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:03:19 +08:00
openvela-robot c9ca82a5c1 lv_porting/gpu: add MVE draw_transform
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:03:17 +08:00
openvela-robot f5252cbc97 nsh: Fixed typos in comments. 2026-04-20 15:03:15 +08:00
openvela-robot af728f9b8d gps/bream: add pvt extended, pvt_dop, pvt_pvt, lor_lsq
neededby:840628

minmea section[2/4]

Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2026-04-20 15:03:14 +08:00
openvela-robot 1c84f2fe48 apps:fix reset cuase wraming
nsh_syscmds.c:352:40: error: passing argument 2 of 'boardctl' makes integer from pointer without a cast [-Werror=int-conversion]
352 |   ret = boardctl(BOARDIOC_RESET_CAUSE, &cause);
    |                                        ^~~~~~
    |                                        |
    |                                        struct boardioc_reset_cause_s *
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:03:13 +08:00
openvela-robot 33fa9c63bd app/nxplayer: fix warnning.
nxplayer.c:209:36: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 59 [-Wformat-truncation=]

Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 15:03:11 +08:00