Commit Graph

316 Commits

Author SHA1 Message Date
xuxingliang 97c08c8be1 examples/fb: change the log message to avoid misunderstanding
To make VTF easier to understand which test is done.

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
2026-04-20 15:19:54 +08:00
liuchan3 9bf3ce5822 examples/fb: fix sign extension issue in offset calculation
Signed-off-by: liuchan3 <liuchan3@xiaomi.com>
2026-04-20 15:19:53 +08:00
xinbingnan 0d66c45f45 fb: support for complete non-/consecutive fbdev mmap processing
Signed-off-by: xinbingnan <xinbingnan@xiaomi.com>
2026-04-20 15:19:28 +08:00
buxiasen eb3e026c13 fb: fix no mmap with get_pinfo, kernel build with data abort
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2026-04-20 15:19:18 +08:00
jianglianfang e9f42ac67e fb_main: fix draw_rect24
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:18:17 +08:00
openvela-robot 79b997db4c coremark:Fix renaming issues with other libraries
The crc16 naming implemented in coremark is duplicated in zblue.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:18:17 +08:00
openvela-robot ec4f19c3fa app/netstatistics: Add net statistics api for user
Signed-off-by: meijian <meijian@xiaomi.com>
2026-04-20 15:18:16 +08:00
openvela-robot cdc354393f uORB: Add topic information acquisition and setting interface.
Signed-off-by: likun17 <likun17@xiaomi.com>
2026-04-20 15:18:15 +08:00
openvela-robot 504c342d88 examples/tlpi:Add t_sched_getaffinity.c compilation
Signed-off-by: chenzhijia <chenzhijia@xiaomi.com>
2026-04-20 15:18:14 +08:00
openvela-robot ef994d3c0b build(deps): bump codelytv/pr-size-labeler from 1.10.0 to 1.10.1
Bumps [codelytv/pr-size-labeler](https://github.com/codelytv/pr-size-labeler) from 1.10.0 to 1.10.1.
- [Release notes](https://github.com/codelytv/pr-size-labeler/releases)
- [Commits](https://github.com/codelytv/pr-size-labeler/compare/v1.10.0...v1.10.1)

---
updated-dependencies:
- dependency-name: codelytv/pr-size-labeler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-20 15:18:13 +08:00
openvela-robot bf1281df9f uORB: DEBUG_UORB add LIBC_PRINT_EXTENSION dependency.
Signed-off-by: likun17 <likun17@xiaomi.com>
2026-04-20 15:18:11 +08:00
openvela-robot ce02909afe build.yml: Workflow aligned with nuttx repo
build.yml: Limit the GitHub Runners

see https://github.com/apache/nuttx/pull/13412
2026-04-20 15:18:10 +08:00
openvela-robot aa82103353 system/coredump: compatible restore name with NAME_MAX 32 Bytes
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2026-04-20 15:18:09 +08:00
openvela-robot 33257351ff gas.c:Adapt to uORB new macro definition content.
Signed-off-by: likun17 <likun17@xiaomi.com>
2026-04-20 15:18:07 +08:00
openvela-robot e417694fd3 cmake: change the aiotjsc tool compilation from quickjs to quickapp
refactor aiotjsc tools cmake and cmake-format related CMakeLists.txt

Signed-off-by: liaobin1 <liaobin1@xiaomi.com>
2026-04-20 15:18:06 +08:00
openvela-robot 4f8bb2f266 module/sotest: Fix depends of SOTEST_BUILTINFS
Log:
  sotest_main.c: In function 'sotest_main':
  sotest_main.c:116:29: error: storage size of 'desc' isn't known
    116 |   struct boardioc_romdisk_s desc;
        |                             ^~~~
  sotest_main.c:116:29: error: unused variable 'desc' [-Werror=unused-variable]
  cc1: all warnings being treated as errors

Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:18:04 +08:00
openvela-robot de64f97d23 cmake(fix):bugfix fix missing include path for aiotjs
in file included from /home/work/ssd1/workspace/mirtos-ci/nuttx/../apps/frameworks/quickapp/src/framework/cdp/cdpprotocol.h:12,
                 from /home/work/ssd1/workspace/mirtos-ci/nuttx/../apps/frameworks/quickapp/src/framework/cdp/heapprofiler.h:3,
                 from /home/work/ssd1/workspace/MiRTOS-CI/apps/frameworks/quickapp/src/jse/quickjs/jse_quickjs.cpp:11:
/home/work/ssd1/workspace/MiRTOS-CI/nuttx/../apps/frameworks/quickapp/src/aiotjs.h:10:10: fatal error: app_interface.h: No such file or directory
   10 | #include "app_interface.h"
      |          ^~~~~~~~~~~~~~~~~

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:18:03 +08:00
openvela-robot 2a21bb4eec pthread_cleanup: move clenup down to tls
Signed-off-by: ligd <liguiding1@xiaomi.com>
2026-04-20 15:18:02 +08:00
openvela-robot 715ac5e7a6 nshlib: fix top command accessing illegal memory
When initialized for the first time, the memset parameter is smaller than the actual buffer size
Causes subsequent accesses to uninitialized memory in the array

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:18:01 +08:00
openvela-robot 0feaf96295 testing/crypto: add crc32 testcases
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:17:59 +08:00
openvela-robot abd7c12d01 lvgl/Makefile: support multiple options for LV_OPTLEVEL
This configuration is added to put LVGL into PSRAM for execution, and the lv_*.o file needs to be matched in the link script. Since LTO optimization will cause the file name to be modified, resulting in a matching failure, it will only take effect if LTO optimization is removed during compilation.

Link script modification: https://gerrit.odm.mioffice.cn/c/velaos/vendor/bes/framework/services_1502x/+/680741

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:17:58 +08:00
openvela-robot 6806436819 cmake:implement CMake build for NuttX Lua interpreter
add CMake module for register lua mod
nsh> lua
Lua 5.4.0  Copyright (C) 1994-2020 Lua.org, PUC-Rio
> hello.say_hello()
Hello World!
> io.write("abs is =",math.abs(-10),"\n")
abs is =10
> os.exit()
nsh>

Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2026-04-20 15:17:57 +08:00
openvela-robot e66c0dfb50 benchmarks/rt-tests: Add CONFIG_PIPE dependency and fix compilation issues.
This commit added the required CONFIG_PIPE dependency and fix
the compilation issues.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2026-04-20 15:17:56 +08:00
openvela-robot 30856f00da [wireless][wapi] add extend api for private needs
Signed-off-by: meijian <meijian@xiaomi.com>
2026-04-20 15:17:55 +08:00
openvela-robot 86ea27e8ec ltp: TESTING_LTP_STACKSIZE depend on TESTING_LTP
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2026-04-20 15:17:54 +08:00
openvela-robot 2a98df01c3 fastboot tool: Status read failed while rebooting into bootloader
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-04-20 15:17:52 +08:00
openvela-robot 5e07563436 update config switch to only a HEAPDUMP
now open a HEAPDUMP Marco for heapdump tool
test by specific product
Signed-off-by: qinliansong <qinliansong@xiaomi.com>
2026-04-20 15:17:51 +08:00
openvela-robot 8bf2e0a88b .gitignore: Add .aider* to .gitignore
Aider is AI pair programmer: https://aider.chat

The .aider* files is not a part of NuttX but used by
Aider as temporary files.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:17:50 +08:00
openvela-robot aa8f4c7688 testing/debug: Enhancement for watch address by cmd line
This patch add some command line arguments for debug
program, then you can use it to insert watchpoint or
breakpoint to arbitrary address at runtime.

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:17:49 +08:00
openvela-robot dacf6fd5bf system/uorb: using uorb.h to replace sensors header file
Sensors are just a part of uORB, and there are many virtual topics used
within uORB as well. For the library apps/system/uorb/, the nuttx/uorb.h
version is more preferable. So, move public type and definition to
nuttx/uorb.h.

Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:17:48 +08:00
openvela-robot 66802a9107 perf-tool: need to relase file resource
Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com>
2026-04-20 15:17:46 +08:00
openvela-robot 1807f802a6 testing/fftest: add Force feedback driver test
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:17:45 +08:00
jianglianfang 868de987b0 fb_main: fix draw_rect24
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:17:43 +08:00
jianglianfang d076cdc6a6 fb: supported bpp = 24
Added new draw_rect24 function to support bpp=24 devices.

Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:17:33 +08:00
jianglianfang 774caa9e58 fb: select the FB_NO_OVERLAY because it will be showed on the main surface
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:17:33 +08:00
jianglianfang 5e9df31919 fix: uninitialized pointer read
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:17:33 +08:00
jianglianfang 037c25ea89 apps/examples: fb_main need ioctl(FBIOPAN_DISPLAY) to update and adapt to double buffer mode.
Signed-off-by: jianglianfang <jianglianfang@xiaomi.com>
2026-04-20 15:17:33 +08:00
openvela-robot 09b8b066ad can: Merge netpacket/can.h into nuttx/can.h
This patch is associated with 'https://github.com/apache/nuttx/pull/13048', so it cannot be verified separately by CI. Please help to associate and review it. Thank you!

Signed-off-by: gaohedong <gaohedong@xiaomi.com>
2026-04-20 15:17:33 +08:00
openvela-robot 62a59c1e53 wamr: Add external module registration mechanism
This patch adds module registration mechanism for WAMR runtime.

To register a module, these steps are required:
1. Include Module.mk in your module's Makefile
2. Define WAMR_MODULE_NAME as the module name
3. Implement bool wamr_module_WAMR_MODULE_NAME_register(void) function in your module's source file
4. Enable INTERPRETERS_WAMR_EXTERNAL_MODULE_REGISTRY in menuconfig

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:17:32 +08:00
openvela-robot 93f02638fc Zig & D examples clean & refactor
dlang: use importC to get NuttX include
zig: leds_zig added
2026-04-20 15:17:30 +08:00
openvela-robot 4a8bd460e1 perf-tool:support record function
Signed-off-by: zhangwenjian <zhangwenjian@xiaomi.com>
2026-04-20 15:17:29 +08:00
openvela-robot a158fdfb1f ostest: delete the code that accesses the internal fields of mutex
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:17:13 +08:00
openvela-robot 1fe1515ebd drivertest watchdog:add busyloop prevent os enter pm.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2026-04-20 15:17:12 +08:00
openvela-robot c1a993191c app:port stressapptest to nuttx
stressapptest is a userspace test, primarily composed of threads doing memory copies
and directIO disk read/write. It allocates a large block of memory (typically 85% of
the total memory on the machine), and each thread will choose randomized blocks of
memory to copy, or to write to disk. Typically there are two threads per processor,
and two threads for each disk. Result checking is done as the test proceeds by
CRCing the data as it is copied.
https://github.com/stressapptest/stressapptest

Signed-off-by: guohao15 <guohao15@xiaomi.com>
2026-04-20 15:17:10 +08:00
openvela-robot 745afe5015 [BugFix]Command "critmon" error
Command "critmon" has some format errors and information errors, such as:

PRE-EMPTION CALLER            CSECTION CALLER               RUN         TIME             PID   DESCRIPTION
1.679000000                   3.704000000
                         None None             0     CPU0 IDLE
0.002000000                   0.003000000
                         None None             1     CPU1 IDLE
0.000000000                   0.000000000
                         None None             2     CPU2 IDLE
0.000000000                   0.000000000
                         None None             3     CPU3 IDLE
0.001000000                   0.001000000
                         None None             4     hpwork
0.002000000                   0.006000000
                         None None             5     nsh_main
0.000000000                   0.000000000
                         None None             6     critmon

After bug fix:

PRE-EMPTION CALLER            CSECTION CALLER               RUN              TIME             PID   DESCRIPTION
None                          None                          ---------------- ---------------- ----  CPU 0
None                          None                          ---------------- ---------------- ----  CPU 1
None                          None                          ---------------- ---------------- ----  CPU 2
None                          None                          ---------------- ---------------- ----  CPU 3
None                          None                          0.238000000      6.982000000      0     CPU0 IDLE
None                          None                          0.461000000      13.089000000     1     CPU1 IDLE
None                          None                          0.000000000      0.000000000      2     CPU2 IDLE
None                          None                          0.000000000      0.000000000      3     CPU3 IDLE
None                          None                          0.000000000      0.001000000      4     hpwork
None                          None                          0.000000000      0.010000000      5     nsh_main
None                          None                          0.000000000      0.000000000      46    critmon

Signed-off-by: wangzhi16 <wangzhi16@xiaomi.com>
2026-04-20 15:17:09 +08:00
openvela-robot 73222324b6 netlib: Use the netlib_add_ipv6addr to set the IPv6 address after obtaining the address.
Signed-off-by: liqinhui <liqinhui@xiaomi.com>
2026-04-20 15:17:08 +08:00
openvela-robot 8d2e2f2622 testing/pm_smp: delay_yield ticks 1->2, avoid idle canot run one cycle
Signed-off-by: buxiasen <buxiasen@xiaomi.com>
2026-04-20 15:17:07 +08:00
openvela-robot c3ace8b544 apps/nxplayer: add ioctl stop when play completed
Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 15:17:04 +08:00
openvela-robot 9ad4475bfd testing/crypto: add ecdsa testing
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:17:03 +08:00
openvela-robot 17cfc35160 fstest: If the file is deleted it will not be opened
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
2026-04-20 15:17:01 +08:00