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
Xiang Xiao
25f200e9b0
Fix Error: sx127x_demo.c:464:7: error: variable 'fd' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-13 14:55:30 +01:00
Xiang Xiao
bf03439d1b
Fix Error: src/wapi.c:1050:14: error: implicit conversion from enumeration type 'enum wapi_mode_e' to different enumeration type 'enum wapi_pta_prio_e' [-Werror,-Wenum-conversion]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-13 14:55:30 +01:00
Xiang Xiao
dd5dbde620
Fix Error: slcan.c:266:60: error: format specifies type 'unsigned long' but the argument has type 'canid_t' (aka 'unsigned int') [-Werror,-Wformat]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-13 14:55:30 +01:00
Xiang Xiao
8094ced139
Fix Error: slcan.c:265:19: error: variable 'reccount' is uninitialized when used here [-Werror,-Wuninitialized]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-13 14:55:30 +01:00
Alan Carvalho de Assis
46fac8c851
Fix CI crash because switch() as missing NMEA sentences
2022-11-13 00:31:02 +01:00
crafcat7
902ae591b1
system/ramspeed:Add automated testing process
...
In the previous ramspeed test process, it was necessary to keep adding size to achieve speed tests for different sizes of memcpy and memset. After the modification, the results will be automatically looped from 32k to the input size.
2022-11-12 18:57:06 -03:00
Alan Carvalho de Assis
d03b87b1bc
gps: Fix GPS example application
2022-11-13 01:45:43 +08:00
Xiang Xiao
89ec8cbf96
Fix Error: slcd_trapezoids.cxx:84:5: error: array designators are a C99 extension [-Werror,-Wc99-designator]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-12 18:29:31 +01:00
Andrés Sánchez Pascual
03909627b9
add symbols in webclient kconfig
...
Signed-off-by: Andrés Sánchez Pascual <tito97_sp@hotmail.com>
2022-11-12 20:27:53 +08:00
Xiang Xiao
82ee0d1e24
Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-11 21:12:22 +01:00
Xiang Xiao
76e6a03d71
fix Error: include/graphics/twm4nx/apps/ccalibration.hxx:149:34: error: private field 'm_stop' is not used [-Werror,-Wunused-private-field]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-11 21:12:22 +01:00
Xiang Xiao
5f4525bf0c
Fix Error: include/graphics/twm4nx/cwindow.hxx:145:35: error: private field 'm_eventObj' is not used [-Werror,-Wunused-private-field]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-11 21:12:22 +01:00
ligd
b16eaf9d8e
mm: add memory stress test
...
Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-11-11 22:26:59 +08:00
yinshengkai
bd2efd9f51
tools: replace DEFINE to DEFINE_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-11 01:18:32 +08:00
YAMAMOTO Takashi
7903911000
toywasm_config.h: Add a license notice to appease nxstyle
...
* This file is derived from [1], which is covered by [2].
* I'm the solo author of the file. I hereby re-license this version with
the license added by this commit.
[1] e43d33016a/lib/toywasm_config.h.in
[2] e43d33016a/LICENSE
2022-11-10 11:19:43 +08:00
YAMAMOTO Takashi
f1e8e933c5
interpreter/toywasm: update toywasm version
2022-11-10 11:19:43 +08:00
yinshengkai
ee4d8b738f
Makefile: replace INCDIR to INCDIR_PREFIX
...
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
2022-11-10 02:38:58 +08:00
Xiang Xiao
dbc757d79d
Fix error: 'CTouchscreen' defined as a class here but previously declared as a struct
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
7bc1c17ecd
Fix error: private field 'm_stop' is not used
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
56da7efc57
Fix error: struct 'CWindow' was previously declared as a class
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
a95d34c346
Fix error: 'NXWidgets::CTextBox::insertText' hides overloaded virtual functio
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
e1cc1199bb
Fix error: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'?
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
1f78f8a9c6
Fix Error: src/cscaledbitmap.cxx:456:26: error: result of comparison of constant 256 with expression of type 'uint8_t' (aka 'unsigned char') is always true
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Xiang Xiao
8554db0b5e
Fix slcd_trapezoids.cxx:38:5: error: array designators are a C99 extension
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 21:38:21 +01:00
Fotis Panagiotopoulos
f85a6b6fb9
Added poweroff in fs and mm tests.
2022-11-08 02:52:46 +08:00
Xiang Xiao
36a0c924f7
netutils: Support telnetd in the kernel mode
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-07 15:24:08 +09:00
Xiang Xiao
12863fbd52
system/telnet: Fix the style warning
...
and remove the unused code
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-11-07 15:24:08 +09:00
Xiang Xiao
58c3dbac95
Revert "netutils: Make telnetd_daemon() in public"
...
This reverts commit 000d1455b4
.
2022-11-07 15:24:08 +09:00
liangchaozhong
d6070cdfc8
usrsock:aggregrate more data into single recf_from response
...
recv request can only get maximum 1500 bytes payload in single response in
earlier design, this patch aggregrate more payloads(maximum 16k bytes)
into one response to make sure usrsock’s req/response mechanism is not
bottleneck during usrsock’s throughput test.
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-11-07 13:33:56 +08:00
chao an
fc12542fd4
netutils/iperf: add newline in printf format
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-11-07 12:44:58 +08:00