mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
All lm3s6965-ek configurations converted to use kconfig-frontends
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5470 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -3849,4 +3849,6 @@
|
|||||||
configuration.
|
configuration.
|
||||||
* configs/stm32f4discovery/src and nuttx/drivers/lcd/ug-2864hsweg01.c:
|
* configs/stm32f4discovery/src and nuttx/drivers/lcd/ug-2864hsweg01.c:
|
||||||
Updates and correctinos for the UG-2864HSWEG01 from Darcy Gong.
|
Updates and correctinos for the UG-2864HSWEG01 from Darcy Gong.
|
||||||
|
* configs/lm326965-ek: All configurations converted to use the
|
||||||
|
kconfig-frontends configuration tool.
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ choice
|
|||||||
|
|
||||||
config ARCH_CHIP_LM3S6918
|
config ARCH_CHIP_LM3S6918
|
||||||
bool "LM3S6918"
|
bool "LM3S6918"
|
||||||
|
select LM3S_HAVE_SSI1
|
||||||
|
|
||||||
config ARCH_CHIP_LM3S9B96
|
config ARCH_CHIP_LM3S9B96
|
||||||
bool "LM3S9B96"
|
bool "LM3S9B96"
|
||||||
@@ -27,33 +28,172 @@ config ARCH_CHIP_LM3S8962
|
|||||||
|
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
|
config LM3S_HAVE_SSI1
|
||||||
|
bool
|
||||||
|
|
||||||
|
config LM3S_REVA2
|
||||||
|
bool "Rev A2"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Some early silicon returned an increase LDO voltage or 2.75V to work
|
||||||
|
around a PLL bug
|
||||||
|
|
||||||
config LM3S_DFU
|
config LM3S_DFU
|
||||||
bool "DFU"
|
bool "DFU"
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
menu "Select LM3S Peripheral Support"
|
||||||
|
|
||||||
|
config LM3S_UART0
|
||||||
|
bool "UART0"
|
||||||
|
select ARCH_HAVE_UART0
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LM3S_UART1
|
||||||
|
bool "UART1"
|
||||||
|
select ARCH_HAVE_UART1
|
||||||
|
default n
|
||||||
|
|
||||||
|
config SSI0_DISABLE
|
||||||
|
bool "Disable SSI0"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SSI1_DISABLE
|
||||||
|
bool "Disable SSI1"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config LM3S_UART2
|
||||||
|
bool "UART2"
|
||||||
|
select ARCH_HAVE_UART2
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LM3S_ETHERNET
|
||||||
|
bool "LM3S Ethernet"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
This must be set (along with NET) to build the LM3S Ethernet driver.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
menu "Disable GPIO Interrupts"
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOA_IRQS
|
config LM3S_DISABLE_GPIOA_IRQS
|
||||||
bool "Disable GPIOA IRQs"
|
bool "Disable GPIOA IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOB_IRQS
|
config LM3S_DISABLE_GPIOB_IRQS
|
||||||
bool "Disable GPIOB IRQs"
|
bool "Disable GPIOB IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOC_IRQS
|
config LM3S_DISABLE_GPIOC_IRQS
|
||||||
bool "Disable GPIOC IRQs"
|
bool "Disable GPIOC IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOD_IRQS
|
config LM3S_DISABLE_GPIOD_IRQS
|
||||||
bool "Disable GPIOD IRQs"
|
bool "Disable GPIOD IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOE_IRQS
|
config LM3S_DISABLE_GPIOE_IRQS
|
||||||
bool "Disable GPIOE IRQs"
|
bool "Disable GPIOE IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOF_IRQS
|
config LM3S_DISABLE_GPIOF_IRQS
|
||||||
bool "Disable GPIOF IRQs"
|
bool "Disable GPIOF IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOG_IRQS
|
config LM3S_DISABLE_GPIOG_IRQS
|
||||||
bool "Disable GPIOG IRQs"
|
bool "Disable GPIOG IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOH_IRQS
|
config LM3S_DISABLE_GPIOH_IRQS
|
||||||
bool "Disable GPIOH IRQs"
|
bool "Disable GPIOH IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
config LM3S_DISABLE_GPIOJ_IRQS
|
config LM3S_DISABLE_GPIOJ_IRQS
|
||||||
bool "Disable GPIOJ IRQs"
|
bool "Disable GPIOJ IRQs"
|
||||||
|
default n
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
|
||||||
|
if LM3S_ETHERNET
|
||||||
|
menu "LM3S Ethernet Configuration"
|
||||||
|
|
||||||
|
config LM3S_ETHLEDS
|
||||||
|
bool "Ethernet LEDs"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Enable to use Ethernet LEDs on the board.
|
||||||
|
|
||||||
|
config LM3S_BOARDMAC
|
||||||
|
bool "Board MAC"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
If the board-specific logic can provide a MAC address (via
|
||||||
|
lm3s_ethernetmac()), then this should be selected.
|
||||||
|
|
||||||
|
config LM3S_ETHHDUPLEX
|
||||||
|
bool "Force Half Duplex"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to force half duplex operation
|
||||||
|
|
||||||
|
config LM3S_ETHNOAUTOCRC
|
||||||
|
bool "Disable auto-CRC"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to suppress auto-CRC generation
|
||||||
|
|
||||||
|
config LM3S_ETHNOPAD
|
||||||
|
bool "Disable Tx Padding"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to suppress Tx padding
|
||||||
|
|
||||||
|
config LM3S_MULTICAST
|
||||||
|
bool "Enable Multicast"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to enable multicast frames
|
||||||
|
|
||||||
|
config LM3S_PROMISCUOUS
|
||||||
|
bool "Enable Promiscuous Mode"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to enable promiscuous mode
|
||||||
|
|
||||||
|
config LM3S_TIMESTAMP
|
||||||
|
bool "Enable Timestamping"
|
||||||
|
default n
|
||||||
|
|
||||||
|
config LM3S_BADCRC
|
||||||
|
bool "Enable Bad CRC Rejection"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Set to enable bad CRC rejection.
|
||||||
|
|
||||||
|
config M3S_DUMPPACKET
|
||||||
|
bool "Dump Packets"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
Dump each packet received/sent to the console.
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
endif
|
||||||
|
|
||||||
|
if !SSI0_DISABLE || !SSI1_DISABLE
|
||||||
|
menu "LM3S SSI Configuration"
|
||||||
|
|
||||||
|
config SSI_POLLWAIT
|
||||||
|
bool "Poll Wait (No-Interrupt) Mode"
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SSI_TXLIMIT
|
||||||
|
int "Tx Limit"
|
||||||
|
default 4
|
||||||
|
---help---
|
||||||
|
Default of 4 assumes half of the 8 entry FIFO
|
||||||
|
|
||||||
|
endmenu
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -478,21 +478,68 @@ Where <subdir> is one of the following:
|
|||||||
Configures the NuttShell (nsh) located at examples/nsh. The
|
Configures the NuttShell (nsh) located at examples/nsh. The
|
||||||
Configuration enables both the serial and telnetd NSH interfaces.
|
Configuration enables both the serial and telnetd NSH interfaces.
|
||||||
|
|
||||||
NOTE: As it is configured now, you MUST have a network connected.
|
NOTES:
|
||||||
|
1. 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.
|
||||||
|
|
||||||
|
2. Default platform/toolchain:
|
||||||
|
|
||||||
|
CONFIG_HOST_LINUX=y : Linux (Cygwin under Windows okay too).
|
||||||
|
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-elf-gcc)
|
||||||
|
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
|
||||||
|
|
||||||
|
3. As it is configured now, you MUST have a network connected.
|
||||||
Otherwise, the NSH prompt will not come up because the Ethernet
|
Otherwise, the NSH prompt will not come up because the Ethernet
|
||||||
driver is waiting for the network to come up. That is probably
|
driver is waiting for the network to come up. That is probably
|
||||||
a bug in the Ethernet driver behavior!
|
a bug in the Ethernet driver behavior!
|
||||||
|
|
||||||
Network File System (NFS) support can be added by setting the
|
4. Network File System (NFS) support can be added by setting the
|
||||||
following in your configuration file:
|
following in your configuration file:
|
||||||
|
|
||||||
CONFIG_NFS=y
|
CONFIG_NFS=y
|
||||||
|
|
||||||
nx:
|
nx:
|
||||||
And example using the NuttX graphics system (NX). This example
|
And example using the NuttX graphics system (NX). This example
|
||||||
uses the P14201 OLED driver.
|
uses the P14201 OLED driver.
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
1. 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.
|
||||||
|
|
||||||
|
2. Default platform/toolchain:
|
||||||
|
|
||||||
|
CONFIG_HOST_LINUX=y : Linux (Cygwin under Windows okay too).
|
||||||
|
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-elf-gcc)
|
||||||
|
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
|
||||||
|
|
||||||
ostest:
|
ostest:
|
||||||
This configuration directory, performs a simple OS test using
|
This configuration directory, performs a simple OS test using
|
||||||
examples/ostest.
|
examples/ostest.
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
1. 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.
|
||||||
|
|
||||||
|
2. Default platform/toolchain:
|
||||||
|
|
||||||
|
CONFIG_HOST_LINUX=y : Linux (Cygwin under Windows okay too).
|
||||||
|
CONFIG_ARMV7M_TOOLCHAIN_BUILDROOT=y : Buildroot (arm-nuttx-elf-gcc)
|
||||||
|
CONFIG_RAW_BINARY=y : Output formats: ELF and raw binary
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/lm3s6965-ek/nsh/appconfig
|
|
||||||
#
|
|
||||||
# Copyright (C) 2011-2012 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/nsh
|
|
||||||
|
|
||||||
# NSH library
|
|
||||||
|
|
||||||
CONFIGURED_APPS += system/readline
|
|
||||||
CONFIGURED_APPS += nshlib
|
|
||||||
|
|
||||||
# Networking support
|
|
||||||
|
|
||||||
ifeq ($(CONFIG_NET),y)
|
|
||||||
CONFIGURED_APPS += netutils/uiplib
|
|
||||||
CONFIGURED_APPS += netutils/dhcpc
|
|
||||||
CONFIGURED_APPS += netutils/resolv
|
|
||||||
CONFIGURED_APPS += netutils/tftpc
|
|
||||||
CONFIGURED_APPS += netutils/webclient
|
|
||||||
ifeq ($(CONFIG_NSH_TELNET),y)
|
|
||||||
CONFIGURED_APPS += netutils/telnetd
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/lm3s6965-ek/nx/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/nx
|
|
||||||
|
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
|||||||
############################################################################
|
|
||||||
# configs/lm3s6965-ek/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
Reference in New Issue
Block a user