Commit Graph

112 Commits

Author SHA1 Message Date
Alan Carvalho de Assis
cdedb412ed apps/nshlib: Add printf command to NSH, e.g., controlling /dev/userleds from command line: nsh> printf \x01 > /dev/userleds 2016-10-01 07:44:15 -06:00
Gregory Nutt
c9378ef87e Fix hex representation of IP address. Also noted by Michał Łyszczek 2016-08-19 06:35:29 -06:00
Gregory Nutt
b9d56991f3 Update some comments. Remove trailing whitespace noted by Michał Łyszczek 2016-08-19 06:25:42 -06:00
Gregory Nutt
7d517413cb Things that use mkfifo() and pipe() depend on CONFIG_PIPES 2016-07-20 10:46:05 -06:00
Sebastien Lorquet
2cbad44f1d This is the Pokemon patch to change all includes fronm <apps/bla/bla.h> to "bla/bla.h" 2016-07-11 10:11:18 -06:00
David Sidrane
6eab2b7811 Take 2 2016-07-01 09:45:00 -10:00
Gregory Nutt
57a0f88728 Revert "Review of last PR"
This reverts commit 0e4c247e1d.
2016-07-01 13:26:34 -06:00
Gregory Nutt
0e4c247e1d Review of last PR 2016-07-01 13:22:36 -06:00
David Sidrane
cbe1d33786 Allow stack usage to be disabled on contrained systems 2016-07-01 08:59:46 -10:00
Gregory Nutt
0e76ca7474 Move apps/include/nsh.h to apps/include/nshlib/nshlib.h 2016-07-01 06:59:23 -06:00
Gregory Nutt
8a03660c72 Remove apps/system/usbmonitor. It has been moved to nuttx/drivers/usbmonitor. 2016-06-30 13:13:05 -06:00
Gregory Nutt
a2a9e20c65 Move NSH stuff out of nuttx/configs/Kconfig to here. Why was it in the NuttX tree. 2016-06-24 07:47:03 -06:00
Gregory Nutt
468bdcf8e6 Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES 2016-06-11 14:13:39 -06:00
Gregory Nutt
56e75e9db8 Rename CONFIG_DEBUG_VERBOSE to CONFIG_DEBUG_INFO 2016-06-11 11:50:38 -06:00
Sebastien Lorquet
d2aa24ad88 Make sure that APPNAME is defined in all Makefiles that generate applications 2016-06-09 10:51:04 -06:00
Marten Svanfeldt
33c6a6bb75 Make NSH net-initialization be a configuration option
Signed-off-by: Marten Svanfeldt <marten@intuitiveaerial.com>
2016-06-09 05:29:01 +02:00
Gregory Nutt
0943afd2f9 Kconfig files: All USB-related options depend on CONFIG_LIB_BOARDCTRL and now set CONFIG_BOARDCTL_USBDEVCTL=y 2016-03-26 07:13:57 -06:00
Gregory Nutt
b8c8bea22c Add an 'arp' command to NSH to support access to the OS ARP table 2016-02-08 14:49:05 -06:00
Gregory Nutt
0720f9a357 NSH: Add option to use platform-specific logic to verify login credentials; Add option to add a delay after each failed login attempt 2016-01-22 10:46:19 -06:00
Gregory Nutt
93d9d5e4ca apps/nshlib: All NSH sessions may now be protected with passwords stored in the encrypted /etc/passwd file 2016-01-20 14:42:39 -06:00
Gregory Nutt
681bfa2605 NSH: Add logic for the case where the passwd file is read-only. ROMFS image needs to be marked as const, or it will end up in RAM. 2016-01-20 13:05:25 -06:00
Gregory Nutt
3dad8a29a2 NSH now supports an MOTD string that will be presented after the greeting 2016-01-20 11:18:08 -06:00
Gregory Nutt
fe05a8444f apps/nshlib: Add useradd, userdel, and passwd commends 2016-01-20 09:37:25 -06:00
Gregory Nutt
f09b7e400f NSH: Add a time command that can be used to time other commands 2015-12-31 09:16:38 -06:00
Gregory Nutt
f0a21d3d48 NSH: Add module commands: insmod, rmmod, and lsmod 2015-12-13 09:55:52 -06:00
Gregory Nutt
aa35ebb6b6 Correct a typo in CONFIG_NSH_IPADDR help text. 2015-12-02 16:17:50 +00:00
Gregory Nutt
997ba578e4 Default value for LOSMART support should be disabled if MTD_SMART is not selected 2015-11-29 07:20:09 -06:00
Gregory Nutt
7e7dd916ce apps/nshlib: The 'ps' command now uses /proc/(pid)/ to obtain task status information. A consequence of this is that you cannot use the 'ps' command if the procfs is not enabled and mounted at /proc. 2015-11-28 15:03:21 -06:00
Ken Pettit
d82b8a2e23 apps/nshlib: Add a new NSH losmart command. losmart setups up a loop device for the smart MTD driver similar to losetup but with different syntax. From Ket Petit. 2015-11-28 09:05:05 -06:00
Gregory Nutt
0fb32570ff apps/nshlib: Remove all references to internal OS interface netdev_foreach(). Logic in ifconfig, ifup, and ifown now use the procfs file system to examine networking status. 2015-11-27 17:47:09 -06:00
Gregory Nutt
c3b09d5d8b NSH: By default, basename and dirname should be disabled if scripting is disabled 2015-11-23 17:22:37 -06:00
Gregory Nutt
178c9780a8 NSH: Add support for basename and dirname commands 2015-11-23 10:21:15 -06:00
Ken Pettit
ad48d89fe2 mksmartfs: Move into apps/fsutils from kernel, now uses only open and ioctl. Add configuration option to supported multiple root directories. From Ken Petit 2015-11-23 06:59:56 -06:00
OrbitalFox
93876b5af3 Kconfig: Improved comments 2015-09-24 08:28:50 -06:00
Pavel Pisa
64fb2c63b6 Correct numerous places where NETUTILS_DNSCLIENT was instead of NETDB_DNSCLIENT 2015-08-20 16:08:45 -06:00
Gregory Nutt
74801cf38e apps/tools/mkkconfig.sh: The top-level Kconfig file is not auto-generated. The autogenerated Kconfig file will be constructed so that every second level directory that contains a Kconfig file will automatically be sourced 2015-08-11 17:49:10 -06:00
Gregory Nutt
820c5c42dd readline/NSH: Extend the tab-completion logic so that NSH commands can also be completed by pressing the tab key 2015-07-30 12:11:58 -06:00
Gregory Nutt
25d45d642f Add an NSH nslookup command 2015-07-13 11:19:02 -06:00
Gregory Nutt
812450ebe6 If NSH or Webclient is selected, make sure that CONFIG_LIBC_NETDB is enabled; reanem dnsclient.h to dns.h 2015-07-12 09:25:39 -06:00
Gregory Nutt
d710b7c3b7 Add support for the NSH uname command 2015-07-04 15:13:11 -06:00
Gregory Nutt
f9afefe7e9 Fix a typo in a Kconfig file 2015-07-04 13:17:10 -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
a18ed33d99 NSH now supports a shutdown command if CONFIG_BOARDCTL_POWEROFF-y 2015-07-04 08:20:19 -06:00
Gregory Nutt
d5b6949c9f Fix references to the no-longer-existent misc/ directory in comments, README files, and documentation 2015-06-28 08:14:53 -06:00
Gregory Nutt
23075e0b30 Allow NSH date command with no RTC. This command is useful without an RTC too. Also, this permits testing on the simulator which never has an RTC 2015-04-11 12:13:18 -06:00
Gregory Nutt
9fcd34f1c4 NSH initialization now calls boardctl(BOARDIOC_INIT) instead of board_app_initaliaze. Modify all configurations: Make sure that CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are better ways to do that operation 2015-03-31 12:14:16 -06:00
Gregory Nutt
6bad91308d Rename arch_nshinitialize() to board_app_initialize() 2015-03-31 10:21:31 -06:00
Gregory Nutt
d8d4a3486c SAMV7 USB: Updates to early initialization logic 2015-03-24 10:05:21 -06:00
Gregory Nutt
edf876ed1a Add missing options to NSH Library Kconfig. From Freddie Chopin 2015-03-02 06:16:38 -06:00
Gregory Nutt
ae142c0605 NSH: The default priority of the network initialization thread should be lower. It is CPU intensive and can interfere with other operations 2015-02-17 13:14:50 -06:00