Xiang Xiao
41d88f06e7
Run codespell -w with the latest dictonary again
2020-02-23 07:10:14 -06:00
Xiang Xiao
e0dcfa0c55
Remove extra whitespace from files ( #43 )
...
* Remove multiple newlines at the end of file
* Remove the white space from the end of line
2020-01-31 08:29:24 -06:00
Xiang Xiao
857158451b
Unify the void cast usage
...
1.Remove void cast for function because many place ignore the returned value witout cast
2.Replace void cast for variable with UNUSED macro
Change-Id: Ie644129a563244a6397036789c4c3ea83c4e9b09
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-01-02 23:21:01 +08:00
ligd
42aaecf1d1
apps/nshlib: Add new NSH command, 'pmconfig'.
2019-11-04 07:44:33 -06:00
ligd
611bc6c139
apps/nshlib: Add rptun cmd for boot remote core.
2019-11-03 09:36:49 -06:00
GregoryN
3bf4b6d245
Merged altconsole into master
2018-12-08 18:53:54 -06:00
ligd
bee98898f0
apps/nshlib: Expand reboot and poweroff commands to include a second, optional mode argument
2018-08-23 06:21:47 -06:00
Gregory Nutt
c1ec7db8a9
This commite eliminates the ping command from NSH and replaces it with a ping 'built-in' at apps/system/ping. The original NSH version of ping violated the portable POSIX interface and, hence, had to be removed. The new system/ping command uses the new IPPROTO_ICMP AF_INET datagram sockets to implement ping.
...
Squashed commit of the following:
apps/system/ping: Fix some timing issues.
apps/system/ping: A few timing related corrections.
apps/nshlib: Remove support for the NSH 'ping' command. The implementation of that command violated the portable POSIX interface and has been replaced with a ping 'built-in' command at apps/system/ping.
apps/system/ping: Add larger payload. Verify content of echoed payload.
apps/system/ping: Various fixes for a clean compile
system/ping: Add new build structure for system ping command.
2017-10-23 08:50:01 -06:00
Alan Carvalho de Assis
8e7ed15cce
NSHLIB uname command: Eliminate 'defined but not used' warning in some configurations
2017-03-07 15:36:18 -06:00
Aleksandr Vyhovanec
e832e73b99
nshlib/: Fix missing semicolon; include string.h.
2016-09-05 07:05:17 -06:00
Mateusz Szafoni
6ff8074532
apps/nshlib/nsh_syscmds.c: missing semicolon
2016-08-25 14:26:33 +02:00
Paul A. Patience
266cc147c4
Correct #if to #ifdef when the macro can be undefined
2015-09-01 13:44:06 -04:00
Gregory Nutt
74aa0f21c5
NSH uname command: Uninitialized variable caused failures in some unlucky cases
2015-07-05 09:06:13 -06:00
Gregory Nutt
584284adc3
NSH uname, Use unknown if board name is not known
2015-07-05 08:42:00 -06:00
Gregory Nutt
243694308e
NSH uname command will now print the board directory for -i option
2015-07-05 06:47:29 -06:00
Gregory Nutt
d710b7c3b7
Add support for the NSH uname command
2015-07-04 15:13:11 -06:00
Gregory Nutt
95eea325cf
Add poweroff and reboot NSH commands as alternatives to the shutdown command
2015-07-04 12:44:24 -06:00
Gregory Nutt
165637ce27
The NSH shutdown option should be called --reboot, not --reset, for compatibility with the statndard shutdown command
2015-07-04 11:39:44 -06:00
Gregory Nutt
a2a1530694
The NSH shutdown command now supports the --reset option, if available in hardware
2015-07-04 11:11:16 -06:00
Gregory Nutt
fa9e1812f8
Oops.. forgot to add a file before the last commit
2015-07-04 08:44:42 -06:00