Lincoln60: Update board.h to get clean compile of the netnsh configuration. Update README.txt

This commit is contained in:
Gregory Nutt 2015-06-03 19:08:48 -06:00
parent eb35f48fca
commit e96ec630c1
2 changed files with 50 additions and 2 deletions

View File

@ -476,6 +476,42 @@ as follow:
Where <subdir> is one of the following:
netnsh:
Configures the NuttShell (nsh) located at apps/examples/nsh. This
configuration is similar to the nsh configuration except that network
upport is enabled.
NOTES:
1. This configuration uses the mconf-based configuration tool. To
change this configurations using that tool, you should:
a. Build and install the kconfig-mconf tool. See nuttx/README.txt
and misc/tools/
b. Execute 'make menuconfig' in nuttx/ in order to start the
reconfiguration process.
2. This configuration is setup to build under Windows with Cygwin using
the CodeSourcery toolchain. That is, however, easily reconfigured.
3. This configuration uses a serial console on UART0 at 115200 8N1.
This is the serial port at the connector labelled COM1 on the
Lincoln 60.
3. This example does initializes the network, then NSH sequentially. It
does not use the NSH network monitor thread. There are two
consequences to this: 1) There will be a delay booting to the NSH
prompt while the network is brought up. This delay will normally be
small but it the network cable is unconnected, it can be very long
(you may thing that the firmware is hung). and 2) if the network is
unplugged, then re-connected. The network will not automatically be
brought back up. But you should be able to do that manually with
the NSH ifup command.
If you want better, more responsive network management, look into
the NSH network monitor thread.
nsh:
Configures the NuttShell (nsh) located at apps/examples/nsh.
@ -490,7 +526,10 @@ Where <subdir> is one of the following:
b. Execute 'make menuconfig' in nuttx/ in order to start the
reconfiguration process.
2. This configuration uses a serial console on UART0 at 115200 8N1.
2. This configuration is setup to build under Linux with the Nutt
buildroot toolchain. That is, however, easily reconfigured.
3. This configuration uses a serial console on UART0 at 115200 8N1.
This is the serial port at the connector labelled COM1 on the
Lincoln 60.

View File

@ -128,6 +128,10 @@
#define CONFIG_LPC17_FLASH 1
#define BOARD_FLASHCFG_VALUE 0x0000303a
/* Ethernet configuration */
#define ETH_MCFG_CLKSEL_DIV ETH_MCFG_CLKSEL_DIV20
/* LED definitions *********************************************************/
/* The Lincoln 60 has 2 LEDs along the bottom of the board. Green or off.
* If CONFIG_ARCH_LEDS is defined, the LEDs will be controlled as follows
@ -163,10 +167,15 @@
#ifdef CONFIG_USBHOST
# ifdef GPIO_USB_PWRD
# undef GPIO_USB_PWRD
# define GPIO_USB_PWRD (GPIO_INPUT | GPIO_PORT1 | GPIO_PIN22)
# define GPIO_USB_PWRD (GPIO_INPUT | GPIO_PORT1 | GPIO_PIN22)
# endif
#endif
/* Ethernet PHY */
#define GPIO_ENET_MDC GPIO_ENET_MDC_1
#define GPIO_ENET_MDIO GPIO_ENET_MDIO_1
/****************************************************************************
* Public Types
****************************************************************************/