Commit Graph

92 Commits

Author SHA1 Message Date
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 b2f1aacaa9 interpreters: add Lua support 2026-04-20 15:00:56 +08:00