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
Xiang Xiao
37c0cdd1a6
dhcp: Make the option dependence work for usrsock case
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-21 01:02:14 +08:00
chao an
63e3c6c521
netutils: correct iperf thread name
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 20:54:58 +08:00
chao an
a3390417f7
netutils/iperf: add more default device name
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 19:44:22 +08:00
chao an
c81da4c185
system/ping: remove depends since NETUTILS_PING already contains this check
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 19:35:13 +08:00
Xiang Xiao
bce24201c7
Fix ft80x_coprocessor.c:3911:14: error: format specifies type 'unsigned long' but the argument has type 'uint32_t' (aka 'unsigned int')
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-20 19:03:20 +08:00
Xiang Xiao
d706510064
Fix Error: vi.c:888:57: error: format string is not a string literal (potentially insecure)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-20 19:03:20 +08:00
chao an
bb24794fcb
system/ping[6]: ping[6] should also be enabled if NET_ICMP[v6]_NO_STACK == y
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-20 16:05:07 +08:00
zhanghongyu
dc90c52413
wapi: fix passphrase can not update if prefix is same
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-11-20 07:45:15 +01:00
Xiang Xiao
0c200b8966
Fix dac_main.c: error: format string is not a string literal (potentially insecure)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-19 18:47:41 +01:00
Xiang Xiao
81de5d4c59
Fix foc_fixed16_thr.c:188:27: error: variable 'time' set but not used
...
and foc_float_thr.c:189:27: error: variable 'time' set but not used
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-19 18:47:41 +01:00
Junbo Zheng
3a6775c8ac
examples/tcp_ipc_server: fix wrong file path typo
...
The lorawan folder is under the path of examples/tcp_ipc_server, the server_tcp folder is not exist here, fix it.
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
2022-11-18 16:44:04 +08:00
Nathan Hartman
ed5cadb7cb
Remove DISCLAIMER. Apache NuttX has graduated the Incubator.
2022-11-18 01:40:33 +08:00
qinwei1
c86509be4c
apps: getpid should return process id not thread id
...
Summary:
following the change in the nuttx kernel, implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id
Refer:
https://github.com/apache/incubator-nuttx/issues/2499
https://github.com/apache/incubator-nuttx/pull/2518
Nuttx Kernel PR:
https://github.com/apache/incubator-nuttx/pull/7597
update apps code
Testing PASSED with qemu( 32/64 )
Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:45 +08:00
Huang Qi
0357cb99b2
interpreters/wamr: New option to support spec test
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-11-17 13:28:40 +08:00