Readme.txt update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4643 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f905f8e998
commit
795f4402b6
@ -162,7 +162,7 @@
|
|||||||
#define LED_NVALUES 6
|
#define LED_NVALUES 6
|
||||||
|
|
||||||
/* Switch definitions *******************************************************/
|
/* Switch definitions *******************************************************/
|
||||||
/* The PIC32 start kit has 3 switches:
|
/* The PIC32 starter kit has 3 switches:
|
||||||
*
|
*
|
||||||
* RD7 Switch SW2 (low when closed)
|
* RD7 Switch SW2 (low when closed)
|
||||||
* RD6 Switch SW1 (low when closed)
|
* RD6 Switch SW1 (low when closed)
|
||||||
|
@ -61,7 +61,7 @@
|
|||||||
* RC2 LED5
|
* RC2 LED5
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* The PIC32 start kit has 3 switches:
|
/* The PIC32 starter kit has 3 switches:
|
||||||
*
|
*
|
||||||
* RD7 Switch SW2 (low when closed)
|
* RD7 Switch SW2 (low when closed)
|
||||||
* RD6 Switch SW1 (low when closed)
|
* RD6 Switch SW1 (low when closed)
|
||||||
|
@ -551,9 +551,7 @@ Where <subdir> is one of the following:
|
|||||||
Serial Output.
|
Serial Output.
|
||||||
--------------
|
--------------
|
||||||
The OS test produces all of its test output on the serial console.
|
The OS test produces all of its test output on the serial console.
|
||||||
This configuration has UART1 enabled as a serial console. I have
|
This configuration has UART1 enabled as a serial console.
|
||||||
been unable to get this UART work on the MEB. But on the Expansion
|
|
||||||
I/O board, this maps to RX = J11 pin 41 and TX = J11 pin 43
|
|
||||||
|
|
||||||
nsh:
|
nsh:
|
||||||
====
|
====
|
||||||
@ -565,9 +563,7 @@ Where <subdir> is one of the following:
|
|||||||
Serial Output.
|
Serial Output.
|
||||||
--------------
|
--------------
|
||||||
The OS test produces all of its test output on the serial console.
|
The OS test produces all of its test output on the serial console.
|
||||||
This configuration has UART1 enabled as a serial console. I have
|
This configuration has UART1 enabled as a serial console.
|
||||||
been unable to get this UART work on the MEB. But on the Expansion
|
|
||||||
I/O board, this maps to RX = J11 pin 41 and TX = J11 pin 43
|
|
||||||
|
|
||||||
USB Configuations.
|
USB Configuations.
|
||||||
-----------------
|
-----------------
|
||||||
@ -645,49 +641,6 @@ Where <subdir> is one of the following:
|
|||||||
|
|
||||||
CONFIG_DISABLE_POLL=n
|
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_CONSOLE=n : Disable NSH serial console
|
|
||||||
CONFIG_NSH_TELNET=y : Enable the Telnet NSH console
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
Using a RAM disk and the USB MSC device with nsh and nsh2
|
Using a RAM disk and the USB MSC device with nsh and nsh2
|
||||||
---------------------------------------------------------
|
---------------------------------------------------------
|
||||||
Here is an experimental change to either examples/nsh or examples/nsh2
|
Here is an experimental change to either examples/nsh or examples/nsh2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user