Commit Graph

254 Commits

Author SHA1 Message Date
Ville Juven a74136d07f examples/thttpd: Remove TCB_FLAG_CANCEL stuff
The flags are removed from kernel side
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
Ville Juven 2b49a7cc02 examples/thttpd: Remove TCB_FLAG_CANCEL stuff
The flags are removed from kernel side
2026-04-20 15:13:08 +08:00
openvela-robot 47496b1a6d Merge branch 'dev-merge-github-20230228' into dev 2026-04-20 15:12:39 +08:00
openvela-robot eb01857f39 zlib&libwebsockets: add seperate repo into git ignore
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2026-04-20 15:12:38 +08:00
openvela-robot 4f05ad9fe7 libsodium depends on ICS license 2026-04-20 15:12:18 +08:00
openvela-robot 7f37c4d892 testing/gpu: add tiled image test
Signed-off-by: Xuxingliang <xuxingliang@xiaomi.com>
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2026-04-20 15:12:17 +08:00
openvela-robot 5b23db4349 mbedtls: use 'getrandom' to get system entropy
use getrandom to get system entropy and not dependent on config DEVURANDOM
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:15 +08:00
openvela-robot ad54f17af8 Fix coremark/core_util.c:210:17: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:12:14 +08:00
openvela-robot 4d5c354ef7 system/fastboot: Fix command comparation
e.g. The command is "reboot-bootloader", but will match and break when
     compared  with "reboot"

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:12:11 +08:00
openvela-robot 686ec3623d Application.mk:define main entry MAINNAME relatively
when a program has multiple MAINSRC for incremental compilation,
the PROGNAME of the compiled file may generate errors
-------------------- compile definition error ---------------------
cc -c -g CFLAGS INCLUDEDIR -Dmain=funA_main funB.c -o funB.c.path.o
                             ^^^^  ^^^^^^    ^^^^
-------------------------------------------------------------------
use the MAINOBJ:PROGNAME mapping variable to define the main entry name

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:11 +08:00
xuxin19 5e85fa28f6 fix progname do not match issue
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:12:09 +08:00
Xiang Xiao eea8f072da Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:05:00 +08:00
openvela-robot 09fb6941ae wireless/gs2200m: Rename usrsock_request to usrsock_handle_request
fix the conflict after usrsock reconstruct:
https://github.com/apache/incubator-nuttx/pull/6949

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:59 +08:00
openvela-robot 471294725e nshlib: Reuse nsh_session logic in nsh_telnetmain
to avoid the code duplication

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:58 +08:00
openvela-robot 073540aa6a apps/application: genarate staging library before copy
neededby:873092

Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:04:57 +08:00
Xiang Xiao 89cb7831d1 Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:04:56 +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