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
openvela-robot
1161c9d4fe
examples/nrf24l01: Replace the hardcode value with enum const
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:02:29 +08:00
openvela-robot
b42511e847
webclient: Add tunneling support
...
Add a primitive API for tunnel establishment.
(WEBCLIENT_FLAG_TUNNEL and webclient_get_tunnel)
I plan to use this to implement https proxy support.
That is, the primary user will be webclient itself.
2026-04-20 15:02:28 +08:00
openvela-robot
31d395e5d2
lv_porting/gpu: GPU decoder code cleanup.
...
Reduce code indent, add comments.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2026-04-20 15:02:26 +08:00
openvela-robot
235c2793e1
pmconfig: add last state and modify current state to next state
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2026-04-20 15:02:25 +08:00
openvela-robot
d1e2bbef2d
lv_porting/sched_note: add LV_NOTE_BEGIN/END_LOCAL
...
Example:
LV_NOTE_BEGIN_LOCAL("my_func");
my_func();
LV_NOTE_END_LOCAL();
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:02:23 +08:00
openvela-robot
11d1c6dfa4
libuv: Don't add idna.c to CSRCS if test enabled
...
test-idna.c will include idna.c and then cause multiple definition.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:02:21 +08:00
openvela-robot
af2925390c
lv_porting/gpu: correct img width when fallback
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:02:20 +08:00
openvela-robot
94c922fc8d
system/trace: correct arg index if command is alreay set
...
An error occurs when the same command is executed twice
$ trace switch +
$ trace switch +
Usage: trace <subcommand>...
Subcommand:
start [-c][<duration>] : Start task tracing
stop : Stop task tracing
dump [-a][-c][<filename>] : Output the trace result
[-a] <Android SysTrace>
mode [{+|-}{o|w|s|a|i|d}...] : Set task trace options
switch [+|-] : Configure switch trace filter
syscall [{+|-}<syscallname>...] : Configure syscall trace filter
irq [{+|-}<irqnum>...] : Configure IRQ trace filter
print [+|-] : Configure dump tnsh>
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:02:18 +08:00
openvela-robot
10d58c690e
apps/nshlib: fix compile warning
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:02:16 +08:00
openvela-robot
ad3742b515
apps/nshlib: fix unreachable code about i++
...
Report by the tool coverity
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:02:13 +08:00
openvela-robot
0c82a5716a
quickjs/Makefile: pass jobserver status to submake
...
Use +make or $(MAKE) instead of make -C
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:02:11 +08:00
openvela-robot
9dd10c556e
pmconfig: add mulit domain support
...
pmconfig [domain]
pmconfig relax/stay state [domain]
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2026-04-20 15:02:09 +08:00
openvela-robot
8976029e19
Makefile/Application: correct COMPILER_RT_LIB PATH
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:02:08 +08:00
openvela-robot
2783280677
LICENSE: add license for tee
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2026-04-20 15:02:06 +08:00
openvela-robot
a3d8774b62
Remove the unneeded void cast
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:01:50 +08:00
openvela-robot
14c3c3bcff
usrsock: Don't clear recv and send available flag
...
Don't clear available flag if the response indicate there is more data
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:01:49 +08:00
openvela-robot
cb40edcbcf
wapi: fix wapi wpa_wconfig_s alg data type error
2026-04-20 15:01:48 +08:00
openvela-robot
539a0d4dfc
fix resetcause nsh command print
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2026-04-20 15:01:46 +08:00
openvela-robot
3fd8b3b418
lv_porting/gpu: add gpu_draw_path function
...
Separate draw_path from draw_curve to support drawing path directly from
user.
Another function, gpu_fill_path, is provided to help user fill in
custom path(Only point and line type supported at the moment).
Moved some common function from decoder to utils
neededby:821297
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:01:46 +08:00
openvela-robot
794e72049f
Revert "rpmsg: pointer of netdev ioctl support cross-core memory access"
...
This reverts commit bd539651cdf1e5067dc5d21349ef835e98e262eb.
Reason for revert: Change the implementation method
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:01:44 +08:00
openvela-robot
58e5fa9ccb
ltp: add mq_open 27-2.c to BLACKSRCS
...
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2026-04-20 15:01:41 +08:00
openvela-robot
14a9e5c334
testing/mm: Update after the recent changes in nuttx
...
The following commit changed the typo of SIZEOF_MM_ALLOCNODE
from int to size_t.
```
commit 39eaeefb78f36724adbdc47400d6f60372b68344
Author: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
Date: Thu Jan 27 12:17:20 2022 +0800
mm/mm_heap: remove the unnecessary check for memory node size
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
```
2026-04-20 15:01:40 +08:00
openvela-robot
8f9736a744
netutils/usrsock_rpmsg: broadcast the client DNS server to server
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:01:39 +08:00
openvela-robot
df22d1bfef
sched/note: unify the data format
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 15:01:37 +08:00
openvela-robot
62480fb634
rpmsg_usrsock: Support the wireless ioctl which contain pointer 2/2
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:01:36 +08:00
openvela-robot
1f4d294d9c
usrsock: Move event field to usrsock_message_common_s
...
Zero the events field for all response message
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:01:35 +08:00
openvela-robot
e65e2bd9f6
lv_porting/gpu: add gpu_draw_path function
...
Separate draw_path from draw_curve to support drawing path directly from
user.
Another function, gpu_fill_path, is provided to help user fill in
custom path(Only point and line type supported at the moment).
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:01:34 +08:00
openvela-robot
183b9c3d50
nsh/memdump: support dynamic turn on/off backtrace in heap
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:01:32 +08:00
openvela-robot
795863df70
usrsock: Don't clear recv and send available flag
...
Don't clear available flag if the response indicate there is more data
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:01:31 +08:00
openvela-robot
42616343ff
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:01:29 +08:00
openvela-robot
dabef739f8
lvgl: fix indev interface fd leak
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:01:28 +08:00
openvela-robot
f8f10bfc61
rexec: correct af type from int to sa_family_t
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:01:27 +08:00
openvela-robot
b17f354830
lvgl: fix fs_if fd leak.
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:01:26 +08:00
openvela-robot
5100f095eb
examples/watchdog: Fix watchdog command parameter error
2026-04-20 15:01:11 +08:00
openvela-robot
cd822b75f0
testing/scanftest: fix nxstyle
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:01:09 +08:00
openvela-robot
6097f4341b
rexecd: fix compile warning
...
rexecd.c:196:9: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 15:01:08 +08:00
openvela-robot
762e259fba
lv_porting/gpu: convert mask to vector
...
Currently only one rounded rectangle mask is supported.
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:01:07 +08:00
openvela-robot
479fe5662d
system: Fix nx[looper|player|recorder] warning
...
nxlooper.c:879:7: warning: 'strncpy' specified bound 96 equals destination size [-Wstringop-truncation]
879 | strncpy(plooper->recorddev, pdevice, sizeof(plooper->playdev));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nxlooper.c:875:7: warning: 'strncpy' specified bound 96 equals destination size [-Wstringop-truncation]
875 | strncpy(plooper->playdev, pdevice, sizeof(plooper->playdev));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nxlooper.c: In function 'nxlooper_loopraw':
nxlooper.c:165:52: warning: '%s' directive output may be truncated writing up to 96 bytes into a region of size 53 [-Wformat-truncation=]
165 | snprintf(path, sizeof(path), "/dev/audio/%s", pdevice->d_name);
| ^~
nxlooper.c:165:11: note: 'snprintf' output between 12 and 108 bytes into a destination of size 64
165 | snprintf(path, sizeof(path), "/dev/audio/%s", pdevice->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nxplayer.c: In function 'nxplayer_playinternal':
nxplayer.c:359:53: warning: '%s' directive output may be truncated writing up to 96 bytes into a region of size 53 [-Wformat-truncation=]
359 | snprintf(path, sizeof(path), "/dev/audio/%s", pdevice->d_name);
| ^~
nxplayer.c:359:11: note: 'snprintf' output between 12 and 108 bytes into a destination of size 64
359 | snprintf(path, sizeof(path), "/dev/audio/%s", pdevice->d_name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nxrecorder.c: In function 'nxrecorder_setdevice':
nxrecorder.c:695:3: warning: 'strncpy' specified bound 96 equals destination size [-Wstringop-truncation]
695 | strncpy(precorder->device, pdevice, sizeof(precorder->device));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nxplayer.c: In function 'nxplayer_setdevice':
nxplayer.c:1686:3: warning: 'strncpy' specified bound 96 equals destination size [-Wstringop-truncation]
1686 | strncpy(pplayer->prefdevice, pdevice, sizeof(pplayer->prefdevice));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC: nxrecorder_main.c
nxplayer.c: In function 'nxplayer_setmediadir':
nxplayer.c:2090:3: warning: 'strncpy' specified bound 96 equals destination size [-Wstringop-truncation]
2090 | strncpy(pplayer->mediadir, mediadir, sizeof(pplayer->mediadir));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:01:05 +08:00
openvela-robot
d9278bed7c
lv_porting/decoder: do not rewrite src_type
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:01:04 +08:00
openvela-robot
7a580fb275
wireless/wapi: Fix warning: 'strncpy' specified bound 16 equals destination size
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:01:03 +08:00
openvela-robot
a7e64488b5
lv_porting/gpu: fix draw_arc 360 bug && tweak
...
17? 18!
Unused variable in draw_line
Correct Makefile for draw_arc
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:01:02 +08:00
Michael Mogenson
43967aabb4
examples: add Lua module example
2026-04-20 15:00:57 +08:00