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
|
|
|
|
2014-03-08 12:31:06 -06:00
|
|
|
comment "Tiva/Stellaris Configuration Options"
|
2012-09-09 15:43:18 +00:00
|
|
|
|
2012-09-05 17:50:53 +00:00
|
|
|
choice
|
2014-03-08 12:31:06 -06:00
|
|
|
prompt "Tiva/Stellaris Chip Selection"
|
2012-09-05 17:50:53 +00:00
|
|
|
default ARCH_CHIP_LM3S6965
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM || ARCH_CHIP_TIVA
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S6918
|
|
|
|
bool "LM3S6918"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2013-01-09 14:48:55 +00:00
|
|
|
select LM_HAVE_SSI1
|
2012-09-05 17:50:53 +00:00
|
|
|
|
|
|
|
config ARCH_CHIP_LM3S9B96
|
|
|
|
bool "LM3S9B96"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
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"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
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"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
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"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
2013-01-08 20:56:40 +00:00
|
|
|
select ARCH_CORTEXM3
|
|
|
|
select ARCH_CHIP_LM3S
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-03-01 21:41:29 +00:00
|
|
|
config ARCH_CHIP_LM4F120
|
|
|
|
bool "LM4F120"
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM
|
2013-03-01 21:41:29 +00:00
|
|
|
select ARCH_CORTEXM4
|
|
|
|
select ARCH_CHIP_LM4F
|
2013-06-03 15:11:56 -06:00
|
|
|
select ARCH_HAVE_FPU
|
2013-03-01 21:41:29 +00:00
|
|
|
|
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
|
|
|
|
|
2014-03-08 12:31:06 -06:00
|
|
|
config ARCH_CHIP_TM4C
|
|
|
|
bool
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_HAVE_SSI1
|
2013-01-01 16:33:47 +00:00
|
|
|
bool
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_REVA2
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Rev A2"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Some early silicon returned an increase LDO voltage or 2.75V to work
|
|
|
|
around a PLL bug
|
|
|
|
|
2014-03-08 12:31:06 -06:00
|
|
|
menu "Tiva/Stellaris Peripheral Support"
|
2013-01-01 16:33:47 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_UART0
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "UART0"
|
|
|
|
select ARCH_HAVE_UART0
|
|
|
|
default n
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_UART1
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "UART1"
|
|
|
|
select ARCH_HAVE_UART1
|
|
|
|
default n
|
|
|
|
|
2013-03-25 17:33:41 +00:00
|
|
|
config LM_UART2
|
|
|
|
bool "UART2"
|
|
|
|
select ARCH_HAVE_UART2
|
|
|
|
default n
|
|
|
|
|
|
|
|
config LM_UART3
|
|
|
|
bool "UART3"
|
|
|
|
default n
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM4F || ARCH_CHIP_TM4C
|
2013-03-25 17:33:41 +00:00
|
|
|
select ARCH_HAVE_UART3
|
|
|
|
|
|
|
|
config LM_UART4
|
|
|
|
bool "UART4"
|
|
|
|
default n
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM4F || ARCH_CHIP_TM4C
|
2013-03-25 17:33:41 +00:00
|
|
|
select ARCH_HAVE_UART4
|
|
|
|
|
|
|
|
config LM_UART5
|
|
|
|
bool "UART5"
|
|
|
|
default n
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM4F || ARCH_CHIP_TM4C
|
2013-03-25 17:33:41 +00:00
|
|
|
select ARCH_HAVE_UART5
|
|
|
|
|
|
|
|
config LM_UART6
|
|
|
|
bool "UART6"
|
|
|
|
default n
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM4F || ARCH_CHIP_TM4C
|
2013-03-25 17:33:41 +00:00
|
|
|
select ARCH_HAVE_UART6
|
|
|
|
|
|
|
|
config LM_UART7
|
|
|
|
bool "UART7"
|
|
|
|
default n
|
2014-03-08 12:31:06 -06:00
|
|
|
depends on ARCH_CHIP_LM4F || ARCH_CHIP_TM4C
|
2013-03-25 17:33:41 +00:00
|
|
|
select ARCH_HAVE_UART7
|
|
|
|
|
2013-01-01 16:33:47 +00:00
|
|
|
config SSI0_DISABLE
|
|
|
|
bool "Disable SSI0"
|
|
|
|
default y
|
|
|
|
|
|
|
|
config SSI1_DISABLE
|
|
|
|
bool "Disable SSI1"
|
|
|
|
default y
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_ETHERNET
|
2014-03-08 12:31:06 -06:00
|
|
|
bool "Ethernet"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2013-09-25 11:50:05 -06:00
|
|
|
select NETDEVICES
|
2013-01-01 16:33:47 +00:00
|
|
|
---help---
|
2013-01-09 12:55:13 +00:00
|
|
|
This must be set (along with NET) to build the Stellaris Ethernet driver.
|
2013-01-01 16:33:47 +00:00
|
|
|
|
2013-05-20 12:47:54 -06:00
|
|
|
config LM_FLASH
|
2014-03-08 12:31:06 -06:00
|
|
|
bool "Internal FLASH driver"
|
2013-05-20 12:47:54 -06:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable MTD driver support for internal FLASH.
|
|
|
|
|
2013-01-01 16:33:47 +00:00
|
|
|
endmenu
|
|
|
|
|
|
|
|
menu "Disable GPIO Interrupts"
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOA_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOA IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOB_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOB IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOC_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOC IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOD_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOD IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOE_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOE IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOF_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOF IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOG_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOG IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOH_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOH IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
2012-09-05 17:50:53 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_DISABLE_GPIOJ_IRQS
|
2012-09-05 17:50:53 +00:00
|
|
|
bool "Disable GPIOJ IRQs"
|
2013-01-01 16:33:47 +00:00
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
if LM_ETHERNET
|
2014-03-08 12:31:06 -06:00
|
|
|
menu "Tiva/Stellaris Ethernet Configuration"
|
2013-01-01 16:33:47 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_ETHLEDS
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Ethernet LEDs"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Enable to use Ethernet LEDs on the board.
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_BOARDMAC
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Board MAC"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
If the board-specific logic can provide a MAC address (via
|
2013-01-09 14:48:55 +00:00
|
|
|
lm_ethernetmac()), then this should be selected.
|
2013-01-01 16:33:47 +00:00
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_ETHHDUPLEX
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Force Half Duplex"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to force half duplex operation
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_ETHNOAUTOCRC
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Disable auto-CRC"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to suppress auto-CRC generation
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_ETHNOPAD
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Disable Tx Padding"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to suppress Tx padding
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_MULTICAST
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Enable Multicast"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to enable multicast frames
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_PROMISCUOUS
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Enable Promiscuous Mode"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Set to enable promiscuous mode
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_TIMESTAMP
|
2013-01-01 16:33:47 +00:00
|
|
|
bool "Enable Timestamping"
|
|
|
|
default n
|
|
|
|
|
2013-01-09 14:48:55 +00:00
|
|
|
config LM_BADCRC
|
2013-01-01 16:33:47 +00:00
|
|
|
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
|
2014-03-08 12:31:06 -06:00
|
|
|
menu "Tiva/Stellaris SSI Configuration"
|
2013-01-01 16:33:47 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2013-05-20 12:47:54 -06:00
|
|
|
if LM_FLASH
|
2014-03-08 12:31:06 -06:00
|
|
|
menu "Tiva/Stellaris Internal Flash Driver Configuration"
|
2013-01-01 16:33:47 +00:00
|
|
|
|
2013-05-20 12:47:54 -06:00
|
|
|
config LM_FLASH_STARTPAGE
|
|
|
|
int "First page accessible by the MTD driver"
|
|
|
|
default 250
|
|
|
|
---help---
|
|
|
|
To prevent accessing FLASH sections where code is stored.
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
endif
|