diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 16:57:52 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-12 16:57:52 +0000 |
commit | 40a989872556404606daa6f25ff8ea4df9ad169c (patch) | |
tree | 7498ada47ed7db085f87e3ec3a1cce5aa8b712cf /nuttx/configs | |
parent | 38d56cd5b5e57a2b423f2edf10e3395649b86900 (diff) | |
download | px4-nuttx-40a989872556404606daa6f25ff8ea4df9ad169c.tar.gz px4-nuttx-40a989872556404606daa6f25ff8ea4df9ad169c.tar.bz2 px4-nuttx-40a989872556404606daa6f25ff8ea4df9ad169c.zip |
Add eZ80F91 EMAC driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1450 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs')
-rw-r--r-- | nuttx/configs/ez80f910200zco/ostest/defconfig | 27 | ||||
-rwxr-xr-x | nuttx/configs/ez80f910200zco/ostest/ostest.zdsproj | 4 |
2 files changed, 28 insertions, 3 deletions
diff --git a/nuttx/configs/ez80f910200zco/ostest/defconfig b/nuttx/configs/ez80f910200zco/ostest/defconfig index d244bc68b..8a8d8fe0e 100644 --- a/nuttx/configs/ez80f910200zco/ostest/defconfig +++ b/nuttx/configs/ez80f910200zco/ostest/defconfig @@ -74,7 +74,7 @@ CONFIG_ARCH_CHIP_EZ80F92=n CONFIG_ARCH_CHIP_EZ80F93=n CONFIG_ARCH_BOARD=ez80f910200zco CONFIG_ARCH_BOARD_EZ80F910200ZCO=y -CONFIG_ARCH_NOINTC=y +CONFIG_ARCH_NOINTC=n CONFIG_ARCH_IRQPRIO=n CONFIG_BOARD_LOOPSPERMSEC=1250 CONFIG_ENDIAN_BIG=y @@ -110,6 +110,31 @@ CONFIG_UART0_2STOP=0 CONFIG_UART1_2STOP=0 # +# ez80 EMAC +# +# CONFIG_EZ80_EMAC - Enables support for ez80 EMAC driver. +# CONFIG_EZ80_FIAD - Provides the MII address of the PHY device +# 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. +# CONFIG_EZ80_MDCDIV=1 - The value to use for the divider to derive +# the MII MDC clock from SLCK. Options are 1->4; 2->6; 3->8; 4->10; +# 5->14; 6->20; and 7->28 +# CONFIG_EZ80_TXPOLLTIMERMS - Specifies how often the EMAC controller +# should poll for a Tx packet (milliseconds) +# CONFIG_ARCH_MCFILTER - Enalbes multicast MAC address filtering (not +# fully implemented +CONFIG_EZ80_EMAC=n +CONFIG_EZ80_FIAD=0x1f +CONFIG_EZ80_PKTBUFSIZE=64 +CONFIG_EZ80_NTXPKTBUFS=64 +CONFIG_EZ80_NRXPKTBUFS=64 +CONFIG_EZ80_PKTBUFSIZE=64 +CONFIG_EZ80_MDCDIV=0 +CONFIG_EZ80_TXPOLLTIMERMS=10 +CONFIG_ARCH_MCFILTER=n + +# # General build options # # CONFIG_RRLOAD_BINARY - make the rrload binary format used with diff --git a/nuttx/configs/ez80f910200zco/ostest/ostest.zdsproj b/nuttx/configs/ez80f910200zco/ostest/ostest.zdsproj index 08247148b..30cb49a54 100755 --- a/nuttx/configs/ez80f910200zco/ostest/ostest.zdsproj +++ b/nuttx/configs/ez80f910200zco/ostest/ostest.zdsproj @@ -42,7 +42,7 @@ </tool>
<tool name="Debugger">
<options>
-<option name="target" type="string" change-action="rebuild">eZ80DevPlatform_F91_Flash</option>
+<option name="target" type="string" change-action="rebuild">eZ80F91ModDevKit_Flash</option>
<option name="debugtool" type="string" change-action="none">Simulator</option>
<option name="usepageerase" type="boolean" change-action="none">true</option>
</options>
@@ -244,4 +244,4 @@ <breakpoints>
</breakpoints>
-</project>
+</project>
\ No newline at end of file |