Commit Graph

77 Commits

Author SHA1 Message Date
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
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