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
openvela-robot
ac098e0564
crypto/mbedtls: fix build break on sha256.c
...
Build break on Assemble compiler if -fno-omit-frame-pointer and -O3 enabled at same time
{standard input}: Assembler messages:
{standard input}:2560: Error: branch out of range
make[2]: *** [apps/Application.mk:170: mbedtls/library/sha256.o] Error 1
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:12:08 +08:00
openvela-robot
5dc0bcd053
Revert "Makefile: Restore "Fix: ensure archive files do not carry object files from prior builds""
...
This reverts commit 5872ad7e4015ebb11c9bbd8bcbae98a10fb5d681.
Reason for revert: <regression>
2026-04-20 15:12:07 +08:00
openvela-robot
b43e8ac0af
app/ltp : enable can_filter/can_rcv_own_msgs
...
Signed-off-by: xucheng5 <xucheng5@xiaomi.com>
2026-04-20 15:12:06 +08:00
openvela-robot
515d519ff4
Revert "drivertest: fix warning"
...
This reverts commit b38558eb8997737c886cc67dcbbeac74d774ac73.
Signed-off-by: likun17 <likun17@xiaomi.com>
2026-04-20 15:12:05 +08:00
openvela-robot
1fc3b6cb64
testing/crypto: fix aescbc crash when update iv
...
iv content always should be updated when performing encryption operation, so need update testing case
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:12:04 +08:00
openvela-robot
52f359e733
lv_porting/gpu: fix trans_mode duplicate judgment
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:12:03 +08:00
openvela-robot
83c72c5cc8
system: support system fastbootd
...
Add the fastbootd program to support the flash, getvar, and reboot commands.
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2026-04-20 15:12:01 +08:00
openvela-robot
3531baa481
Fixed the error that when the driver scan result is empty, iwe_stream->len is a random number because the user data buf is not initialized.
...
Signed-off-by: wangyingdong <wangyingdong@xiaomi.com>
2026-04-20 15:12:00 +08:00
openvela-robot
5879ab2c9f
WS2812ESP32 example name is configurable and default name shortened
2026-04-20 15:11:59 +08:00
openvela-robot
b2e08e0b65
cmake:migrate apps CMakeLists for mbedtls
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:58 +08:00
openvela-robot
7417f4cf8a
fix cmake code smell issues
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:11:57 +08:00
openvela-robot
39cc00640c
Fix wrong parameter size
...
Type int expects 4 bytes for function write(). Type char expects 1 byte which matches the real usage of function write().
Signed-off-by: renzhiyuan1 <renzhiyuan1@xiaomi.com>
2026-04-20 15:11:55 +08:00
openvela-robot
6b3b00b155
mqttc: add mbedtls MQTTC support
...
The mqttc demo under example path can not support mbedtls api.
Because of the MQTT-C source code already contains many types of
link examples, so we added the corresponding makefile to
support mbedtls mqttc connections publisher and posix mqttc
connections publisher and subscriber.
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:11:54 +08:00
openvela-robot
57eb7368cb
lv_porting/img_cache: add memdump when malloc fail
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:53 +08:00
openvela-robot
da489d3134
Fix Kconfig style
...
Remove spaces from Kconfig files
Add TABs
Add comments
2026-04-20 15:11:52 +08:00
openvela-robot
439449e29d
lv_porting/gpu: add undecoded image check
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:51 +08:00
openvela-robot
9f4db7cde8
memtester:Adaptation of memtester
...
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:11:49 +08:00
openvela-robot
e59f61a06c
memtester:update format
...
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:11:48 +08:00
openvela-robot
a1788ffc55
setlogmask: fix uncloseed handle
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:11:47 +08:00
openvela-robot
915af431da
apps/nshlib: Add the pidof command and API nsh_getpid
...
Add the API "nsh_getpid" in "nsh_fsutils. c" and the nsh command pidof. Temporarily support two parameters, - s, and process name
Signed-off-by: wangmingrong <wangmingrong@xiaomi.com>
2026-04-20 15:11:46 +08:00
openvela-robot
8b3c57b0c0
mbedtls: mbedtls_selftest depends on MBEDTLS_SSL_DTLS_CONNECTION_ID
...
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:44 +08:00
openvela-robot
2a8488d0df
lv_porting/lv_img_cache: add error resource print
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:11:44 +08:00
openvela-robot
8f9a6e1056
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:11:43 +08:00
openvela-robot
f513ac8168
add macro for ecc
...
application may use micro-ecc for some ecc operation, which may be
faster than tinycrypt, due to assamble code, but both of them have
same function defination, cause build error on there case.
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
2026-04-20 15:11:42 +08:00
openvela-robot
9845a5a47d
apps/gpsutils: move gpsutils to nuttx/libs/libc/gpsutils
...
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:11:40 +08:00
openvela-robot
dd187932cd
crypto/mbedtls: disable MBEDTLS_PADLOCK_C by default if enable MBEDTLS_AES_ALT
...
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:11:39 +08:00
Petro Karashchenko
4822c95b60
net/ip: print ip addresses using ip4_addrN macro
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:11:38 +08:00
openvela-robot
abdcec40ac
Remove the const cast from the initialization of boardioc_symtab_s::symtab
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot
8ca8591007
apps/testing/ltp: remove the -Dfork=vfork option
...
as we provided the fork implementation in nuttx, we do not need this
compile option
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
2026-04-20 15:09:53 +08:00
openvela-robot
7b80f22e2e
add initial cmake build system
...
Co-authored-by: Daniel Agar <daniel@agar.ca>
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:09:52 +08:00
Xiang Xiao
6c6a3040ae
fsutils/examples: Include unistd.h explicitly
...
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:07:39 +08:00
openvela-robot
a5f1efe7c7
testing/drivertest: fix lack setjmp.h header
...
error: unknown type name 'jmp_buf'
cmocka must 'setdarg seddeff setjmp stdint cmocka' five header files
Signed-off-by: yintao <yintao@xiaomi.com>
2026-04-20 15:07:39 +08:00
openvela-robot
b1099f6961
lvgl/port/lv_port_touchpad: add cursor display
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:07:23 +08:00
openvela-robot
7b4ab1d7b2
trace: add trace header when dumping
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:07:21 +08:00
openvela-robot
89509750ea
testing/drivertest: add block driver test
2026-04-20 15:07:19 +08:00
openvela-robot
fe618568f1
trace: expand NOTE_DUMP_STRING
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:07:19 +08:00
openvela-robot
32f4228e88
testing/drivertest: add pwm driver test
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-20 15:07:18 +08:00
openvela-robot
8f5bd61ceb
nxrecorder: add support to record media file.
...
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2026-04-20 15:07:17 +08:00
Xiang Xiao
e564c38e8d
fsutils/examples: Include unistd.h explicitly
...
to get the prototypes or macros are defined in it
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:07:15 +08:00
Xiang Xiao
1c9a262086
arp: Remove the unnecessary inclusion of nuttx/net/arp
...
and change the remain inclusion to netinet/arp.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:24 +08:00
openvela-robot
34d28bb734
nshlib: Add login skip, invalid name ignore and password challenge to telnet login
...
forget in the follow patches:
commit 6aef469c197a4c5d7a3a8cd766ea04fccb14ed3c
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:37:04 2022 +0800
nshlib:judge whether nsh login username is a valid input
Signed-off-by: huangjian <huangjian@xiaomi.com>
commit 88fff23d3497de541d74325690c79c0616f31d6a
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:39:26 2022 +0800
nshlib:add platform skip login function
Signed-off-by: huangjian <huangjian@xiaomi.com>
commit 5a623cc9e3f51845007614de9a1e4c74c262d8e9
Author: huangjian <huangjian@xiaomi.com>
Date: Fri Nov 4 20:35:07 2022 +0800
nshlib:add platform challenge function for nsh login
Signed-off-by: huangjian <huangjian@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:23 +08:00
Xiang Xiao
05c52477a8
arp: Remove the unnecessary inclusion of nuttx/net/arp
...
and change the remain inclusion to netinet/arp.h
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:06:23 +08:00