diff --git a/configs/lincoln60/README.txt b/configs/lincoln60/README.txt index 8d46ecc6fa9..57454f68906 100644 --- a/configs/lincoln60/README.txt +++ b/configs/lincoln60/README.txt @@ -476,6 +476,42 @@ as follow: Where 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 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. diff --git a/configs/lincoln60/include/board.h b/configs/lincoln60/include/board.h index 78b94da6763..3ac74c0659a 100644 --- a/configs/lincoln60/include/board.h +++ b/configs/lincoln60/include/board.h @@ -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 ****************************************************************************/