2012-04-11 02:04:59 +00:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-08 20:56:40 +00:00
|
|
|
comment "Stellaris Configuration Options"
|
2012-09-09 15:43:18 +00:00
|
|
|
|
2012-09-05 17:50:53 +00:00
|
|
|
choice
|
2013-01-08 20:56:40 +00:00
|
|
|
prompt "Stellaris Chip Selection"
|
2012-09-05 17:50:53 +00:00
|
|
|
default ARCH_CHIP_LM3S6965
|
2013-01-08 20:56:40 +00:00
|
|
|
depends on ARCH_CHIP_LM
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S6918
|
|
|
|
bool "LM3S6918"
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2013-01-01 16:33:47 +00:00
|
|
|
select LM3S_HAVE_SSI1
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S9B96
|
|
|
|
bool "LM3S9B96"
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S6432
|
|
|
|
bool "LM3S6432"
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S6965
|
|
|
|
bool "LM3S6965"
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S8962
|
|
|
|
bool "LM3S8962"
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2013-01-08 20:56:40 +00:00
|
|
|
# Chip families
|
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S
|
|
|
|
bool
|
|
|
|
|
|
|
|
config ARCH_CHIP_LM4F
|
|
|
|
bool
|
|
|
|
|
2013-01-01 16:33:47 +00:00
|
|
|
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
|
|
|
|
|
2012-09-05 17:50:53 +00:00
|
|
|
config LM3S_DFU
|
|
|
|
bool "DFU"
|
|
|
|
default y
|
|
|
|
|
2013-01-01 16:33:47 +00:00
|
|
|
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"
|
|
|
|
|
2012-09-05 17:50:53 +00:00
|
|
|
config LM3S_DISABLE_GPIOA_IRQS
|
|
|
|
bool "Disable GPIOA IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOB_IRQS
|
|
|
|
bool "Disable GPIOB IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOC_IRQS
|
|
|
|
bool "Disable GPIOC IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOD_IRQS
|
|
|
|
bool "Disable GPIOD IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOE_IRQS
|
|
|
|
bool "Disable GPIOE IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOF_IRQS
|
|
|
|
bool "Disable GPIOF IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOG_IRQS
|
|
|
|
bool "Disable GPIOG IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOH_IRQS
|
|
|
|
bool "Disable GPIOH IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config LM3S_DISABLE_GPIOJ_IRQS
|
|
|
|
bool "Disable GPIOJ IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
|