diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-08 18:41:49 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-01-08 18:41:49 +0000 |
commit | 632b6f6f780df26272968215a831677ad698fc0e (patch) | |
tree | f7da0a1d3a39ad804e5ab7b9b8b09e85f06c19fa /nuttx/configs/pic32-starterkit/ostest | |
parent | abb776a8347d26a7b43806017b4ece089b92186f (diff) | |
download | px4-firmware-632b6f6f780df26272968215a831677ad698fc0e.tar.gz px4-firmware-632b6f6f780df26272968215a831677ad698fc0e.tar.bz2 px4-firmware-632b6f6f780df26272968215a831677ad698fc0e.zip |
More progress on the PIC32MX Ethernet driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4282 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/configs/pic32-starterkit/ostest')
-rw-r--r-- | nuttx/configs/pic32-starterkit/ostest/defconfig | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/nuttx/configs/pic32-starterkit/ostest/defconfig b/nuttx/configs/pic32-starterkit/ostest/defconfig index feffbc9a4..792c87d96 100644 --- a/nuttx/configs/pic32-starterkit/ostest/defconfig +++ b/nuttx/configs/pic32-starterkit/ostest/defconfig @@ -160,6 +160,9 @@ CONFIG_PIC32MX_DMA=n CONFIG_PIC32MX_CHE=n CONFIG_PIC32MX_USBDEV=n CONFIG_PIC32MX_USBHOST=n +CONFIG_PIC32MX_CAN1=n +CONFIG_PIC32MX_CAN2=n +CONFIG_PIC32MX_ETHERNET=n CONFIG_PIC32MX_IOPORTA=y CONFIG_PIC32MX_IOPORTB=y CONFIG_PIC32MX_IOPORTC=y @@ -256,6 +259,48 @@ CONFIG_UART5_2STOP=0 CONFIG_UART6_2STOP=0 # +# PIC32MX specific PHY/Ethernet device driver settings +# +# CONFIG_PHY_KS8721 - Selects the Micrel KS8721 PHY +# CONFIG_PHY_DP83848C - Selects the National Semiconduction DP83848C PHY +# CONFIG_PHY_LAN8720 - Selects the SMSC LAN8720 PHY +# CONFIG_PHY_AUTONEG - Enable auto-negotion +# CONFIG_PHY_SPEED100 - Select 100Mbit vs. 10Mbit speed. +# CONFIG_PHY_FDUPLEX - Select full (vs. half) duplex +# CONFIG_NET_EMACRAM_SIZE - Size of EMAC RAM. Default: 16Kb +# CONFIG_NET_NTXDESC - Configured number of Tx descriptors. Default: 18 +# CONFIG_NET_NRXDESC - Configured number of Rx descriptors. Default: 18 +# CONFIG_NET_PRIORITY - Ethernet interrupt priority. The is default is +# the higest priority. +# CONFIG_NET_WOL - Enable Wake-up on Lan (not fully implemented). +# CONFIG_NET_DUMPPACKET - Dump all received and transmitted packets. +# Also needs CONFIG_DEBUG. +# CONFIG_NET_REGDEBUG - Enabled low level register debug. Also needs +# CONFIG_DEBUG. +# CONFIG_NET_HASH - Enable receipt of near-perfect match frames. +# CONFIG_NET_MULTICAST - Enable receipt of multicast (and unicast) frames. +# Automatically set if CONFIG_NET_IGMP is selected. +# +# Related DEVCFG3 Configuration Settings: +# CONFIG_PIC32MX_FETHIO: Ethernet I/O Pin Selection bit: +# 1 = Default Ethernet I/O Pins +# 0 = Alternate Ethernet I/O Pins +# CONFIG_PIC32MX_FMIIEN: Ethernet MII Enable bit +# 1 = MII enabled +# 0 = RMII enabled +# +CONFIG_PHY_KS8721=n +CONFIG_PHY_DP83848C=y +CONFIG_PHY_LAN8720=n +CONFIG_PHY_AUTONEG=y +CONFIG_PHY_SPEED100=n +CONFIG_PHY_FDUPLEX=y +CONFIG_NET_EMACRAM_SIZE=8192 +CONFIG_NET_NTXDESC=7 +CONFIG_NET_NRXDESC=7 +CONFIG_NET_REGDEBUG=n + +# # General build options # # CONFIG_RRLOAD_BINARY - make the rrload binary format used with |