Fix endian-ness
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1569 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
920e84cfcc
commit
6eff0f3485
@ -76,7 +76,7 @@ CONFIG_ARCH_BOARD_EZ80F910200KITG=y
|
||||
CONFIG_ARCH_NOINTC=n
|
||||
CONFIG_ARCH_IRQPRIO=n
|
||||
CONFIG_BOARD_LOOPSPERMSEC=1250
|
||||
CONFIG_ENDIAN_BIG=y
|
||||
CONFIG_ENDIAN_BIG=n
|
||||
CONFIG_DRAM_SIZE=65536
|
||||
CONFIG_ARCH_LEDS=n
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
@ -117,6 +117,7 @@ CONFIG_UART1_2STOP=0
|
||||
# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver.
|
||||
# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device
|
||||
# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY
|
||||
# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD
|
||||
# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000)
|
||||
# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS -
|
||||
# The size of one packet buffer and the number of Rx and Tx packet
|
||||
@ -131,6 +132,7 @@ CONFIG_UART1_2STOP=0
|
||||
CONFIG_EZ80_EMAC=n
|
||||
CONFIG_EZ80_FIAD=0x1f
|
||||
CONFIG_EZ80_PHYAM79C874=y
|
||||
CONFIG_EZ80_PHYCONFIG=1
|
||||
CONFIG_EZ80_RAMADDR=0xf7c000
|
||||
CONFIG_EZ80_PKTBUFSIZE=64
|
||||
CONFIG_EZ80_NTXPKTBUFS=64
|
||||
@ -575,9 +577,9 @@ CONFIG_NX_MXCLIENTMSGS=16
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_UIP_SMTP=n
|
||||
CONFIG_EXAMPLE_UIP_TELNETD=n
|
||||
CONFIG_EXAMPLE_UIP_WEBSERVER=y
|
||||
@ -589,10 +591,10 @@ CONFIG_EXAMPLE_UIP_WEBCLIENT=n
|
||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||
CONFIG_EXAMPLE_NETTEST_NOMAC=n
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192<<24|168<<16|0<<8|106)
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192L<<24|168L<<16|0L<<8|106L)
|
||||
|
||||
#
|
||||
# Settings for examples/ostest
|
||||
@ -644,9 +646,9 @@ CONFIG_EXAMPLES_NSH_TELNET=n
|
||||
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
|
||||
CONFIG_EXAMPLES_NSH_DHCPC=n
|
||||
CONFIG_EXAMPLES_NSH_NOMAC=n
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT="/etc"
|
||||
CONFIG_EXAMPLES_NSH_INITSCRIPT="init.d/rcS"
|
||||
CONFIG_EXAMPLES_NSH_ROMFSDEVNO=0
|
||||
|
@ -76,7 +76,7 @@ CONFIG_ARCH_BOARD_EZ80F910200ZCO=y
|
||||
CONFIG_ARCH_NOINTC=n
|
||||
CONFIG_ARCH_IRQPRIO=n
|
||||
CONFIG_BOARD_LOOPSPERMSEC=1250
|
||||
CONFIG_ENDIAN_BIG=y
|
||||
CONFIG_ENDIAN_BIG=n
|
||||
CONFIG_DRAM_SIZE=65536
|
||||
CONFIG_ARCH_LEDS=y
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
@ -120,6 +120,7 @@ CONFIG_UART1_2STOP=0
|
||||
# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver.
|
||||
# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device
|
||||
# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY
|
||||
# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD
|
||||
# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS -
|
||||
# The size of one packet buffer and the number of Rx and Tx packet
|
||||
# buffers. This must add up to exactly 8192 bytes.
|
||||
@ -133,6 +134,7 @@ CONFIG_UART1_2STOP=0
|
||||
CONFIG_EZ80_EMAC=y
|
||||
CONFIG_EZ80_FIAD=0x1f
|
||||
CONFIG_EZ80_PHYAM79C874=y
|
||||
CONFIG_EZ80_PHYCONFIG=1
|
||||
CONFIG_EZ80_RAMADDR=0xf7c000
|
||||
CONFIG_EZ80_PKTBUFSIZE=64
|
||||
CONFIG_EZ80_NTXPKTBUFS=64
|
||||
@ -581,9 +583,9 @@ CONFIG_NX_MXCLIENTMSGS=16
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_UIP_SMTP=n
|
||||
CONFIG_EXAMPLE_UIP_TELNETD=n
|
||||
CONFIG_EXAMPLE_UIP_WEBSERVER=y
|
||||
@ -607,10 +609,10 @@ CONFIG_EXAMPLE_UIP_WEBCLIENT=n
|
||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||
CONFIG_EXAMPLE_NETTEST_NOMAC=y
|
||||
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_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(10L<<24|0L<<16|0L<<8|1L)
|
||||
|
||||
#
|
||||
# Settings for examples/ostest
|
||||
@ -662,9 +664,9 @@ CONFIG_EXAMPLES_NSH_TELNET=n
|
||||
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
|
||||
CONFIG_EXAMPLES_NSH_DHCPC=n
|
||||
CONFIG_EXAMPLES_NSH_NOMAC=n
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT="/etc"
|
||||
CONFIG_EXAMPLES_NSH_INITSCRIPT="init.d/rcS"
|
||||
CONFIG_EXAMPLES_NSH_ROMFSDEVNO=0
|
||||
|
@ -76,7 +76,7 @@ CONFIG_ARCH_BOARD_EZ80F910200ZCO=y
|
||||
CONFIG_ARCH_NOINTC=n
|
||||
CONFIG_ARCH_IRQPRIO=n
|
||||
CONFIG_BOARD_LOOPSPERMSEC=1250
|
||||
CONFIG_ENDIAN_BIG=y
|
||||
CONFIG_ENDIAN_BIG=n
|
||||
CONFIG_DRAM_SIZE=65536
|
||||
CONFIG_ARCH_LEDS=y
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
@ -121,6 +121,7 @@ CONFIG_UART1_2STOP=0
|
||||
# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver.
|
||||
# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device
|
||||
# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY
|
||||
# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD
|
||||
# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000)
|
||||
# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS -
|
||||
# The size of one packet buffer and the number of Rx and Tx packet
|
||||
@ -135,6 +136,7 @@ CONFIG_UART1_2STOP=0
|
||||
CONFIG_EZ80_EMAC=y
|
||||
CONFIG_EZ80_FIAD=0x1f
|
||||
CONFIG_EZ80_PHYAM79C874=y
|
||||
CONFIG_EZ80_PHYCONFIG=1
|
||||
CONFIG_EZ80_RAMADDR=0xf7c000
|
||||
CONFIG_EZ80_PKTBUFSIZE=64
|
||||
CONFIG_EZ80_NTXPKTBUFS=64
|
||||
@ -581,9 +583,9 @@ CONFIG_NX_MXCLIENTMSGS=16
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_UIP_SMTP=n
|
||||
CONFIG_EXAMPLE_UIP_TELNETD=n
|
||||
CONFIG_EXAMPLE_UIP_WEBSERVER=y
|
||||
@ -595,10 +597,10 @@ CONFIG_EXAMPLE_UIP_WEBCLIENT=n
|
||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||
CONFIG_EXAMPLE_NETTEST_NOMAC=n
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192<<24|168<<16|0<<8|106)
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192L<<24|168L<<16|0L<<8|106L)
|
||||
|
||||
#
|
||||
# Settings for examples/ostest
|
||||
@ -650,9 +652,9 @@ CONFIG_EXAMPLES_NSH_TELNET=n
|
||||
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
|
||||
CONFIG_EXAMPLES_NSH_DHCPC=n
|
||||
CONFIG_EXAMPLES_NSH_NOMAC=n
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT="/etc"
|
||||
CONFIG_EXAMPLES_NSH_INITSCRIPT="init.d/rcS"
|
||||
CONFIG_EXAMPLES_NSH_ROMFSDEVNO=0
|
||||
|
@ -76,7 +76,7 @@ CONFIG_ARCH_BOARD_EZ80F910200ZCO=y
|
||||
CONFIG_ARCH_NOINTC=n
|
||||
CONFIG_ARCH_IRQPRIO=n
|
||||
CONFIG_BOARD_LOOPSPERMSEC=1250
|
||||
CONFIG_ENDIAN_BIG=y
|
||||
CONFIG_ENDIAN_BIG=n
|
||||
CONFIG_DRAM_SIZE=65536
|
||||
CONFIG_ARCH_LEDS=y
|
||||
CONFIG_ARCH_BUTTONS=n
|
||||
@ -120,6 +120,7 @@ CONFIG_UART1_2STOP=0
|
||||
# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver.
|
||||
# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device
|
||||
# CONFIG_EZ80_PHYAM79C874 - Define for Am79c874 PHY
|
||||
# CONFIG_EZ80_PHYCONFIG - 0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD
|
||||
# CONFIG_EZ80_RAMADDR - Address of internal SRAM (default is 0xffc000)
|
||||
# CONFIG_EZ80_PKTBUFSIZE, CONFIG_EZ80_NTXPKTBUFS, and CONFIG_EZ80_NRXPKTBUFS -
|
||||
# The size of one packet buffer and the number of Rx and Tx packet
|
||||
@ -134,6 +135,7 @@ CONFIG_UART1_2STOP=0
|
||||
CONFIG_EZ80_EMAC=n
|
||||
CONFIG_EZ80_FIAD=0x1f
|
||||
CONFIG_EZ80_PHYAM79C874=y
|
||||
CONFIG_EZ80_PHYCONFIG=1
|
||||
CONFIG_EZ80_RAMADDR=0xf7c000
|
||||
CONFIG_EZ80_PKTBUFSIZE=64
|
||||
CONFIG_EZ80_NTXPKTBUFS=64
|
||||
@ -578,9 +580,9 @@ CONFIG_NX_MXCLIENTMSGS=16
|
||||
|
||||
#
|
||||
# Settings for examples/uip
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_UIP_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_UIP_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_UIP_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_UIP_SMTP=n
|
||||
CONFIG_EXAMPLE_UIP_TELNETD=n
|
||||
CONFIG_EXAMPLE_UIP_WEBSERVER=y
|
||||
@ -592,10 +594,10 @@ CONFIG_EXAMPLE_UIP_WEBCLIENT=n
|
||||
CONFIG_EXAMPLE_NETTEST_SERVER=n
|
||||
CONFIG_EXAMPLE_NETTEST_PERFORMANCE=n
|
||||
CONFIG_EXAMPLE_NETTEST_NOMAC=n
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192<<24|168<<16|0<<8|128)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192<<24|168<<16|0<<8|1)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192<<24|168<<16|0<<8|106)
|
||||
CONFIG_EXAMPLE_NETTEST_IPADDR=(192L<<24|168L<<16|0L<<8|128L)
|
||||
CONFIG_EXAMPLE_NETTEST_DRIPADDR=(192L<<24|168L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLE_NETTEST_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLE_NETTEST_CLIENTIP=(192L<<24|168L<<16|0L<<8|106L)
|
||||
|
||||
#
|
||||
# Settings for examples/ostest
|
||||
@ -647,9 +649,9 @@ CONFIG_EXAMPLES_NSH_TELNET=n
|
||||
CONFIG_EXAMPLES_NSH_IOBUFFER_SIZE=512
|
||||
CONFIG_EXAMPLES_NSH_DHCPC=n
|
||||
CONFIG_EXAMPLES_NSH_NOMAC=n
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10<<24|0<<16|0<<8|2)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10<<24|0<<16|0<<8|1)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255<<24|255<<16|255<<8|0)
|
||||
CONFIG_EXAMPLES_NSH_IPADDR=(10L<<24|0L<<16|0L<<8|2L)
|
||||
CONFIG_EXAMPLES_NSH_DRIPADDR=(10L<<24|0L<<16|0L<<8|1L)
|
||||
CONFIG_EXAMPLES_NSH_NETMASK=(255L<<24|255L<<16|255L<<8|0L)
|
||||
CONFIG_EXAMPLES_NSH_ROMFSMOUNTPT="/etc"
|
||||
CONFIG_EXAMPLES_NSH_INITSCRIPT="init.d/rcS"
|
||||
CONFIG_EXAMPLES_NSH_ROMFSDEVNO=0
|
||||
|
Loading…
Reference in New Issue
Block a user