rongyichang
9abb0a2592
apps/testing: support alignment for lcd driver test
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
rongyichang
6d11e1e7e2
drivertest/lcd: fix draw area calc error in LCD rect
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
rongyichang
694fbd2f77
apps/testing : correct the dependency option of fb driver test
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
rongyichang
49f81d387a
apps/testing/driver_test:fix warning
...
drivertest_lcd.c:234:12: warning: assignment to 'uint16_t *' {aka 'short unsigned int *'} from incompatible pointer type 'uint8_t *' {aka 'unsigned char *'} [-Wincompatible-pointer-types]
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
rongyichang
b2d3fb726d
testing/drivertest:add testcase for LCD driver
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
rongyichang
7c18361faf
testing/drivertest:add testcase for framebuffer driver
...
Signed-off-by: rongyichang <rongyichang@xiaomi.com>
2023-08-10 20:36:36 +08:00
yangguangcai
3717ce2094
watchdog:input watchdog deviation.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-10 20:34:47 +08:00
yangguangcai
16872c582c
test/watchdog:call board_ioctl from board_reset_cause.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-10 20:34:47 +08:00
yangguangcai
d4b202ec7e
test/watchdog:test interface getstatus.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-10 20:34:47 +08:00
yangguangcai
76dff2b924
watchdog:test watchdog not depend on fs.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-10 20:34:47 +08:00
anjiahao
79e481d093
resetcause:show reset string not number
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2023-08-10 13:51:43 +08:00
Huang Qi
712d008f66
tools: Using math.h from NuttX for wasm build
...
wasm clang can't find math.h if using libm from toolchain.
It's OK to using math.h from NuttX since only declaration is needed for wasm build.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-08-10 12:14:03 +08:00
xuxin19
8e71885ee5
Enhance Makefile to avoid "Argument list too long"
...
define a macro for split long variable and redefine variable in batch.
see details in `apps/Make.defs` `SPLITVARIABLE`.
replace the variable reference that caused the error.
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-10 11:16:07 +08:00
jinxudong
6bea926ef2
sensor: add force sensor
...
A sensor of this type measures the force on it, and additionally
compares the force with one or more specified thresholds. The sensor
can output the force value directly. Moreover, it's usually applied
as a press key. In that case, when it detects a force greater than
some given threshold, a corresponding event is reported.
Signed-off-by: jinxudong <jinxudong@xiaomi.com>
2023-08-10 03:33:22 +08:00
haopengxiang
aa38c44b3b
testing/unity: adjust unity download pack to 'Unity'
...
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 03:33:12 +08:00
haopengxiang
bdedf648c5
uorb/topics: update delicated match of listener topics
...
bug: if user input obr_topic is sensor_gps_sate(wrong topic, which does not exist), the using of `strncmp` will assign idx=8 (as sesnor_gps) in the first.
However, there is no match in the `g_sensor_list`, hence idx=8 will give out value of `sensor_gps` as output(wrong).
Change: This update aims to match the whole value of sensor name in `g_sensor_list`, while keeping `sensor_name+number` match in this condition.
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 02:01:09 +08:00
haopengxiang
6b5038ef7a
uorb/sensor/gps: fix uorinfo_raw print error
...
[ 15.979300] [24] [ INFO] [ap] sensor_gps_satellite: timestamp: 15979200 (100 us ago)
[ 15.979400] [24] [ INFO] [ap] sensor_gps_satellite: number:0 svid: 13elevation: 54azimuth: 253 snr: 0
[ 15.979600] [24] [ INFO] [ap] sensor_gps_satellite: number:1 svid: 21elevation: 43azimuth: 77 snr: 0
[ 15.979700] [24] [ INFO] [ap] sensor_gps_satellite: number:2 svid: 22elevation: 9azimuth: 35 snr: 0
[ 15.979800] [24] [ INFO] [ap] sensor_gps_satellite: number:3 svid: 23elevation: 23azimuth: 268 snr: 0
Signed-off-by: haopengxiang <haopengxiang@xiaomi.com>
2023-08-10 02:01:09 +08:00
jinxiuxu
4f7abe0231
apps/testing/drivertest:add audio drivertest
...
Signed-off-by: jinxiuxu <jinxiuxu@xiaomi.com>
2023-08-10 00:51:07 +08:00
zhangyuan21
7dcb0c79c3
adb: add adb log level
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-08-10 00:50:50 +08:00
simbit18
2e98005608
crypto: Fix Kconfig style
...
Replace help => ---help---
Add comments
2023-08-09 19:24:17 +03:00
yangguangcai
41388daf74
rtc test:add delay after set time.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 23:47:09 +08:00
yangguangcai
768ce91296
drivertest/rtc:input rtc alarm deviation.
...
Some vendor hardware precision cannot meet the requirements,
and the deviation needs to be input at this time.
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 23:47:09 +08:00
yangguangcai
0c8579151f
drivertest/rtc:fix rtc testcase.
...
deviation from (-10,0) to (-10,10)
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 23:47:09 +08:00
yangguangcai
cd802f6a8f
drivertest/rtc:add test case.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 23:47:09 +08:00
yangguangcai
89ad9c6527
test/drivertest:fix rtc settime incorrect.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 23:47:09 +08:00
xuxin19
24319beed3
cmake:migrate apps CMakeLists for canutils
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-09 23:46:21 +08:00
makejian
6cd890e843
testing/crypto: add configs of crypto testing cases
...
crypto testing cases managed by respective config
Signed-off-by: makejian <makejian@xiaomi.com>
2023-08-09 21:37:36 +08:00
chenxiaoyi
0c6016475b
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>
2023-08-09 20:59:40 +08:00
shipei
b63c56cefa
audio:Resolve compilation errors in nxplayer/nxrecorder/nxlooper on ARM64 architecture
...
resolve compilation errors: '%0lx' directive output may be truncated
writing between 1 and 16 bytes into a region of size 11 [-Werror=format-truncation=]
Signed-off-by: shipei <shipei@xiaomi.com>
2023-08-09 20:59:19 +08:00
yangsen5
4d2fb8a6cf
nxcamera: Add logic to convert to rgb565
...
Since the current fb display format of vela qemu is rgb565, it is necessary to convert the frame obtained by v4l2 to rgb565
Signed-off-by: yangsen5 <yangsen5@xiaomi.com>
2023-08-09 18:22:39 +08:00
yinshengkai
105fd2aac5
nsh: fix a buffer overflow in help
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-09 18:22:09 +08:00
yangguangcai
902a1d7ece
test/oneshot:fix oneshot testcase.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 18:21:55 +08:00
yangguangcai
667d03f184
test/oneshot:fix compile warning.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 18:21:55 +08:00
yangguangcai
ed87aa242d
drivertest:fix compile error.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 18:21:55 +08:00
yangguangcai
2782ed0721
test/drivertest:add oneshot test and posix timer test.
...
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-09 18:21:55 +08:00
cuiziwei
4d6527ec8c
testing/drivertest: add watch dog irq test
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-09 17:55:36 +08:00
cuiziwei
6c3e2f0aa0
drivertest_rtc:fix RTC_HAVE_SET_TIME is false.
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-09 17:11:13 +08:00
Xu Xingliang
cd7869001f
interpreters/luajit: use section name for custom heap
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-09 09:49:23 +02:00
Xu Xingliang
6bfdddca39
interpreter/luajit: use uppercase LUAJIT_ARCH_ARM
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2023-08-09 09:49:23 +02:00
YanXiaowei
b2d5d3f51c
apps/examples/pwfb : fix compiling error
...
fix compiling warning and error when CONFIG_NX=y, EXAMPLES_PWFB=y and EXAMPLES_PWFB_DEFAULT_FONT=y
fix CI-Precheck for pwfb_motion.c
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
2023-08-09 15:08:44 +08:00
hujun5
79a111fc1a
ostest/mutex: mut need to be destroyed
...
Signed-off-by: hujun5 <hujun5@xiaomi.com>
2023-08-09 15:07:25 +08:00
fangxinyong
2234c3a2e6
nshlib: support list numeric user and group IDs
...
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-08-09 15:06:09 +08:00
chao an
3b2b73de88
coredump/priority: Increase the default priority of coredump to 254
...
Increase coredump priority to avoid unnecessary task switch during dump
Signed-off-by: chao an <anchao@xiaomi.com>
2023-08-09 15:00:45 +08:00
yinshengkai
d0f790e166
testing: add os performance measurement
...
Measure the performance of core system functions
such as thread switching and the time required for semaphore execution
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2023-08-09 14:59:41 +08:00
田昕
5449126959
examples/mtdpart:fix compiling warning in printf.
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2023-08-09 14:58:19 +08:00
fengxuesong
2909e8d7a0
Add function missing FAR information
...
Signed-off-by: fengxuesong <fengxuesong@xiaomi.com>
2023-08-09 14:47:00 +08:00
rongyichang
6fecb56aee
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>
2023-08-09 08:34:36 +02:00
cuiziwei
53cb2a947d
apps/tools:fix build warning.
...
Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
2023-08-09 13:52:22 +08:00
Peter Bee
04e86fc2d5
graphics/libyuv: refine patching logic
...
Only stable branch need custom patch, main is fixed by upstream
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-09 13:51:50 +08:00
Peter Bee
24caccbd02
graphics/libyuv: add -Wno-undef
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2023-08-09 13:51:50 +08:00