yintao
3fbb452b4a
cmocka:Add automated testing framework cmocka in testing
...
Signed-off-by: yintao <yintao@xiaomi.com>
2022-12-22 00:58:51 +08:00
Neo Xu
6725d481b2
interpreters/lua: fix unpack on incremental build
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-21 17:48:29 +08:00
Xu Xingliang
167672c783
interpreters/lua: support lua module list register
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-21 17:48:13 +08:00
Neo Xu
311b4210b7
luamodules/cjson: add lua cjson module
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-21 17:47:14 +08:00
Neo Xu
6d7761f274
luamodules/lsyslog: add lua syslog module
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-21 17:46:59 +08:00
Neo Xu
7a2774b75a
luamodules/lfs: add luafilesystem module
...
Signed-off-by: Neo Xu <neo.xu1990@gmail.com>
2022-12-21 17:46:44 +08:00
ligd
7f11c91054
ostest: remove printf & sem_wait in sigaction
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-21 13:38:18 +09:00
Xiang Xiao
d1e46c2d3e
compiler.h: Add _ between format|printf|syslog|scanf|strftime and like
...
align with other macro naming style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-21 01:05:12 +02:00
huangjian
19553cb395
nshlib:fix "Long line"
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-20 23:39:36 +08:00
huangjian
78020aec0d
nshlib:nsh login include nshlib/nshlib.h
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-20 23:39:36 +08:00
huangjian
9f3e2cd234
nshlib:add platform_skip_login to nshlib.h
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-20 23:39:36 +08:00
ligd
9fcb58fb8a
pipe: fix pipe test case failed
...
pipe shouldn't use /tmp folder, /tmp maybe mounted to tmpfs
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-12-20 23:39:12 +08:00
YAMAMOTO Takashi
867897ad53
interpreters/toywasm/src/toywasm_config.c: add an empty section
...
I feel this should be fixed in nxstyle.
This is a separate commit to make a revert easier.
2022-12-20 10:45:07 +08:00
YAMAMOTO Takashi
7d6e12917f
interpreter/toywasm: Update toywasm version
...
The situation of toywasm_config.c is similar to toywasm_config.h.
It's cmake-generated in the upstream. The original template is covered
by a different license. I'm the author of the file and hereby re-license
this copy.
Tested on sim/macOS.
2022-12-20 10:45:07 +08:00
Xiang Xiao
cfc005a460
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>
2022-12-16 22:11:10 +02:00
Xiang Xiao
9884159346
nshlib: Add login skip, invalid name ignore and password challenge to telnet login
...
forget in the follow patches:
commit 6aef469c19
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 88fff23d34
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 5a623cc9e3
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>
2022-12-16 16:31:05 +02:00
yinshengkai
595adbcca6
drivers/note: rename /dev/note to /dev/note/ram
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-12-15 12:15:53 +08:00
zhanghongyu
c7e8ade590
arp: change arptable get struct from arp_entry_s to arpreq
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-12-14 21:19:37 +08:00
zhanghongyu
df3121213e
cmd_arp: add device input for arp interface
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-12-14 21:19:37 +08:00
Peter Bee
11f0c2af43
system/camera: fix 'is_image' uninitialized
...
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-14 21:17:22 +08:00
Masayuki Ishikawa
5592e38253
netutils: iperf: Fix the transfer bytes and the bandwidth overflow
...
Summary:
- I noticed that the iperf shows incorrect transfer bytes
in each period.
- Also, the bandwidth overflows sometimes.
- This commit fixes these issues.
Impact:
- None
Testing:
- Tested with qemu-armv8a:netnsh_smp on QEMU-7.1
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-12-12 21:45:52 +08:00
Xu Xingliang
636a155a21
luamodules/luv: fix comile warning -Werror=int-to-pointer-cast
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-12 18:06:53 +08:00
Xiang Xiao
e07d8f546a
build.yml: Sync with nuttx version
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-12 01:37:50 +02:00
Xu Xingliang
80ed2b96d3
luamodules/luv: add libuv lua binding luv.
...
Initial work done by Michael Mogenson.
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-10 19:19:10 +08:00
Xu Xingliang
8175d89cd3
apps: add luamodules
...
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
2022-12-10 19:19:10 +08:00
Peter Bee
38a190156a
apps/system: add nxcamera app
...
Add NxCamera app similar to NxLooper, which can be used to control video
capture device. The basic capture n' display function is complete, while
file output and camera control features are left TODO.
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-10 02:46:31 +08:00
Peter Bee
091ff57126
graphics/libyuv: fix strict-prototype warning
...
Added a patch file to fix the warning
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-09 15:21:59 +08:00
Xiang Xiao
3e2c8fdb41
examples/camera: Cast the last argument of ioctl to uintptr_t
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-08 12:38:55 +01:00
Xiang Xiao
519c4ccb1b
examples/camera: Add FAR for all pointer
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-08 12:38:55 +01:00
Xiang Xiao
02f608b64d
examples/camera: Call VIDIOC_S_FMT before VIDIOC_REQBUFS
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-08 12:38:55 +01:00
Xiang Xiao
ca855f3f23
examples/camera: Fix the style issue
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-08 12:38:55 +01:00
zouboan
776136a113
Fix various error in Windows native build
2022-12-08 13:22:13 +08:00
Peter Bee
a8e6a07b0a
graphics/libyuv: add libyuv
...
Library for video format conversions
Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
2022-12-07 00:01:09 +08:00
Xiang Xiao
00dd4affea
examples/hidkbd: Reuse lib_meminstream_s and remove hidbkd_instream_s
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-05 13:55:31 +01:00
Xiang Xiao
2c56945fee
libc/stream: Rename (put|get) to (putc|getc)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-12-05 13:55:31 +01:00
huangjian
6aef469c19
nshlib:judge whether nsh login username is a valid input
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-04 19:24:57 +08:00
huangjian
88fff23d34
nshlib:add platform skip login function
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-04 19:24:57 +08:00
huangjian
5a623cc9e3
nshlib:add platform challenge function for nsh login
...
Signed-off-by: huangjian <huangjian@xiaomi.com>
2022-12-04 19:24:57 +08:00
qiaohaijiao1
05eadd1bd6
nxplayer: add mp3 offload playback demo
...
Mask: Only parse ID3v2 header simple.
Usage:
nxplayer
device pcm0p
play /stream/1.mp3
Signed-off-by: qiaohaijiao1 <qiaohaijiao1@xiaomi.com>
2022-12-02 22:51:58 +08:00
YAMAMOTO Takashi
5ae46ab6a7
interpreters/toywasm: update toywasm version
2022-12-01 19:39:22 +08:00
YAMAMOTO Takashi
bd20d45612
toywasm: add .gitignore
...
Following wasm3 and wamr.
2022-12-01 19:39:02 +08:00
pengyiqiang
8ec53eeb52
testing/monkey: add auto select uinput
...
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
2022-11-29 04:54:20 +08:00
Xiang Xiao
8fff07b435
Remove the unnecessary "return;" at the end of function
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-27 22:36:40 +01:00
Nathan Hartman
e4376a0e60
NuttX graduated the Incubator; update repository links
2022-11-26 11:59:17 -08:00
Robert-Ionut Alexa
e517dfd672
apps/ltr308: add simple application to test ltr308 sensor
...
Signed-off-by: Robert-Ionut Alexa <robertalexa2000@gmail.com>
2022-11-26 21:16:30 +08:00
mlondono74
fd22b63722
fix issue with reading ipv6 routes. Handle space ahead of first line of route.
2022-11-22 13:20:17 +08:00
Xiang Xiao
92d38a3bb1
Fix Error: nxtext_popup.c:250:20: error: unused function 'nxpu_puts'
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-22 11:32:35 +08:00
Brennan Ashton
393df6762e
CI: Update worker base OS version
2022-11-22 01:28:48 +08:00
chao an
60dc920701
netutils/iperf: add support of multi-instance
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-21 08:52:25 +01:00
chao an
8edfe88187
system/vi: fix nxstyle warning
...
system/vi/vi.c:540:57: error: Multiple data definitions
system/vi/vi.c:541:54: error: Multiple data definitions
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-21 13:15:28 +08:00