2014-02-12 22:07:11 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
# see misc/tools/kconfig-language.txt.
|
|
|
|
#
|
|
|
|
|
|
|
|
comment "Atmel SAMD Configuration Options"
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "Atmel SAMD Chip Selection"
|
|
|
|
default ARCH_CHIP_SAMD20J18
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E14
|
|
|
|
bool "SAMD20E14"
|
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20E
|
|
|
|
---help---
|
|
|
|
Flash 16KB SRAM 2KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E15
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20E15"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20E
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E16
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20E16"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20E
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E17
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20E17"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20E
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E18
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20E18"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20E
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20G14
|
|
|
|
bool "SAMD20G14"
|
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20G
|
|
|
|
---help---
|
|
|
|
Flash 16KB SRAM 2KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20G15
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20G15"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20G
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20G16
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20G16"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20G
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20G17
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20G17"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20G
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20G18
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20G18"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20G
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20J14
|
|
|
|
bool "SAMD20J14"
|
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 16KB SRAM 2KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20J15
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20J15"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20J16
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20J16"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20J17
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20J17"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20J18
|
2014-02-13 00:50:58 +01:00
|
|
|
bool "SAMD20J18"
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20E
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20G
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMD_HAVE_SERCOM4
|
|
|
|
select SAMD_HAVE_SERCOM5
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20J
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMD_HAVE_SERCOM4
|
|
|
|
select SAMD_HAVE_SERCOM5
|
|
|
|
select SAMD_HAVE_TC6
|
|
|
|
select SAMD_HAVE_TC7
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_HAVE_SERCOM4
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_HAVE_SERCOM5
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_HAVE_TC6
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_HAVE_TC7
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2014-02-12 22:07:11 +01:00
|
|
|
menu "SAMD Peripheral Support"
|
|
|
|
|
|
|
|
config SAMD_WDT
|
|
|
|
bool "Watchdog Timer"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_RTC
|
|
|
|
bool "Real Time Counter"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_NVMCTRL
|
|
|
|
bool "Non-Volatile Memory Controller"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_EVSYS
|
|
|
|
bool "Event System"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_SERCOM0
|
|
|
|
bool "Serial Communication Interface 0"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_SERCOM1
|
|
|
|
bool "Serial Communication Interface 1"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_SERCOM2
|
|
|
|
bool "Serial Communication Interface 2"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_SERCOM3
|
|
|
|
bool "Serial Communication Interface 3"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_SERCOM4
|
|
|
|
bool "Serial Communication Interface 4"
|
|
|
|
default n
|
|
|
|
depends on SAMD_HAVE_SERCOM4
|
|
|
|
|
|
|
|
config SAMD_SERCOM5
|
|
|
|
bool "Serial Communication Interface 5"
|
|
|
|
default n
|
|
|
|
depends on SAMD_HAVE_SERCOM5
|
|
|
|
|
|
|
|
config SAMD_TC0
|
|
|
|
bool "Timer/Counter 0"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC1
|
|
|
|
bool "Timer/Counter 1"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC2
|
|
|
|
bool "Timer/Counter 2"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC3
|
|
|
|
bool "Timer/Counter 3"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC4
|
|
|
|
bool "Timer/Counter 4"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC5
|
|
|
|
bool "Timer/Counter 5"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_TC6
|
|
|
|
bool "Timer/Counter 6"
|
|
|
|
default n
|
|
|
|
depends on SAMD_HAVE_TC6
|
|
|
|
|
|
|
|
config SAMD_TC7
|
|
|
|
bool "Timer/Counter 7"
|
|
|
|
default n
|
|
|
|
depends on SAMD_HAVE_TC7
|
|
|
|
|
|
|
|
config SAMD_ADC
|
|
|
|
bool "Analog-to-Digital Converter"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_AC
|
|
|
|
bool "Analog Comparator"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_DAC
|
|
|
|
bool "Digital-to-Analog Converter"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMD_PTC
|
|
|
|
bool "Peripheral Touch Controller"
|
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM0 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM0_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM0
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM0_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM0_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM0_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART0
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM1 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM1_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM1
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM1_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM1_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM1_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART1
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM2 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM2_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM2
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM2_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM2_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM2_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART2
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM3 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM3_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM3
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM3_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM3_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM3_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART3
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM4 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM4_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM4
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM4_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM4_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM4_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART4
|
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM5 mode"
|
2014-02-13 00:50:58 +01:00
|
|
|
default SAMD_SERCOM5_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
depends on SAMD_SERCOM5
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM5_ISI2C
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM5_ISSPI
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "SPI"
|
|
|
|
select SPI
|
|
|
|
|
2014-02-13 00:50:58 +01:00
|
|
|
config SAMD_SERCOM5_ISUART
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "UART"
|
|
|
|
select ARCH_HAVE_UART5
|
|
|
|
|
|
|
|
endchoice
|