STM32 Ethernet needs a MAC address
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4167 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
7643846530
commit
5f099281e7
@ -269,8 +269,10 @@ LEDs
|
|||||||
====
|
====
|
||||||
|
|
||||||
The STM3210E-EVAL board has four LEDs labeled LD1, LD2, LD3 and LD4 on the
|
The STM3210E-EVAL board has four LEDs labeled LD1, LD2, LD3 and LD4 on the
|
||||||
board. Usage of these LEDs is defined in include/board.h and src/up_leds.c.
|
board.. These LEDs are not used by the board port unless CONFIG_ARCH_LEDS is
|
||||||
They are encoded as follows:
|
defined. In that case, the usage by the board port is defined in
|
||||||
|
include/board.h and src/up_leds.c. The LEDs are used to encode OS-related\
|
||||||
|
events as follows:
|
||||||
|
|
||||||
SYMBOL Meaning LED1* LED2 LED3 LED4
|
SYMBOL Meaning LED1* LED2 LED3 LED4
|
||||||
------------------- ----------------------- ------- ------- ------- ------
|
------------------- ----------------------- ------- ------- ------- ------
|
||||||
|
@ -178,8 +178,11 @@ The Ethernet driver is configured to use the MII interface:
|
|||||||
LEDs
|
LEDs
|
||||||
====
|
====
|
||||||
|
|
||||||
The STM3240G-EVAL board has four LEDs labeled. Usage of these LEDs is defined
|
The STM3240G-EVAL board has four LEDs labeled LD1, LD2, LD3 and LD4 on the
|
||||||
in include/board.h and src/up_leds.c. They are encoded as follows:
|
board.. These LEDs are not used by the board port unless CONFIG_ARCH_LEDS is
|
||||||
|
defined. In that case, the usage by the board port is defined in
|
||||||
|
include/board.h and src/up_leds.c. The LEDs are used to encode OS-related\
|
||||||
|
events as follows:
|
||||||
|
|
||||||
SYMBOL Meaning LED1* LED2 LED3 LED4
|
SYMBOL Meaning LED1* LED2 LED3 LED4
|
||||||
------------------- ----------------------- ------- ------- ------- ------
|
------------------- ----------------------- ------- ------- ------- ------
|
||||||
@ -440,5 +443,8 @@ Where <subdir> is one of the following:
|
|||||||
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
Configures the NuttShell (nsh) located at apps/examples/nsh. The
|
||||||
Configuration enables both the serial and telnet NSH interfaces.
|
Configuration enables both the serial and telnet NSH interfaces.
|
||||||
|
|
||||||
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
CONFIG_STM32_CODESOURCERYW=y : CodeSourcery under Windows
|
||||||
|
CONFIG_NSH_DHCPC=n : DHCP is disabled
|
||||||
|
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2) : Target IP address 10.0.0.2
|
||||||
|
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1) : Host IP address 10.0.0.1
|
||||||
|
|
||||||
|
@ -1010,7 +1010,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n
|
|||||||
# Settings for examples/nettest
|
# Settings for examples/nettest
|
||||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||||
CONFIG_EXAMPLE_NETTEST_NOMAC=n
|
CONFIG_EXAMPLE_NETTEST_NOMAC=y
|
||||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2)
|
CONFIG_EXAMPLE_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||||
@ -1070,7 +1070,7 @@ CONFIG_NSH_TELNET=y
|
|||||||
CONFIG_NSH_ARCHINIT=n
|
CONFIG_NSH_ARCHINIT=n
|
||||||
CONFIG_NSH_IOBUFFER_SIZE=512
|
CONFIG_NSH_IOBUFFER_SIZE=512
|
||||||
CONFIG_NSH_DHCPC=n
|
CONFIG_NSH_DHCPC=n
|
||||||
CONFIG_NSH_NOMAC=n
|
CONFIG_NSH_NOMAC=y
|
||||||
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||||
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||||
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||||
|
@ -1005,7 +1005,7 @@ CONFIG_EXAMPLE_UIP_DHCPC=n
|
|||||||
# Settings for examples/nettest
|
# Settings for examples/nettest
|
||||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||||
CONFIG_EXAMPLE_NETTEST_NOMAC=n
|
CONFIG_EXAMPLE_NETTEST_NOMAC=y
|
||||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2)
|
CONFIG_EXAMPLE_NETTEST_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||||
@ -1072,7 +1072,7 @@ CONFIG_NSH_TELNET=n
|
|||||||
CONFIG_NSH_ARCHINIT=n
|
CONFIG_NSH_ARCHINIT=n
|
||||||
CONFIG_NSH_IOBUFFER_SIZE=512
|
CONFIG_NSH_IOBUFFER_SIZE=512
|
||||||
CONFIG_NSH_DHCPC=n
|
CONFIG_NSH_DHCPC=n
|
||||||
CONFIG_NSH_NOMAC=n
|
CONFIG_NSH_NOMAC=y
|
||||||
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
CONFIG_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||||
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
CONFIG_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||||
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
CONFIG_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||||
|
Loading…
Reference in New Issue
Block a user