Commit Graph

92 Commits

Author SHA1 Message Date
Xu Xingliang 22355de88a interpreters/lua: support lua module list register
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.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
openvela-robot 59c53844cf examples/camera: Dynamically get the connected device
This example can support for both ISX012 and ISX019 image sensors.
2026-04-20 15:06:16 +08:00
openvela-robot b12c021ad5 Fix various error in Windows native build 2026-04-20 15:06:15 +08:00
Xu Xingliang 4a98d59e35 interpreters/lua: support lua module list register
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2026-04-20 15:06:13 +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
openvela-robot 4f58bf4ed3 Revert "lv_porting/gpu: refine decoder logic"
This reverts commit c50712b89470213b3f22f0681a2bd43cdae361b7.

Revert "lv_porting/gpu: fix blend_ARGB gpu_wait"

This reverts commit 3e1112166459ab64145e872e45002284c7e02e7a.

Revert "lv_porting/gpu: add blend ARGB premult"

This reverts commit 45787fc607362cad6f47ab0c683f5d151ef5e9f4.

Revert "lv_porting/gpu: add lv_gpu_draw_blend"

This reverts commit 6d30623fd80f2d2d9421e079e0adce866e10849c.
2026-04-20 15:03:04 +08:00
openvela-robot 5e149766a3 wireless/wapi: add get country code support
Country command with no args to get the ccode:

Get country code:
cp> wapi country wlan0
CN

Set country code:
cp> wapi country wlan0 JP

Get country code:
cp> wapi country wlan0
JP

Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:03:02 +08:00
openvela-robot ee3f5422aa pmconfig: update pmconfig dump
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:02:44 +08:00
openvela-robot c028810ded webclient_conn_s: Add a missing FAR 2026-04-20 15:02:42 +08:00
openvela-robot 53071bc1c0 wireless/wapi: authentication parameters should update before key set
set authentication parameters before key set on command mode

Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:02:41 +08:00
openvela-robot 42f8509ea4 webclient_abort: Fix a resource leak for the tunneling case 2026-04-20 15:02:40 +08:00
openvela-robot 5cfdb978fc lv_porting/gpu: recolor_palette check alignment
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:02:39 +08:00
openvela-robot 6f7e64a2c7 webclient: Allow users to specify extra headers for proxy
My primary motivation at this point is to use it for basic proxy auth.
(specify "Proxy-Authorization" header)
But there can be other use cases for proxy-specific extra headers.

If/when we want to support other non-trivial auth methods, probably
a callback-based mechanism will be necessary. But at this point,
this serves my purpose well.
2026-04-20 15:02:37 +08:00
openvela-robot 876ed1a433 Remove "| O_BINARY" or " |= O_BINARY" since O_BINARY is 0 now
follow nuttx kernel side change

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:02:35 +08:00
openvela-robot dbdc90e58a Revert "remove DISCLAIMER-WIP"
This reverts commit 4a2aa6d8cffb6eef45d445ca42a3653f700a2565.
2026-04-20 15:02:34 +08:00
openvela-robot f9ba72e24f system/libuv: Skip compile strscpy.c when CONFIG_LIBUV_UTILS_TEST enable
since test/test-strscpy.c will include it in this case

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:02:32 +08:00
openvela-robot 748619480c webclient: Don't forget to check http status before webclient_get_tunnel 2026-04-20 15:02:31 +08:00