Commit Graph

515 Commits

Author SHA1 Message Date
haopengxiang 5526a62ecf testing/unity: adjust unity download pack to 'Unity'
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2026-04-20 15:11:00 +08:00
openvela-robot 6a000f5baa system: dd: add standalone dd command
enabling SYSTEM_DD will disable nsh_dd by selecting NSH_DISABLE_DD

Signed-off-by: chenxiaoyi <chenxiaoyi@xiaomi.com>
2026-04-20 15:11:00 +08:00
openvela-robot 35ae73e206 fdt: use CONFIG_DTC_VERSION to identify the version of tools
Signed-off-by: liaoao <liaoao@xiaomi.com>
2026-04-20 15:10:59 +08:00
openvela-robot f30b7e4e5d drivertest_rtc:fix RTC_HAVE_SET_TIME is false.
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2026-04-20 15:10:57 +08:00
openvela-robot 9611ec57f0 add mbedtls sha256/sha512 alternative implementation
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:57 +08:00
openvela-robot 6b291be420 apps/examples: fix fb example show error
For screens with transparency, the alpha value should be set to 0xFF

Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2026-04-20 15:10:55 +08:00
openvela-robot 91ddee3e68 graphics/libyuv: refine patching logic
Only stable branch need custom patch, main is fixed by upstream

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2026-04-20 15:10:55 +08:00
openvela-robot 363a34b84c testing/ostest: add test case for task priority change with locked scheduler
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:10:54 +08:00
openvela-robot 464a2ca7f7 gpu: Add config for disable fallback to sw draw.
Signed-off-by: huxiandong <huxiandong@xiaomi.com>
2026-04-20 15:10:53 +08:00
openvela-robot 8342123526 toywasm: bump the version to v31 2026-04-20 15:10:51 +08:00
openvela-robot 3bf6c94f7b lv_porting/img_cache: add static memory support
1. Separated from the main heap memory address, it is convenient to capture the heap mixed use problem.

2. In the future, if the GPU can only access the memory area at the specified address, you can specify the cache_mem section in the link script.

Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:50 +08:00
openvela-robot a7ccf98748 fix memory leak in aesctr test case
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:48 +08:00
openvela-robot 6096200370 memorystress:Fix some warnings and make the index randomized.
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:10:48 +08:00
openvela-robot 4504d753e0 usrsocktest: correct the parameter when pthread_kill is called
When the value of the signal is modified, the function will be faulty

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-20 15:10:46 +08:00
openvela-robot 8c70d6657d ltp/makefile: nuttx on github download ltp code failed fix
Fix github download ltp code error:
Cloning into 'ltp'...
*** Please tell me who you are.
Run
  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@33ba2a4a6fc5.(none)')

Signed-off-by: yanghuatao <yanghuatao@xiaomi.com>
2026-04-20 15:10:46 +08:00
openvela-robot 88245dc3be mcuboot: update mcuboot to support swap using move
Older versions of mcuboot did not support swap using move and therefore
the build would have failed CONFIG_MCUBOOT_SWAP_USING_MOVE=y.

Newer mcuboot contains initial support of swap using move for NuttX. Also
Makefile was updated to as some bootutil files were removed from mcuboot.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2026-04-20 15:10:44 +08:00
openvela-robot 15a6b0318c gpu_manager: add stricter parameter checking
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:43 +08:00
openvela-robot 961a042479 fix ostest sigprocmask testcase
problem: ostest may fail at procmask test, because signals:sigkill/sigstop should not be added in signal mask
solution: skip checking whether sigkill/sigstop are in signal mask

Signed-off-by: guanyi <guanyi@xiaomi.com>
2026-04-20 15:10:40 +08:00
openvela-robot 9166c27b0d tools: Raise error if wasm module build failed
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:40 +08:00
openvela-robot 221481b902 nshlib: add print negative number support for echo command
Fix issue that "echo -1" will give "argument invalid" error

Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:10:39 +08:00
openvela-robot b8ddd14b7f lvgldemo:add header file lvgl_test.h
add header file to avoid build failed of lvgldemo when enable some configs

Signed-off-by: duxiaoliang <duxiaoliang@xiaomi.com>
2026-04-20 15:10:37 +08:00
openvela-robot dafc8663d0 examples/sotest: remove unnecessary config
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:10:36 +08:00
openvela-robot d3b219bc8e ofloader: add open flash loader support [1/2]
Signed-off-by: wanggang26 <wanggang26@xiaomi.com>
2026-04-20 15:10:35 +08:00
openvela-robot cb574562a5 system/uorb: Support frequency less than 1hz
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2026-04-20 15:10:33 +08:00
openvela-robot 5e359c1924 add testcase for regulator set mode and auto pm
Signed-off-by: dulibo1 <dulibo1@xiaomi.com>
2026-04-20 15:10:32 +08:00
openvela-robot 0e5d9df3b3 testing/mm: add maxsize parameter
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2026-04-20 15:10:30 +08:00
openvela-robot 9090362d3c fix libsodium compile warning
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:29 +08:00
openvela-robot 0a35926619 Revert "toywasm: disable tail call and explain why"
This reverts commit fcda92ebc7e77b5d302c322d202a85044713dd0d.

because it isn't necessary for the latest versions of toywasm.
2026-04-20 15:10:28 +08:00
openvela-robot 2a71bb0d66 gpu_manager: add lvgl draw buffer adaptation
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2026-04-20 15:10:27 +08:00
openvela-robot f5765f8f9d Move Wasm.mk to end of file since it need definition from Application.mk itself.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:25 +08:00
openvela-robot ba80f742df examples: Build both native app and wasm app for hello to pass CI test
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:25 +08:00
openvela-robot f8cfeed546 system/cachespeed:Redesign of the overall test tool.
Compared to the previous version, the following factors have been taken into account in the new version of cachespeed:
1. the user needs to care about getting a piece of available memory (even if this piece of memory may memory stomp during use)
2. High repetition of test code, poor readability, and overall high test coupling
3. Not taking into account the alignment cache line situation
4. When comparing values between different test tools, there is a little error because of the different ways to get the values (different fine reading)
Therefore, in the new version according to the above problems have been improved:
1. Provide a "test_skeleton", which contains the overall testing process
2. The user only needs to execute, not to care about how to get the available memory address, and the memory allocated by the program also ensures the memory security and data accuracy
3. The system to obtain the data required for the test reduces the difficulty of use and the possibility of inaccurate results due to data errors.
4. Provide two kinds of precision data results, which can be configured through Kconfig
5. Optimize the output log, now more intuitive and concise, to help the subsequent data organization and observation
6. New test items for aligned/unaligned cache line
7. Better readability and extensibility, making it easier to add/remove test items

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:10:23 +08:00
openvela-robot fc59b0f536 apps/graphics: fix gradient draw error with flush count
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2026-04-20 15:10:23 +08:00
openvela-robot 006200432b system/nxdiag: Fix race condition during build
This commit fixed a race condition that might happen by only unshallowing the Espressif HAL only after it was completely cloned.
2026-04-20 15:10:21 +08:00
openvela-robot 062599f309 add md5/sha1/sha256/sha512 testcases
Signed-off-by: makejian <makejian@xiaomi.com>
2026-04-20 15:10:21 +08:00
openvela-robot 28153280ad ostest: Skip test_dev_null when CONFIG_DEV_NULL isn't enabled
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:10:19 +08:00
openvela-robot 8b816f9e71 tools: Don't register app into nsh if WASM_BUILD_ONLY == y
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2026-04-20 15:10:19 +08:00
openvela-robot 379ea1dfd9 nshlib: Add fdinfo to get information about the process associated fd
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2026-04-20 15:10:17 +08:00
openvela-robot 5dc8825136 drivertest/rtc: Replace nuttx/time.h with nuttx/clock.h
since nuttx/time.h doesn't exist any more

dependson:3101522

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2026-04-20 15:10:17 +08:00
openvela-robot 038c224f4e cmake: port nxscope and foc and add missing directories 2026-04-20 15:10:15 +08:00
openvela-robot c665a56e83 cmake/apps: add more applications into cmake support
Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:10:13 +08:00
openvela-robot 8a75b4f309 examples/nimble: fix assertion during pthread create with zero priority
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2026-04-20 15:10:07 +08:00
openvela-robot 3dade5d49c lvgl: add quirc QR scan library include directory
Signed-off-by: lile7 <lile7@xiaomi.com>
2026-04-20 15:10:01 +08:00
openvela-robot b724db415f gdbstub:Support a general gdbstub, support serial port and network link
Partially implement the gdb rsp protocol,
you can debug the nuttx kernel through the serial port or the network

Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2026-04-20 15:09:59 +08:00
openvela-robot cf65880587 Solve compilation warning:implicit declaration of function uECC_make_key_with_d
warning:
tinycrypt/tests/test_ecc_utils.c:250:3: warning: implicit declaration of function ‘uECC_make_key_with_d’; did you mean ‘uECC_make_key’? [-Wimplicit-function-declaration]
  250 |   uECC_make_key_with_d(pub_bytes, prv_bytes, d, uECC_secp256r1());
      |   ^~~~~~~~~~~~~~~~~~~~
      |   uECC_make_key

define:
#ifdef ENABLE_TESTS

/**
 * @brief Create a public/private key pair given a specific d.
 *
 * @note THIS FUNCTION SHOULD BE CALLED ONLY FOR TEST PURPOSES. Refer to
 * uECC_make_key() function for real applications.
 */
int uECC_make_key_with_d(uint8_t *p_public_key, uint8_t *p_private_key,
    			 unsigned int *d, uECC_Curve curve);
#endif

Signed-off-by: zhangchao53 <zhangchao53@xiaomi.com>
2026-04-20 15:09:59 +08:00
openvela-robot 8290769b6c syste/setlogmask: add syslog channel filtering function
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2026-04-20 15:09:58 +08:00
openvela-robot 67cd6937e9 drivertest: fix crash when run drivertest again
AUDIOIOC_STOP should be called after mq_receive, otherwise it will enqueue
an invalid buffer to the queue.

Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2026-04-20 15:09:57 +08:00
openvela-robot 1e07651cc8 apps/cmake: add some note on cmake header
| # Important note:
| # This CMakeLists.txt is not meant as a top-level CMakeLists.txt. Instead,
| # CMake must be run using the top-level CMakeLists.txt from the nuttx
| # repository and point to this directory via NUTTX_APPS_DIR. For example:
| #   cmake -S <nuttx-dir> -B <build-dir> [...] -DNUTTX_APPS_DIR=<apps-dir>

Signed-off-by: chao an <anchao@xiaomi.com>
2026-04-20 15:09:55 +08:00
openvela-robot 0a17fcc98c 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:54 +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