summaryrefslogtreecommitdiff
path: root/nuttx/configs/pic32-starterkit/README.txt
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/pic32-starterkit/README.txt')
-rw-r--r--nuttx/configs/pic32-starterkit/README.txt42
1 files changed, 42 insertions, 0 deletions
diff --git a/nuttx/configs/pic32-starterkit/README.txt b/nuttx/configs/pic32-starterkit/README.txt
index 3fe6c9e79..29dcafbd8 100644
--- a/nuttx/configs/pic32-starterkit/README.txt
+++ b/nuttx/configs/pic32-starterkit/README.txt
@@ -1073,3 +1073,45 @@ Where <subdir> is one of the following:
And enable poll() support in the NuttX configuration file:
CONFIG_DISABLE_POLL=n
+
+ nsh2:
+ =====
+
+ This is an alternative NSH configuration. Without the Expansion I/O board,
+ there is no way to connect a serial console. This NSH alternative supports
+ only a Telnet console. The nsh2 differs from the nsh configuration in the
+ following ways:
+
+ 1. Networking is enabled:
+
+ CONFIG_NET=y : Enable networking support
+ CONFIG_PIC32MX_ETHERNET=y : Enable the PIC32 Ethernet driver
+ CONFIG_NSH_TELNET=y : Enable the Telnet NSH console (optional)
+
+ See apps/nshlib/README.txt for other NSH networking-related configuration
+ settings.
+
+ 2. UART1 is disabled
+
+ CONFIG_PIC32MX_UART1=n : UART1 is disabled (as well as other UARTs)
+ CONFIG_UART1_SERIAL_CONSOLE=n : There is no serial console
+
+ 3. The RAM log is enabled"
+
+ CONFIG_SYSLOG=y : Enables the System Logging feature.
+ CONFIG_RAMLOG=y : Enable the RAM-based logging feature.
+ CONFIG_RAMLOG_CONSOLE=n : (there is no default console device)
+ CONFIG_RAMLOG_SYSLOG=y : This enables the RAM-based logger as the
+ system logger.
+
+ Logging is currently set up to use 16Kb of memory:
+
+ CONFIG_RAMLOG_CONSOLE_BUFSIZE=16384
+
+ There are a few other configuration differences as necessary to support
+ this different device configuration. Just the do the 'diff' if you are
+ curious.
+
+ NOTES:
+ See the notes for the nsh configuration. Most also apply to the nsh2
+ configuration.