Commit Graph

114 Commits

Author SHA1 Message Date
chao an 6411734b98 system/readline: correct the readline(3) prototype
dependson:3540672 3540707 3540712 3540700 3540708 3540713 3540930

Reference:
https://man.openbsd.org/readline.3

Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:13:10 +08:00
openvela-robot 5833690cf9 examples/can: TX and RX structs assigned 0 at startup 2026-04-20 15:13:09 +08:00
openvela-robot 3031182457 add short command-line arguments and record execution time 2026-04-20 15:13:09 +08:00
openvela-robot 8602bdcb4d resetcause:restore to factory, factory to factory_inquiry
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:13:08 +08:00
openvela-robot 1c7a4590f9 testing: Fix cmocka_driver_block give more than once
Fix:
```
/home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule
/home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule
CC:  romfs_main.c /home/huang/Work/vela/sifli/apps/Application.mk:273: target 'drivertest_block.c.home.huang.Work.vela.sifli.apps.testing.drivertest.o' given more than once in the same rule
/home/huang/Work/vela/sifli/apps/Application.mk:297: target '/home/huang/Work/vela/sifli/apps/builtin/registry/cmocka_driver_block.bdat' given more than once in the same rule
```

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:13:06 +08:00
openvela-robot 2483bc3a3c system/libuv: optimize stack usage
Signed-off-by: guohao15 <guohao15@xiaomi.com>
2026-04-20 15:13:05 +08:00
openvela-robot 22f8a7bfc1 testing/monkey: refact monkey test
1. Simplify kconfig configuration items.
2. Use events to control the status of virtual devices and improve testing efficiency.
3. Add adaptive screen resolution support.

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:13:04 +08:00
openvela-robot a115ba55c9 testing/gpu: add adaptive framebuffer bpp support
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:13:03 +08:00
openvela-robot 6b6c85a423 examples/foc: refactor control loop
1. get FOC device state at the beginning of the loop
2. simplify if-else block
2026-04-20 15:13:01 +08:00
openvela-robot 366db69984 Application.mk:ensure that the order when AROBJS is compiled multiple times
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:59 +08:00
openvela-robot 5d0e0b5a7c testing/sd_bench: Port sdbench testing utility for PX4-Autopilot.
Add port of the sdbench utility from PX4-Autopilot: https://github.com/PX4/PX4-Autopilot

This tool is useful for evaluating and testing peformance of SD cards,
block devices or mount points.
2026-04-20 15:12:57 +08:00
openvela-robot 77af60e078 adapt LVGL V9 for lvgldemo
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
2026-04-20 15:12:56 +08:00
openvela-robot c714814ca7 system/ptpd/Kconfig: cosmetics 2026-04-20 15:12:52 +08:00
openvela-robot 65cc2022f8 apps/graphics: support libuv input loop mode
dependson:3467703

Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
2026-04-20 15:12:51 +08:00
openvela-robot 8814cd330f examples/foc: add phase angle observer support (sensorless mode)
This app can work now as sensorless ESC.

Also introduce a cmd line option that force open-loop control
which is useful when tuning angle/velocity observers
2026-04-20 15:12:49 +08:00
openvela-robot db298682bb ostest: Add smp function call test case
This is test case for PR#10934.

Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2026-04-20 15:12:49 +08:00
openvela-robot e2c34da420 crypto/mbedtls: Unified configuration with mbedtls default configuration
The configuration of Kconfig used by the nuttx before is not consistent with the mbedtls default configuration. This patch update configuration is consistent with the default configuration.
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:47 +08:00
openvela-robot feeb1ad95c openssl_mbedtls_wrapper: add ssl wrapper from libwebsocket
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:47 +08:00
openvela-robot 0150a730ec examples/foc: add velocity observers 2026-04-20 15:12:45 +08:00
openvela-robot 32af203665 nshlib: losetup/lomtd change "-s <sectsize>" to "-b <sectsize>"
to follow host tool usage:
https://github.com/util-linux/util-linux/blob/master/sys-utils/losetup.c#L473

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:45 +08:00
chao an ecb74ffb30 system/readline: correct the readline(3) prototype
Reference:
https://man.openbsd.org/readline.3

Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:12:42 +08:00
Xu Xingliang a2c05c77ac lua: download tarball from github release tag
The tarball from github has same file layout as git repo while the tarball from ftp doesn't.
Update Makefile to accommodate this change.

Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2026-04-20 15:07:58 +08:00
Neo Xu 883dc2641e interpreters/lua: fix unpack on incremental build
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2026-04-20 15:06:30 +08:00
openvela-robot 72c57e763e luamodules/lfs: add luafilesystem module
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2026-04-20 15:06:29 +08:00
openvela-robot 7b532f7095 compiler.h: Add _ between format|printf|syslog|scanf|strftime and like
align with other macro naming style

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:28 +08:00
openvela-robot 45f71a32fa pipe: fix pipe test case failed
pipe shouldn't use /tmp folder, /tmp maybe mounted to tmpfs

Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:06:26 +08:00
openvela-robot e2436234de Download tarballs if a local git repo is not found
Specify the cmocka version as 1.1.5 and modify the stack size to the default value
and modify print_error name due to conflict

Signed-off-by: yintao <yintao@xiaomi.com>
2026-04-20 15:06:25 +08:00
openvela-robot 83ba246628 interpreter/toywasm: Update toywasm version
The situation of toywasm_config.c is similar to toywasm_config.h.
It's cmake-generated in the upstream. The original template is covered
by a different license. I'm the author of the file and hereby re-license
this copy.

Tested on sim/macOS.
2026-04-20 15:06:24 +08:00
openvela-robot 17ecb68941 drivers/note: rename /dev/note to /dev/note/ram
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:06:23 +08:00
openvela-robot ca4e9f710e cmd_arp: add device input for arp interface
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:06:22 +08:00
openvela-robot e805d6ed7c graphics/libyuv: add libyuv build files
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:06:21 +08:00
openvela-robot a2bb23dc5c apps: add luamodules
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2026-04-20 15:06:20 +08:00
openvela-robot a96cee5782 luamodules/luasyslog: fix incremental compile issue
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2026-04-20 15:06:19 +08:00
openvela-robot fbcf3267e7 graphics/libyuv: fix strict-prototype warning
Added a patch file to fix the warning

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:06:17 +08:00
chao an 7f45fba4fd interpreters/lua: fix incremental compile issue
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:06:17 +08:00
Huang Qi 22b932675d Don't download tarballs if a local git repo found
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:04:33 +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