onfigs/ez80f910200zco/nettest: Configuration converted to use the kconfig-frontends tools

This commit is contained in:
Gregory Nutt
2014-03-03 11:40:29 -06:00
parent ecf2f99fa0
commit 2c1b3188e7
8 changed files with 658 additions and 360 deletions
+2
View File
@@ -6762,3 +6762,5 @@
kconfig-frontends tools (2014-3-3)
* configs/eagle100/nettest: Configuration converted to use the
kconfig-frontends tools (2014-3-3).
* configs/ez80f910200zco/nettest: Configuration converted to use the
kconfig-frontends tools (2014-3-3).
+2 -3
View File
@@ -497,21 +497,18 @@ config ARCH_CHIP_Z8F6423
config ARCH_CHIP_EZ80F91
bool "EZ80F91"
select ARCH_CHIP_EZ80
select HAVE_LOWSERIALINIT
---help---
ZiLOG EZ80F91 (ez80 Acclaim)
config ARCH_CHIP_EZ80F92
bool "EZ80F92"
select ARCH_CHIP_EZ80
select HAVE_LOWSERIALINIT
---help---
ZiLOG EZ80F92 (ez80 Acclaim)
config ARCH_CHIP_EZ80F93
bool "EZ80F93"
select ARCH_CHIP_EZ80
select HAVE_LOWSERIALINIT
---help---
ZiLOG EZ80F93 (ez80 Acclaim)
@@ -552,6 +549,8 @@ config ARCH_CHIP_Z8
config ARCH_CHIP_EZ80
bool
select HAVE_LOWSERIALINIT
select ARCH_HAVE_PHY
config HAVE_LOWSERIALINIT
bool
+1 -1
View File
@@ -50,7 +50,7 @@ hex "PHY Address"
Provides the MII address of the PHY device
# Belongs in net/Kconfig as PHY_AM79C874
# EZ80_PHYAM79C874 - Define for Am79c874 PHY
# ETH0_PHY_AM79C874 - Define for Am79c874 PHY
config EZ80_PHYCONFIG
int "PHY Configuration"
+2 -2
View File
@@ -150,7 +150,7 @@
*/
#ifndef CONFIG_EZ80_MDCDIV
# ifdef CONFIG_EZ80_PHYAM79C874
# ifdef CONFIG_ETH0_PHY_AM79C874
# define CONFIG_EZ80_MDCDIV EMAC_MDC_DIV20
# else
# define CONFIG_EZ80_MDCDIV EMAC_MDC_DIV4
@@ -556,7 +556,7 @@ static bool ez80emac_miipoll(FAR struct ez80emac_driver_s *priv, uint32_t offset
*
****************************************************************************/
#ifdef CONFIG_EZ80_PHYAM79C874
#ifdef CONFIG_ETH0_PHY_AM79C874
static int ez80emac_miiconfigure(FAR struct ez80emac_driver_s *priv)
{
uint16_t phyval;
+11
View File
@@ -99,6 +99,17 @@ nettest
builds examples/nettest. See examples/README.txt for more information
about nettest.
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.
poll
This configuration is also used for testing the eZ80F91 EMAC driver. It
builds examples/poll. See examples/README.txt for more information
-43
View File
@@ -1,43 +0,0 @@
############################################################################
# configs/ez80f910200zco/nettest/appconfig
#
# Copyright (C) 2011 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <gnutt@nuttx.org>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
# 3. Neither the name NuttX nor the names of its contributors may be
# used to endorse or promote products derived from this software
# without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#
############################################################################
# Path to example in apps/examples containing the user_start entry point
CONFIGURED_APPS += examples/nettest
# Networking support
CONFIGURED_APPS += netutils/uiplib
File diff suppressed because it is too large Load Diff
+6
View File
@@ -194,6 +194,9 @@ choice
config ETH0_PHY_NONE
bool "No PHY support"
config ETH0_PHY_AM79C874
bool "AMD Am79C874 PHY"
config ETH0_PHY_KS8721
bool "Micrel KS8721 PHY"
@@ -225,6 +228,9 @@ choice
config ETH1_PHY_NONE
bool "No PHY support"
config ETH1_PHY_AM79C874
bool "AMD Am79C874 PHY"
config ETH1_PHY_KS8721
bool "Micrel KS8721 PHY"