mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 10:50:19 +08:00
Convert configs/ez80f910200kitg/RCS/ostest to use the newer mconf-based configuration
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5375 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3648,4 +3648,7 @@
|
||||
* graphics/nxmw: Extended the blocked messages to cover mouse movement
|
||||
and redraw events. These will also cause problems if sent to a window
|
||||
while it is closing.
|
||||
* arch/several: Change UARTs are enabled for i.MX, LM3S, ez80, and M16C to
|
||||
match how they are enabled for other architectures.
|
||||
* configs/ez80f910200kitg: Convert to use mconf configuration.
|
||||
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
|
||||
if ARCH_CHIP_EZ80
|
||||
|
||||
menu "ez80 Peripheral Support"
|
||||
|
||||
config EZ80_UART0
|
||||
bool "UART0"
|
||||
select ARCH_HAVE_UART0
|
||||
@@ -20,4 +22,84 @@ config EZ80_UART2
|
||||
select ARCH_HAVE_UART2
|
||||
default n
|
||||
|
||||
config EZ80_EMAC
|
||||
bool "Ethernet MAC"
|
||||
default n
|
||||
select ARCH_HAVE_PHY
|
||||
---help---
|
||||
Enables support for ez80 EMAC driver.
|
||||
|
||||
endmenu
|
||||
|
||||
config HAVE_LOWUARTINIT
|
||||
bool "Low UART Init"
|
||||
default y if !EZ80_UART0 && !EZ80_UART1 && !EZ80_UART2
|
||||
default n if EZ80_UART0 || EZ80_UART1 || EZ80_UART2
|
||||
---help---
|
||||
Provides low-level UART initialization logic as up_lowuartinit (only needed if there is no serial driver).
|
||||
|
||||
if EZ80_EMAC
|
||||
|
||||
config EZ80_FIAD
|
||||
hex "PHY Address"
|
||||
range 0x00 0x1f
|
||||
default 0x1f
|
||||
---help---
|
||||
Provides the MII address of the PHY device
|
||||
|
||||
# Belongs in net/Kconfig as PHY_AM79C874
|
||||
# EZ80_PHYAM79C874 - Define for Am79c874 PHY
|
||||
|
||||
config EZ80_PHYCONFIG
|
||||
int "PHY Configuration"
|
||||
default 0
|
||||
---help---
|
||||
0:Autonegotiate, 1:100FD, 2:100HD, 3:10FD, 4:10HD
|
||||
|
||||
config EZ80_RAMADDR
|
||||
hex "Address of internal SRAM"
|
||||
default 0xffc000
|
||||
---help---
|
||||
Address of internal SRAM (default is 0xffc000)
|
||||
|
||||
config EZ80_PKTBUFSIZE
|
||||
int "Packet Buffer Size"
|
||||
default 64
|
||||
---help---
|
||||
The size of one packet buffer. EZ80_PKTBUFSIZE + (EZ80_NTXPKTBUFS+EZ80_NRXPKTBUFS)
|
||||
must add up to exactly 8192 bytes.
|
||||
|
||||
config EZ80_NTXPKTBUFS
|
||||
int "Number of Tx Packets"
|
||||
default 64
|
||||
---help---
|
||||
The number of Tx packets. EZ80_PKTBUFSIZE + (EZ80_NTXPKTBUFS+EZ80_NRXPKTBUFS)
|
||||
must add up to exactly 8192 bytes.
|
||||
|
||||
config EZ80_NRXPKTBUFS
|
||||
int "Number of Rx Packets"
|
||||
default 64
|
||||
---help---
|
||||
The number of Rx packets. EZ80_PKTBUFSIZE + (EZ80_NTXPKTBUFS+EZ80_NRXPKTBUFS)
|
||||
must add up to exactly 8192 bytes.
|
||||
|
||||
config EZ80_MDCDIV
|
||||
int "SCLK Divider"
|
||||
default 0
|
||||
---help---
|
||||
The value to use for the divider to derive the MII MDC clock from SCLK. Options are 1->4; 2->6; 3->8; 4->10; 5->14; 6->20; and 7->28
|
||||
|
||||
config EZ80_TXPOLLTIMERMS
|
||||
int "Tx Poll Milliseconds"
|
||||
default 10
|
||||
---help---
|
||||
Specifies how often the EMAC controller should poll for a Tx packet (milliseconds)
|
||||
|
||||
config ARCH_MCFILTER
|
||||
bool "Multicast Filtering"
|
||||
default n
|
||||
---help---
|
||||
Enables multicast MAC address filtering (not fully implemented)
|
||||
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -112,21 +112,21 @@ config ARCH_BOARD_EKK_LM3S9B96
|
||||
an EKK-LM3S9B96 which is a Cortex-M3.
|
||||
|
||||
config ARCH_BOARD_EZ80F910200KITG
|
||||
bool "ZiLOG ez80f0910200kitg development kit"
|
||||
bool "ZiLOG ez80f910200kitg development kit"
|
||||
depends on ARCH_CHIP_EZ80F91
|
||||
select ARCH_HAVE_LEDS
|
||||
---help---
|
||||
ez80Acclaim! Microcontroller. This port use the ZiLOG ez80f0910200kitg
|
||||
ez80Acclaim! Microcontroller. This port use the ZiLOG ez80f910200kitg
|
||||
development kit, eZ80F091 part, and the Zilog ZDS-II Windows command line
|
||||
tools. The development environment is Cygwin under WinXP.
|
||||
|
||||
config ARCH_BOARD_EZ80F910200ZCO
|
||||
bool "ZiLOG ez80f0910200zco development kit"
|
||||
bool "ZiLOG ez80f910200zco development kit"
|
||||
depends on ARCH_CHIP_EZ80F91
|
||||
select ARCH_HAVE_LEDS
|
||||
select ARCH_HAVE_BUTTONS
|
||||
---help---
|
||||
ez80Acclaim! Microcontroller. This port use the Zilog ez80f0910200zco
|
||||
ez80Acclaim! Microcontroller. This port use the Zilog ez80f910200zco
|
||||
development kit, eZ80F091 part, and the Zilog ZDS-II Windows command line
|
||||
tools. The development environment is Cygwin under WinXP.
|
||||
|
||||
@@ -614,8 +614,8 @@ config ARCH_BOARD
|
||||
default "ea3152" if ARCH_BOARD_EA3152
|
||||
default "eagle100" if ARCH_BOARD_EAGLE100
|
||||
default "ekk-lm3s9b96" if ARCH_BOARD_EKK_LM3S9B96
|
||||
default "ez80f0910200kitg" if ARCH_BOARD_EZ80F910200KITG
|
||||
default "ez80f0910200zco" if ARCH_BOARD_EZ80F910200ZCO
|
||||
default "ez80f910200kitg" if ARCH_BOARD_EZ80F910200KITG
|
||||
default "ez80f910200zco" if ARCH_BOARD_EZ80F910200ZCO
|
||||
default "fire-stm32v2" if ARCH_BOARD_FIRE_STM32
|
||||
default "hymini-stm32v" if ARCH_BOARD_HYMINI_STM32V
|
||||
default "kwikstik-k40" if ARCH_BOARD_KWIKSTIK_K40
|
||||
|
||||
@@ -72,7 +72,7 @@ following steps:
|
||||
|
||||
cd <nuttx-top-directory>/tools
|
||||
./configure.sh ez80f910200kitg/<sub-directory>
|
||||
cd <nuttx-top-directgory>
|
||||
cd <nuttx-top-directory>
|
||||
make
|
||||
|
||||
Where <sub-directory> is the specific board configuration that you
|
||||
@@ -83,4 +83,13 @@ available:
|
||||
This builds the examples/ostest application for execution from FLASH.
|
||||
See examples/README.txt for information about ostest.
|
||||
|
||||
This configuration uses the mconf-based configuration tool. To
|
||||
change this configuration using that tool, you should:
|
||||
|
||||
a. Build and install the mconf tool. See nuttx/README.txt and
|
||||
misc/tools/
|
||||
|
||||
b. Execute 'make menuconfig' in nuttx/ in order to start the
|
||||
reconfiguration process.
|
||||
|
||||
Check out any README.txt files in these <sub-directory>s.
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
############################################################################
|
||||
# configs/ez80f910200kitg/ostest/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/ostest
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -501,7 +501,7 @@ static void do_dependency(const char *file, char separator)
|
||||
}
|
||||
else
|
||||
{
|
||||
fprintf(stderr, "ERROR: %s failed: %s\n", g_cc, WEXITSTATUS(ret));
|
||||
fprintf(stderr, "ERROR: %s failed: %d\n", g_cc, WEXITSTATUS(ret));
|
||||
}
|
||||
|
||||
fprintf(stderr, " command: %s\n", g_command);
|
||||
|
||||
Reference in New Issue
Block a user