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
anjiahao
263f4ab8b9
crypto:add tinycrypt to apps/crypto
...
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
2022-10-20 14:53:38 +08:00
YAMAMOTO Takashi
195ffe71e4
Add interpreters/toywasm
2022-10-20 01:06:00 +08:00
Alin Jerpelea
0b55209aff
system: add cwebsocket support
...
High performance websocket client/server
The goal of cwebsocket is to provide a portable,
high performance websocket client/server,
especially on low power embedded systems.
cwebsocket is currently in a development state. You may encounter bugs.
Report them for a timely fix.
Successful tests have been conducted on the following architectures:
x86
x86_64
ARM
cwebsocket is compliant with the following standards:
ANSI C
POSIX
RFC 6455
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-19 19:45:25 +08:00
pedrobertoleti
00bd5a2edf
Fixed unused variable and improved Kconfig for TCP IPC Client & Server
2022-10-19 15:51:04 +08:00
Xiang Xiao
0d2ef47192
nshlib: Rename CONFIG_SYSTEM_NSH_SYMTAB to CONFIG_NSH_SYMTAB
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 22:18:38 +02:00
Xiang Xiao
b659f0fbdf
Remove the unnecessary cast for main_t, NULL and argv
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-18 18:40:23 +02:00
Alin Jerpelea
d6f787afca
apps: system: add libjpeg
...
This package contains C software to implement JPEG image encoding, decoding,
and transcoding. JPEG is a standardized compression method for full-color
and grayscale images.
The distributed programs provide conversion between JPEG JFIF format and
image files in PBMPLUS PPM/PGM, GIF, BMP, and Targa file formats. The
core compression and decompression library can easily be reused in other
programs, such as image viewers. The package is highly portable C code;
we have tested it on many machines ranging from PCs to Crays.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-10-18 23:58:40 +08:00
Ville Juven
f844db5194
libapps.a: Add the static application library always to the target libraries
...
This error was made by me a long time ago, not understanding how the kernel
mode build is expected to work. So partially revert PR#946.
2022-10-18 22:58:13 +08:00
Ville Juven
bca94fce5a
CONFIG_BUILD_KERNEL/libapps.a: Allow creation of libapps.a separately
...
Add rule to create libapps.a for CONFIG_BUILD_KERNEL=y, there is no
reason to disallow this.
The behavior of make import remains the same, so no regression is expected.
2022-10-18 22:58:13 +08:00
Pedro Bertoleti
c908661414
Client & Server examples to use TCP/IP socket as an IPC Channel for LoRaWAN
2022-10-17 18:54:55 -03:00
Xiang Xiao
6944c5a0a1
nshlib: Fix warning reported by clang
...
nsh_telnetlogin.c:62:15: error: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Werror,-Wconstant-conversion]
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-17 15:14:20 +02:00
Xiang Xiao
75455d3788
nshlib: Reuse nsh_session logic in nsh_telnetmain
...
to avoid the code duplication
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-17 09:41:43 -03:00