Xiang Xiao
165f30d3ac
Fix Error: ascii/mbascii.c:118:25: error: unused variable 'ucLRC' [-Werror,-Wunused-variable]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 06:28:17 +01:00
Xiang Xiao
76fece26a2
Fix Error: shift_main.c:763:7: error: variable 'score' set but not used [-Werror,-Wunused-but-set-variable]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 06:28:17 +01:00
Xiang Xiao
757552e759
Fix nsh_fscmds.c:92:19: error: unused function 'ls_specialdir' [-Werror,-Wunused-function]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 06:28:17 +01:00
Xiang Xiao
1c23a095ea
Fix Error: keyboard_main.c:420:15: error: result of comparison of constant -1 with expression of type 'char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
...
if (key != EOF)
~~~ ^ ~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-31 06:28:17 +01:00
Xiang Xiao
d52a8298ce
Fix Error: ftpd.c:1773:9: error: variable 'pos' set but not used [-Werror,-Wunused-but-set-variable]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-27 22:41:58 +02:00
Fotis Panagiotopoulos
390f1e2c60
Fixed compiler warning in webclient.
2022-10-27 21:20:01 +08:00
Junbo Zheng
9f8f70e32a
README.md: Update NuttX Porting Guide Online links
...
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
2022-10-26 21:57:30 +08:00
SPRESENSE
c3f91b3a0a
examples/camera: Dynamically get the connected device
...
This example can support for both ISX012 and ISX019 image sensors.
2022-10-25 22:46:45 +08:00
yinshengkai
2c3c2edcb7
Makefile: Remove INCDIROPT
...
This option, which resolves to -w when CONFIG_CYGWIN_WINTOOL is
configured, is now appended to INCDIR in tools/Config.mk.
See git commit # 5eae32577e5d5226e5d3027c169eeb369f83f77d in the main
2022-10-25 13:48:16 +08:00
liangchaozhong
ffab06c6c5
usrsock:fix stack-buffer-overflow issue when running basic_send test case
...
The following error was reported when runing usrsocktest with KASAN check enabled.
==1348590==ERROR: AddressSanitizer: stack-buffer-overflow on address 0xf20ec610 at pc 0x56ac61ba bp 0xf20ec278 sp 0xf20ec268
rootcause:
hdrbuf's size is not large enough to store the data in usrsock's request.
solution:
double herbuf's size to make sure the space, used to store usrsock's request, is enough.
Signed-off-by: liangchaozhong <liangchaozhong@xiaomi.com>
2022-10-24 17:02:15 +08:00
SPRESENSE
2717ba4f88
wireless: gs2200m: Change usrsock xid from uint64_t to uint32_t
...
Fix the type to match usrsock.h has been changed.
2022-10-24 09:04:31 +02:00
Fotis Panagiotopoulos
d251d12f6f
Fixed compiler warnings.
2022-10-24 12:03:44 +08:00
raiden00pl
8d61a10a74
industry/foc/foc_ident: make the Ki resistance measurement parameter configurable
...
The hardcoded parameter may not be suitable for various types of motors
2022-10-24 01:14:52 +08:00
Petro Karashchenko
5862b9d15c
netutils/thttpd: remove MIN and MAX definitions from libhttpd.c
...
This reverts commit e12d48f0d2
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
0fe45a4c73
Revert "Revert "examples/foc: fix description in Kconfig""
...
This reverts commit 1a18703a42
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
9368b659a7
Revert "Revert "examples/timer_gpio: fix initialization of timer notification""
...
This reverts commit 539b7363d0
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
ec1c5f9273
Revert "Revert "nshlib: fix possible out of bounds array access""
...
This reverts commit fe4b44e3ff
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
7bf9025f28
Revert "Revert "system/spi: improve alignment in array initialization""
...
This reverts commit a7567ce7b6
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
513662732d
Revert "Revert "system/libuv: minor style fixes in Makefile""
...
This reverts commit f613d05496
.
2022-10-24 01:13:27 +08:00
Petro Karashchenko
7c8f0e41fc
Revert "Revert "include/canutils/lely: fix file path in comment header""
...
This reverts commit 8e1ee24f9e
.
2022-10-24 01:13:27 +08:00
Junbo Zheng
9ba5c86bcd
README.md: remove inaccessible links
...
When try to access nuttx/Documentation/NuttXPortingGuide.html online,
it will prompt that the repository has been deleted, and the prompt
information is as follows:
This repository has been deleted
Our apologies, but the repository "nuttx/nuttx" has been deleted.
It now lives at https://bitbucket.org/patacongo/nuttx .
Also the file nuttx/Documentation/NuttXPortingGuide.html has been
removed under nuttx/Documentation, so this link is not needed here.
Signed-off-by: Junbo Zheng <zhengjunbo1@xiaomi.com>
2022-10-23 19:52:40 +08:00
Xiang Xiao
2962af6fe6
Fix fatal error: array: No such file or directory
...
enable test_stl2 only when CONFIG_LIBCXX is enabled
since uClibc++/minic++ doesn't have array header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 16:51:25 +08:00
Petro Karashchenko
e12d48f0d2
Revert "netutils/thttpd: remove MIN and MAX definitions from libhttpd.h"
...
This reverts commit c52f40770e
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
1a18703a42
Revert "examples/foc: fix description in Kconfig"
...
This reverts commit eca51e267f
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
539b7363d0
Revert "examples/timer_gpio: fix initialization of timer notification"
...
This reverts commit e431abe2ed
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
fe4b44e3ff
Revert "nshlib: fix possible out of bounds array access"
...
This reverts commit f6a86a578d
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
a7567ce7b6
Revert "system/spi: improve alignment in array initialization"
...
This reverts commit ef952aac96
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
f613d05496
Revert "system/libuv: minor style fixes in Makefile"
...
This reverts commit d7ce4226ef
.
2022-10-23 08:29:01 +02:00
Petro Karashchenko
8e1ee24f9e
Revert "include/canutils/lely: fix file path in comment header"
...
This reverts commit bc84e5eb3c
.
2022-10-23 08:29:01 +02:00
Xiang Xiao
ad48457183
Fix nxstyle wanring as much as we can
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 11:47:20 +08:00
Xiang Xiao
041cec1af8
Fix thttpd_alloc.h:64:32: error: 'free' called on pointer 'hc' with nonzero offset 286 [-Werror=free-nonheap-object]
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-23 11:47:20 +08:00
Petro Karashchenko
bc84e5eb3c
include/canutils/lely: fix file path in comment header
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
d7ce4226ef
system/libuv: minor style fixes in Makefile
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
ef952aac96
system/spi: improve alignment in array initialization
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
f6a86a578d
nshlib: fix possible out of bounds array access
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
e431abe2ed
examples/timer_gpio: fix initialization of timer notification
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
eca51e267f
examples/foc: fix description in Kconfig
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
Petro Karashchenko
c52f40770e
netutils/thttpd: remove MIN and MAX definitions from libhttpd.h
...
add newlines between MIN and MAX definitions for style consistency
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-10-23 11:45:52 +08:00
raiden00pl
003dbe1837
Lely CANopen port
2022-10-22 23:31:26 +08:00
nietingting
0a6539bfc5
ltp: fix build fail with "argument too long" issue on 20.04
...
Signed-off-by: nietingting <nietingting@xiaomi.com>
2022-10-22 22:14:44 +08:00
anjiahao
65668b33d9
ostest:add sem protocl to priority inheritance
...
ostest testcase use sem as lock
need set protocl
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-22 16:23:42 +09:00
zhanghongyu
f6ab04addb
dhcpc: codechecker issuse fix
...
presult->serverid.s_addr maybe is garbage or undefined
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:31:13 +08:00
zhanghongyu
cfb64cffb1
netlib_getarptab: fix codechecker high level issue
...
197: paysize = RTA_PAYLOAD(&resp->attr);
198: if (paysize > maxsize)
199: {
200: paysize = maxsize;
201: }
202:
203: memcpy(arptab, resp->data, paysize);
Memory copy function accesses out-of-bound array element
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 16:31:13 +08:00
Masayuki Ishikawa
6fb173e3d5
netutils: webserver: Fix directory handling
...
Summary:
- I noticed that the webserver can not handle a directory.
- This commit fixes this issue.
Impact:
- None
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-21 16:29:37 +08:00
LiShuzhen
4eda9bda8f
netutils/mqttc: Add mbedtls configs.
...
MIIO-62724
Signed-off-by: LiShuzhen <lishuzhen@xiaomi.com>
2022-10-21 09:31:09 +02:00
Xiang Xiao
6f01a3b3d4
testing/ostest: Remove the code which reference CONFIG_SEM_NNESTPRIO
...
since CONFIG_SEM_NNESTPRIO is removed by:
https://github.com/apache/incubator-nuttx/pull/6318
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-21 09:18:26 +02:00
zhanghongyu
31ad585611
gs2200m: fix usrsock_bind error in gs2200m module
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-10-21 08:33:50 +09:00
Masayuki Ishikawa
ee7b47ba4e
testing: ostest: Fix task_restart test
...
Summary:
- This commit fixes the task_restart test for the 2nd time execution
Impact:
- None
Testing:
- sim:ostest
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-10-21 01:34:15 +08:00
田昕
e69a032f20
dhcpc:fix xid error clear bug.
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-10-20 22:12:33 +08:00
anjiahao
fa6aeb3e12
mcuboot:move tinycrypt headfile path from make.defs to Makefile
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-20 14:53:38 +08:00