chao.an
8ce86fe572
system/sched_note: fix build break
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-05-12 14:55:34 +08:00
Takayoshi Koizumi
5040719911
audioutils/mml_parser: Add mml_parser library
...
Add Music Macro Language parser library in audioutils.
audioutils is also created for several audio utilities
not only mml_parser.
2022-05-07 13:56:53 +08:00
Jiuzhu Dong
1444e0dc76
apps/nshlib: fix unreachable code about i++
...
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-05-07 08:36:42 +03:00
Jiuzhu Dong
1f093da6a4
Revert "apps/nshlib: fix unreachable code about i++"
...
This reverts commit 467de8ca83
.
2022-05-07 08:36:42 +03:00
Jiuzhu Dong
b3a5b56ff3
apps/nshlib: fix warning by tool converity report
...
uninit_use_in_call addr before call netlib_set_ipv4addr at line 780
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-05-07 10:30:47 +08:00
Jiuzhu Dong
234e297cd9
apps/nshlib: fix warning by tools converity report
...
uninit_use_in_call inaddr.sin_zero before call
netlib_set_arpmapping
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-05-07 10:30:47 +08:00
Jiuzhu Dong
467de8ca83
apps/nshlib: fix unreachable code about i++
...
Report by the tool coverity
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-05-07 10:30:47 +08:00
Xiang Xiao
385603666b
system: Add gcov command
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-04 18:08:07 +03:00
Xiang Xiao
0e9946956a
.gitignore: Ignore gcov files(*.gcno and *.gcda)
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-05-03 16:11:28 +03:00
Ville Juven
e2f0ae3816
import/Make.defs: Fix C++ library linkage with CONFIG_BUILD_KERNEL
...
Encapsulate link libraries with start/end group
2022-04-29 12:09:15 +03:00
zhuyanlin
a5a4c561fb
pmconfig: add mulit domain support
...
pmconfig [domain]
pmconfig relax/stay state [domain]
Signed-off-by: zhuyanlin <zhuyanlin1@xiaomi.com>
2022-04-28 00:36:36 +08:00
zhouliang3
426cc840d8
apps/ping: fix ping statistics error problem
...
nsh> ping 192.168.31.162
PING 192.168.31.162 56 bytes of data
56 bytes from 192.168.31.162: icmp_seq=0 time=8 ms
56 bytes from 192.168.31.162: icmp_seq=1 time=27 ms
56 bytes from 192.168.31.162: icmp_seq=2 time=17 ms
56 bytes from 192.168.31.162: icmp_seq=3 time=14 ms
56 bytes from 192.168.31.162: icmp_seq=4 time=16 ms
56 bytes from 192.168.31.162: icmp_seq=5 time=14 ms
56 bytes from 192.168.31.162: icmp_seq=6 time=8 ms
56 bytes from 192.168.31.162: icmp_seq=7 time=87 ms
WARNING: Received after timeout
56 bytes from 192.168.31.162: icmp_seq=8 time=1003 ms
56 bytes from 192.168.31.162: icmp_seq=8 time=6 ms
56 bytes from 192.168.31.162: icmp_seq=9 time=5 ms
10 packets transmitted, 11 received, 4294967287% packet loss, time 10011 ms
Signed-off-by: zhouliang3 <zhouliang3@xiaomi.com>
2022-04-25 22:12:42 +08:00
Petro Karashchenko
7eda43768a
interpreters/ficl: add double include guard to nuttx.h
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-24 09:48:56 +08:00
Abdelatif Guettouche
473611d51d
system/ping: Guard against division by zero when calculating the RTT.
...
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
2022-04-23 20:17:45 +03:00
Xiang Xiao
1acca2946e
Update the call site of exec to accommodate the environment variables
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-22 10:40:38 +03:00
Alin Jerpelea
d60fb1168d
nxstyle fixes
...
fixes for nxstyle errors reported by CI
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
73887c15e0
LICENSE: add license for chat
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
fa5fb8fc4b
LICENSE: add license for wapi
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
d5560b97ad
LICENSE: add license for gpsutils
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
8c09bddeb8
LICENSE: add license for netutils
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
1d1b25724e
LICENSE: add license for zmodem
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
0baea75f5c
LICENSE: add license for ubloxmodem
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
f3330cbca4
LICENSE: add license for telnet
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
f0f08b5ee9
LICENSE: add license for tee
...
document the license in the LICENSE file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
b99070589a
graphics: nxglyphs: Add Apache License
...
The initial contribution was missing a license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
54ce2e0ab9
nshlib: Add Apache License
...
The initial contribution was missing a license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
7c46bbc34d
include: netutils: pppd.h: update license to Apache
...
Brennan Ashton has signed the ICLA. As a result we can migrate the
license to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
e07ac9bc96
platform: dummy: Add Apache License
...
The initial contribution was missing a license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Alin Jerpelea
26e4e29c95
interpreters: ficl: Add Apache License
...
The initial contribution was missing a license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2022-04-22 11:14:17 +08:00
Petro Karashchenko
84e0e50995
make: update makefiles for mcuboot and libtomcrypt
...
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2022-04-21 21:11:58 +08:00
Ville Juven
0957a740cb
nshlib/nsh_fileapps.c: Pass global environ instead of NULL for posix_spawnp
...
Now that the environ pointer is a list of pointers-to-string, it can be
passed to the standard posix_spawn function as-is.
2022-04-21 20:58:05 +08:00
Jiuzhu Dong
9f79bf183a
nsh/script: support rc.sysinit script
...
Follow: http://glennastory.net/boot/sysinit.html
This is first script that init runs is rc.sysinit. This
script does serval initialization tasks about basic service.
The boot sequence currently provided to the board level is:
board_earlyinitialize->
board_lateinitialize(Peripherals driver, core driver, ...)->
run rcS script(mount fs, run service) ->
board_appinitialize->
After this patch:
The boot sequence currently provided to the board level is:
board_earlyinitialize->
board_lateinitialize(core driver,...)->
run rc.sysinit script(mount fs, run core service) ->
board_appinitialize(Peripherals driver)->
run rcS script(run other service)->
So, Peripheral drivers can do more with the file system and
core services.
Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
2022-04-21 12:54:24 +03:00
Huang Qi
768a21b587
system/i2c: Fix fd leak in i2ccmd_reset
...
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-04-19 14:53:51 +03:00
Huang Qi
c7413ee859
system/critmon: Fix dead code
...
Remove branch since errcount could never bigger than 100.
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2022-04-19 18:21:00 +08:00
chao.an
e4dcdcd158
testing/ostest: remove CONFIG_TESTING_OSTEST_FPUSIZE
...
fptest should not need to care about the size of FPU
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-19 02:48:24 +08:00
Xiang Xiao
3760ab5fc8
Remove the unneeded void cast
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-17 23:31:35 +03:00
zhanghongyu
b80ef1df87
usrsock: Don't clear recv and send available flag
...
Don't clear available flag if the response indicate there is more data
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-04-16 14:07:48 +08:00
chao.an
ab5e7496d5
Makefile/Application: correct COMPILER_RT_LIB PATH
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-16 00:33:00 +08:00
songlinzhang
460f631fa3
netutils/usrsock_rpmsg: broadcast the client DNS server to server
...
Signed-off-by: songlinzhang <songlinzhang@xiaomi.com>
2022-04-15 16:05:38 +08:00
Masayuki Ishikawa
7663f993f7
wireless: gs2200m: Fix recvfrom_request() in gs2200m_main.c
...
Summary:
- I noticed that wget causes ASSERT in gs2200m_main.c recently.
- Finally, I found that it sends a wrong ack message in
recvfrom_request() when the socket is closed passively
- This commit fixes this issue.
Impact:
- gs2200m only
Testing:
- Tested with spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-04-15 10:36:52 +03:00
chao.an
b8b9d45706
netutils/ping: skip the id check
...
https://joekuan.wordpress.com/2017/05/30/behaviour-of-identifier-field-in-icmp-ping-as-udp-between-linux-and-osx/
https://lwn.net/Articles/443051/
https: //github.com/apache/incubator-nuttx-apps/blob/master/netutils/ping/icmp_ping.c#L298
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-14 23:23:07 +03:00
zrrong
d17c9509f6
wireless/wapi: fix wapi wpa_wconfig_s alg data type error
...
Signed-off-by: zrrong <zrrong@bouffalolab.com>
2022-04-14 18:24:33 +03:00
田昕
cc7653b8c7
fix resetcause nsh command print
...
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
2022-04-14 16:43:45 +03:00
zhanghongyu
a6c986d516
rpmsg_usrsock: Support the wireless ioctl which contain pointer 2/2
...
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-04-14 02:47:53 +08:00
zhanghongyu
3a42d849f5
Revert "rpmsg: pointer of netdev ioctl support cross-core memory access"
...
This reverts commit bd539651cdf1e5067dc5d21349ef835e98e262eb.
Reason for revert: Change the implementation method
Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2022-04-14 02:47:53 +08:00
YAMAMOTO Takashi
c7fcffd09a
nshlib/nsh_fscmds.c: Make losetup command take optional sector size
2022-04-11 22:19:19 +08:00
SPRESENSE
f2e7faa478
examples/scd41: Add new example for scd41 CO2 sensor
...
Add new example for scd41 CO2 sensor application.
2022-04-11 20:54:48 +08:00
okayserh
c8bc287a29
According to the help text, the balance command without value
...
should display the current balance value. This patch adjusts
the code accordingly.
2022-04-11 11:07:49 +08:00
Xiang Xiao
2f74de6f02
.github/workflows/check.yml: Enable Change-ID check explicitly
...
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-04-09 22:08:27 +02:00
chao.an
8c1a4994cc
system/note: correct unflatten format
...
Signed-off-by: chao.an <anchao@xiaomi.com>
2022-04-08 01:38:13 +08:00