Skip to content
  1. Nov 10, 2016
  2. Nov 09, 2016
  3. Nov 03, 2016
  4. Oct 31, 2016
  5. Oct 26, 2016
  6. Oct 22, 2016
  7. Oct 11, 2016
  8. Oct 08, 2016
  9. Oct 06, 2016
  10. Oct 01, 2016
  11. Sep 22, 2016
  12. Sep 12, 2016
  13. Sep 05, 2016
  14. Sep 02, 2016
  15. Aug 26, 2016
  16. Aug 25, 2016
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
      The previous commit was reverted. My concern was misplaced: There is a guard... · 8cfa1dbd
      Gregory Nutt authored
      The previous commit was reverted.  My concern was misplaced:  There is a guard boolean to prevent running the init script more than once.  This comment just restores some of the good cosmetic changes that were included in the reverted commit.
      8cfa1dbd
    • Gregory Nutt's avatar
      Revert "This commit adds nsh_consolechild(). I noticed that there are several... · 4eda22b4
      Gregory Nutt authored
      Revert "This commit adds nsh_consolechild().  I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session.  That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library:  Mounting, reading, and running the start-up script, configuring USB tracing.  Some of those actions will cause failures if attempted twice."
      
      This reverts commit 4d364d83.
      4eda22b4
    • Gregory Nutt's avatar
      This commit adds nsh_consolechild(). I noticed that there are several... · 4d364d83
      Gregory Nutt authored
      This commit adds nsh_consolechild().  I noticed that there are several examples that call nsh_consolemain.c to create to create a new NSH session.  That will not always work because nsh_consolemain() performs the one-time initialization needed by the NSH library:  Mounting, reading, and running the start-up script, configuring USB tracing.  Some of those actions will cause failures if attempted twice.
      
      Here are some offenders: examples/cc3000/shell.c, examples/nsh/nsh_main.c, examples/nxterm/nxterm_main.c, and examples/pty_test/pty_test.c.  It is possible that for some of those, that represents the first call to nsh_consolemain().  But probably not.
      
      To give other initialization options, I added nsh_consolechild() which is identical to nsh_consolemain() other than it omits all of the one-time initialization.  Of course, you would not get the result that you wanted if nsh_consolechild() were called without nsh_consolemain().
      4d364d83
    • Gregory Nutt's avatar
      Update some comments in a Kconfig · 775d25c5
      Gregory Nutt authored
      775d25c5