Commit Graph

144 Commits

Author SHA1 Message Date
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
openvela-robot 7b4ab1d7b2 trace: add trace header when dumping
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:07:21 +08:00
openvela-robot 89509750ea testing/drivertest: add block driver test 2026-04-20 15:07:19 +08:00
openvela-robot fe618568f1 trace: expand NOTE_DUMP_STRING
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:07:19 +08:00
openvela-robot 32f4228e88 testing/drivertest: add pwm driver test
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-20 15:07:18 +08:00
openvela-robot 8f5bd61ceb nxrecorder: add support to record media file.
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 15:07:17 +08:00
Xiang Xiao e564c38e8d 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:15 +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
openvela-robot 177a2095ee Add printflike to all printf like functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:03:09 +08:00