Commit Graph

58 Commits

Author SHA1 Message Date
openvela-robot 625968d914 nshlib: support c++ access nsh api
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:56:29 +08:00
openvela-robot 406e7bc0b6 Add lvx_msgbox in Kconfig.
N/A

Signed-off-by: wangxuedong <wangxuedong@xiaomi.com>
2026-04-20 14:56:26 +08:00
openvela-robot 401291a9f7 system/critmon: add thread run time support
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:23 +08:00
openvela-robot a2996be919 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:11 +08:00
openvela-robot 31bba56215 examples/watchdog: add depends on CONFIG_WATCHDOG
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:56:08 +08:00
openvela-robot a12f989dba lvgl: lv_ffmpeg support dynamic picture decoding.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:04 +08:00
openvela-robot 36d321395e apps/system: fix command history behavior (2)
N/A
Fixing "last command" misbehavior when one command in history is a
substring of another.

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 14:56:02 +08:00
openvela-robot 53e5b9156a examples: Update lvgldemo to lvgl v8.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:56:00 +08:00
openvela-robot 48431654da system/critmon: add critmon program for critmon once
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:55:58 +08:00
openvela-robot 4339683cce lv_porting for lvgl v8 (rebase on dev) 2026-04-20 14:55:54 +08:00
openvela-robot 1114d5d66f testing/fstest: Add O_TRUNC flag in fstest_wrfile
to avoid the interference from the lasting run

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:49 +08:00
openvela-robot cf3e9c7b5b addroute: inet_pton cannot accept slash notation. We must fixup the argument before calling. 2026-04-20 14:55:46 +08:00
openvela-robot d19997aa17 Call posix_spawn with filename as the first argv entry
pair with the kernel side change to follow the standard defintion:
https://pubs.opengroup.org/onlinepubs/009695399/functions/posix_spawn.html

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:45 +08:00
openvela-robot 692af7d081 Follow up task_spawn change from kernel side
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 14:55:30 +08:00
Alin Jerpelea 39d968c731 include: update licenses to Apache
Gregory Nutt is has submitted the SGA

Uros Platise has submitted the ICLA

Ken Pettit has submitted the ICLA

Sebastien Lorquet has submitted the ICLA

Pierre-Noel Bouteville has submitted the ICLA

as a result we can migrate the licenses to Apache.

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2026-04-20 14:55:15 +08:00
openvela-robot 9486a6ce76 Merge remote-tracking branch 'mirtos/master' into dev-upmerge-nuttx-10.1-0507
Signed-off-by: liuhaitao <liuhaitao@xiaomi.com>

Conflicts:
       examples/pty_test/pty_test.c
       examples/rpmsgsocket/rpsock_client.c
       graphics/lvgl/Makefile
       include/wireless/wapi.h
       interpreters/quickjs/Makefile
       netutils/dhcpc/Kconfig
       netutils/thttpd/thttpd.c
       netutils/usrsock_rpmsg/usrsock_rpmsg_server.c
       nshlib/nsh_codeccmd.c
       system/libuv/libuv/Makefile
       testing/irtest/cmd.cpp
       testing/irtest/cmd.cxx
       testing/irtest/cmdLirc.cpp
       testing/irtest/enum.cpp
       testing/irtest/enum.cxx
       testing/irtest/enumDefine.cpp
       testing/ltp/Kconfig
       testing/ltp/Makefile
       testing/sensortest/sensortest.c
       wireless/wapi/src/wapi.c
2026-04-20 14:55:00 +08:00
openvela-robot 596592600f Revert "apps/Makefile: increase the incremental compile speed"
This reverts commit 28377b07d8fb90e483ced13ff5c51ca5fcdd753f.
2026-04-20 14:54:57 +08:00
openvela-robot 735ecfd0ae netutls/usrsock_rpmsg_server: add support for send reassemble
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:54:55 +08:00
openvela-robot 206ce3de41 lvgl:add lv_freetype driver
N/A

Signed-off-by: guowei15 <guowei15@xiaomi.com>
2026-04-20 14:54:53 +08:00
openvela-robot a8a70e5c4e examples/mqttc: If connection() fails, then fd becomes invalid 2026-04-20 14:54:50 +08:00
openvela-robot c5c47baa98 system/libuv: Bump to v1.41.0
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 14:54:48 +08:00
openvela-robot 2d90b5751b examples/lvgldemo: Check for more specific input subclass on ifdefs 2026-04-20 14:54:46 +08:00
openvela-robot 3d43c52f64 netutls/usrsock_rpmsg_server: add support for send reassemble
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:54:45 +08:00
openvela-robot 30dc05dcf6 ltp: Resolve compile warnings 2026-04-20 14:54:43 +08:00
openvela-robot ad63243a5a fstest: Fix printf format error 2026-04-20 14:54:40 +08:00
openvela-robot d70b68fb7c CI: Migrate ci tooling from testing repository to main os repo 2026-04-20 14:54:30 +08:00
openvela-robot 8a1999cf4f testing/ltp: split the ltp source include to 2 part
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:54:15 +08:00
openvela-robot 5585121e86 interpreters/quickjs: Fix typo in qjsmini.c
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 14:54:11 +08:00
openvela-robot 3389859ea8 app: delete NFILE_DESCRIPTORS limits
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:54:09 +08:00
openvela-robot a9736a4ec1 netutils/iperf/README.md: document what this is 2026-04-20 14:54:04 +08:00
openvela-robot 4bc1027f06 apps/nshlib: makefile logic refine
N/A
fix compiled error when KVDB is built as module

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 14:54:02 +08:00
openvela-robot 08f3a34415 system/i2c: Add command for resetting an I2C bus 2026-04-20 14:54:00 +08:00
openvela-robot eeb6181f66 apps/Makefile: increase the incremental compile speed
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:53:57 +08:00
openvela-robot 8054a24304 apps/md5: fix md5 result error
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 14:53:55 +08:00
openvela-robot f276e9078f lvgl: Make lv interface support multiple devices
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:53:53 +08:00
openvela-robot cf784d41f2 net/socket: recover POLLSOCK and keep polling directly by socket
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:53:51 +08:00
openvela-robot 3522068b2c Revert "net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS"
This reverts commit 7fc5ce301202222c993325b60e0a72675f39dab9.
2026-04-20 14:53:39 +08:00
openvela-robot b783d770a8 usrsock: delete sock->s_crefs to fix compile break
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:53:36 +08:00
openvela-robot dd42466206 net/socket: delete config CONFIG_NSOCKET_DESCRIPTORS
N/A

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:53:34 +08:00
openvela-robot 5a38f452c2 ntpclient.c: Avoid integer overflows in offset calculation
The current calculation easily overflows if the local time is
around the unix epoch.  I guess it isn't too unusual for
devices without RTC.  Or, the battery is dead.  Or, whatever.

This commit avoids the overflow by simply dividing everything by 2.
While more sophisticated and precise solutions are possible,
I feel that they are overkill for this simple implementation.

For example,

The unix epoch (1970) is 0x83aa7e8000000000 in
64-bit NTP timestamp. (1900-origin)
The timestamp now, as of writing this, is 0xe3cda16b00000000.

With the code before this commit, the offset will be:

(lldb) p (long long)((0xe3cda16b00000000 - 0x83aa7e8000000000) + (0xe3cda16b00000000 - 0x83aa7e8000000000)) / 2
(long long) $16 = -2295952992316162048
(lldb)

with the new code, it would be:

(lldb) p (long long)((0xe3cda16b00000000 / 2 - 0x83aa7e8000000000 / 2) + (0xe3cda16b00000    / 2 - 0x83aa7e8000000000 / 2))
(long long) $17 = 6927419044538613760
(lldb)

It's the correct offset from the unix epoch:

(lldb) p 6927419044538613760 >> 32
(long) $0 = 1612915435
(lldb)

spacetanuki% date -r 1612915435
Wed Feb 10 09:03:55 JST 2021
spacetanuki%
2026-04-20 14:53:29 +08:00
openvela-robot a373a6c547 testing/sensor: fix bug about -h
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2026-04-20 14:53:26 +08:00
openvela-robot a2029418d8 wireless/wapi: add get sensitivity command
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:53:14 +08:00
openvela-robot b0c9ce4089 lvgl: Replace printf and malloc in lv_interface.
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:53:08 +08:00
openvela-robot 60003bd891 netutils/ntpclient: add more features
Allow multiple NTP servers, also with runtime configurable list
Add validation of received NTP packets
NTPv4 support with 'Kiss o' Death' message handling
IPv6 support
Collect multiple NTP samples and filter outsiders
Check if system clock has been altered during NTP (if CONFIG_CLOCK_MONOTONIC)

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2026-04-20 14:53:04 +08:00
openvela-robot 30cc55874f wireless/wapi: minor fix for wapi help page
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:53:02 +08:00
openvela-robot 2b310447da wireless/wapi: add set country code support
Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:52:50 +08:00
openvela-robot 7d91a1ceff system/readline: check the control ascii only to support multi-languages
Revert "system/readline: bypass the isprint() check"

This reverts commit fd3b46bb437a1f52a91359e3d4345b5c1e5bdde2.

Signed-off-by: chao.an <anchao@xiaomi.com>
2026-04-20 14:52:48 +08:00
openvela-robot 26e783e0bc system: nxlooper: add nxlooper for loopback test
N/A

which record and play raw data using audio subsystem
to verify audio record and playback function

Signed-off-by: danguanghua <danguanghua@xiaomi.com>

Signed-off-by: danguanghua <danguanghua@xiaomi.com>
2026-04-20 14:52:43 +08:00
openvela-robot ae6757db55 lvgl: download lv_fs_if zip when compile
N/A

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 14:52:40 +08:00
Juha Niskanen 4c7b0c05d8 netutils/ftpc: fix incorrect comments, nxstyle
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2026-04-20 14:52:34 +08:00