Commit Graph

435 Commits

Author SHA1 Message Date
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
6951366eca Replace all calls to the OS internal usbdev_serialinitialize with proper calls to boardctl() 2016-03-25 16:00:28 -06:00
Gregory Nutt
a31300cb05 Replace calls to OS internal cdcacm_*, usbmsc_*, and composite_* with boardctl() calls 2016-03-25 13:26:00 -06:00
Gregory Nutt
c6ac4d2581 NSH: ps command will show CPU if SMP is enabled 2016-02-19 15:33:32 -06:00
Gregory Nutt
d5c3bae6cd apps/: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section() 2016-02-14 15:15:37 -06:00
Gregory Nutt
5642e02f77 Fix some incorrect usage of INADDR_ANY 2016-02-09 11:24:30 -06:00
Gregory Nutt
b54aa2b081 NSH: Improve an error message 2016-02-08 16:29:54 -06:00
Gregory Nutt
3df8b716dc Remove some redundant logic 2016-02-08 16:19:21 -06:00
Gregory Nutt
1482732f18 NetLib: Move functions in netlib.c to separate files; improve some naming 2016-02-08 16:09:24 -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
c8e21ddcd6 Costmetic changes to comments and spacing. 2016-02-06 11:34:39 -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
6febdc60c1 Update to use 64-bit timer when available 2016-01-21 12:03:04 -06:00
Gregory Nutt
07cf99130c nsh_stdsession() cannot use the same login logic as nsh_session(); Also put telnet login in a separate file for symmetry 2016-01-20 15:22:02 -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
7f5a7a07a5 Costmetic alignment 2016-01-17 08:12:51 -06:00
Gregory Nutt
b5c5055c41 NSH: Remove partial implementation of the use of IOBJ/IPTR in NSH. There are some complications 2016-01-17 07:53:52 -06:00
Gregory Nutt
16ed293417 Revert "Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR""
This reverts commit fd083ee981.
2016-01-17 07:41:51 -06:00
Gregory Nutt
a5fbb4cd24 Revert "NSHL: Format strings for nsh_output should all have IOBJ qualifier"
This reverts commit 186a101d2c.
2016-01-17 07:39:33 -06:00
Gregory Nutt
fd083ee981 Revert "NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR"
This reverts commit cb6a914d08.
2016-01-17 07:39:17 -06:00
Gregory Nutt
691bd07f2e NSH library: Costmetic change 2016-01-17 07:29:50 -06:00
Stefan Kolb
3b820bbc78 NSH: Correct an error in conditional compilation 2016-01-13 06:53:33 -06:00
Gregory Nutt
c13b9e6a51 Fix compile error in time command when certain features are disabled 2016-01-08 11:23:45 -06:00
Gregory Nutt
50f44f23f2 Fix an error in last commit; eliminate a warning 2016-01-06 10:14:09 -06:00
Gregory Nutt
186a101d2c NSHL: Format strings for nsh_output should all have IOBJ qualifier 2016-01-06 08:31:56 -06:00
Gregory Nutt
cb6a914d08 NSH: All nsh_output strings tagged with IOBJ so that they may be stored in FLASH on AVR 2016-01-05 16:38:50 -06:00
Gregory Nutt
611bd4684f Update some comments 2016-01-04 12:36:38 -06:00
Gregory Nutt
d5df336821 Trivial update to README 2016-01-01 12:16:19 -06:00
Gregory Nutt
31629ee982 Update README 2016-01-01 09:09:34 -06:00
Gregory Nutt
949b4bd520 Correct a statement in the description of the time command 2015-12-31 10:23:11 -06:00
Gregory Nutt
6c89c01cf5 Fix a scaling error in the new time command 2015-12-31 10:03:04 -06:00
Gregory Nutt
3b3b8faf68 Trivial update to README 2015-12-31 09:19:19 -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
15201642b3 Minor adjustment of spacing 2015-12-13 10:39:13 -06:00
Gregory Nutt
a620f99306 Update README; trivial changes to lsmod output format 2015-12-13 10:30:47 -06:00
Gregory Nutt
f0a21d3d48 NSH: Add module commands: insmod, rmmod, and lsmod 2015-12-13 09:55:52 -06:00
Gregory Nutt
652853c7d1 NSH DD command: Use nsh_freefullpath() instead of free(). Actually, these are the so this does not fix bug. It is just needed for symmetry. 2015-12-02 14:10:50 -06:00
Gregory Nutt
aa35ebb6b6 Correct a typo in CONFIG_NSH_IPADDR help text. 2015-12-02 16:17:50 +00:00
Gregory Nutt
eb1360d56e NSH: Add group ID or parent PID to ps command output (if available) 2015-11-30 08:05:34 -06: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
cee429beac Update NSH README. Update ps examples 2015-11-28 17:52:25 -06:00
Gregory Nutt
793f445f54 Update README 2015-11-28 17:28:54 -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
Gregory Nutt
082b452016 Move string trimming logic in nsh_fsutils.c as nsh_trimspaces() 2015-11-28 15:01:00 -06:00
Gregory Nutt
64c7e31896 nshlib: Correct an error message 2015-11-28 11:57:37 -06:00
Gregory Nutt
88d3ac1c92 apps/nshlib: nsh_readfile() should not be marked as static 2015-11-28 11:39:50 -06:00
Gregory Nutt
631c9cec12 apps/nshlib: The I/O buffer, g_iobuffer, should not be a global buffer. That will not work in an environment where there are multiple NSH sessions. The I/O buffer must, instead, be a part part of the session-specific data defined in nsh_console.h # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. 2015-11-28 11:13:47 -06:00