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
Huang Qi
31e7c5ec60
interpreters/wamr: New option to support ref types
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-11-17 13:28:40 +08:00
Xiang Xiao
7b22525f0b
boot/mcuboot: Bump up version to 36bac4f6a54a3b76266444d8c6c177b8b0483a05
...
Fix Error: mcuboot/boot/bootutil/src/bootutil_public.c:159:1: error: unused function 'boot_swap_size_off' [-Werror,-Wunused-function]
boot_swap_size_off(const struct flash_area *fap)
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-15 21:06:27 +01:00
zhangyuan21
3dabc24635
ostest: reset g_restartstep when test case restart
...
The g_restartstep value is not initialized when ostest repeated.
2022-11-16 00:07:38 +08:00
liangchaozhong
4c5406e225
dhcpc:disable broadcast flag in DHCP process
...
Issue:
DHCP server will send DHCP offer/ack via broadcast packet if broadcast
flag is enabled in DHCP discover/request.
There's no retransmition mechanism for broadcast frame in 802.11 MAC
layer, thus transmit fail rate might be very high. This will increase DHCP fail rate.
Solution:
Disable broadcast flag by default
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-11-14 19:00:39 +01:00
crafcat7
a799738184
testing/fstest:Remove duplicate macro references in source code
2022-11-14 22:41:53 +08:00
crafcat7
606ebe99d9
testing/fstest:Remove duplicate macro references in source code
...
There is a macro configuration in the source code, and the macro configuration is also referenced in Kconfig. Delete the macro configuration in the source file, whichever is in Kconfig.
2022-11-14 22:41:53 +08:00
anjiahao
14465b85c4
cmd_dd:support dd can do verify
...
After writing the file, compare the contents of the two files again
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-11-14 20:40:43 +08:00
anjiahao
c2f07a4d5a
dd:simplified cmd_dd code steps
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-11-14 20:40:43 +08:00
Xiang Xiao
da30a87b81
Fix Error: version_main.c:124:42: error: format specifies type 'long' but the argument has type 'uint32_t' (aka 'unsigned int') [-Werror,-Wformat]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-13 14:55:30 +01:00