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
raiden00pl
6b98aec34a
wakaama: update wakaama to a commit that includes a fix for wakaama examples under NuttX
2023-08-09 00:02:46 +08:00
shipei
5aaf4136bf
nxplayer:add sbc simple parser in nxplayer
...
Usage:
device /dev/audio/compress0p
play /data/test.sbc
This function requires the platform to support compress decoding and playback
Signed-off-by: shipei <shipei@xiaomi.com>
2023-08-08 21:41:15 +08:00
zhangyuan21
987cb1ebd9
adb: support adb boardctl when not composite device
...
Signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
2023-08-08 00:11:54 -07:00
Petro Karashchenko
3648c0cc5c
testing/ostest: call up_idle() only in case of CONFIG_SIM_WALLTIME_SLEEP=y
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-07 18:58:46 -07:00
Petro Karashchenko
6acf345296
testing/ostest: add test case for task priority change with locked scheduler
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-07 18:58:46 -07:00
Petro Karashchenko
e30a0602a0
testing/ostest: add missing section comments
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-07 18:58:46 -07:00
YAMAMOTO Takashi
ee71af840f
toywasm: regen for v31
...
```
REF=6f67aec18ce8f824479e305c17464bd4df1dd7ae ./regen.sh
```
2023-08-07 01:12:58 -07:00
YAMAMOTO Takashi
6fb38bc246
toywasm: bump the version to v31
2023-08-07 01:12:58 -07:00
xuxin19
646a30fe7c
cmake:migrate apps CMakeLists for libtomcrypt
...
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
2023-08-05 06:48:17 -07:00
makejian
ff6df40e3c
fix -Wmaybe-uninitialized compile warning in nist-sts
...
fix compile warning as following:
nist-sts/sts/src/cusum.c:15:23: warning: 'zerv' may be used uninitialized in this function[-Werror=maybe-uninitialized]
Signed-off-by: makejian <makejian@xiaomi.com>
2023-08-03 22:43:59 -07:00
yanghuatao
89a1255dc2
ltp: follow linux on pthread_rwlock_unlock
...
Signed-off-by: Shoukui Zhang <zhangshoukui@xiaomi.com>
2023-08-03 22:43:50 -07:00
chenrun1
5645b82b74
memorystress:Fix some warnings and make the index randomized.
...
Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
2023-08-03 10:55:12 -07:00