2014-02-12 22:07:11 +01:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 16:08:57 +02:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
2014-02-12 22:07:11 +01:00
|
|
|
#
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
comment "Atmel SAMD/L Configuration Options"
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
choice
|
2015-05-14 20:25:09 +02:00
|
|
|
prompt "Atmel SAMD/L Chip Selection"
|
|
|
|
default ARCH_CHIP_SAMD20J18 if ARCH_CHIP_SAMD
|
|
|
|
default ARCH_CHIP_SAMD21J18 if ARCH_CHIP_SAML
|
2015-05-18 21:16:32 +02:00
|
|
|
depends on ARCH_CHIP_SAMD || ARCH_CHIP_SAML
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD20E14
|
|
|
|
bool "SAMD20E14"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
2014-02-12 22:07:11 +01:00
|
|
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
2014-02-12 22:07:11 +01:00
|
|
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
2014-02-12 22:07:11 +01:00
|
|
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
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"
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on ARCH_CHIP_SAMD
|
2014-02-12 22:07:11 +01:00
|
|
|
select ARCH_FAMILY_SAMD20
|
|
|
|
select ARCH_FAMILY_SAMD20J
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
2015-06-20 22:31:53 +02:00
|
|
|
config ARCH_CHIP_SAMD21E15A
|
|
|
|
bool "SAMD21E15A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21E15B
|
|
|
|
bool "SAMD21E15B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 32KB SRAM 4KB RWW FLASH 1KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21E16A
|
|
|
|
bool "SAMD21E16A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21E16B
|
|
|
|
bool "SAMD21E16B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 64KB SRAM 8KB RWW FLASH 2KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21E17A
|
|
|
|
bool "SAMD21E17A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21E18A
|
|
|
|
bool "SAMD21E18A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G15A
|
|
|
|
bool "SAMD21G15A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21G
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G15B
|
|
|
|
bool "SAMD21G15B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21G
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 32KB SRAM 4KB RWW FLASH 1KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G16A
|
|
|
|
bool "SAMD21G16A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21G
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G16B
|
|
|
|
bool "SAMD21G16B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 64KB SRAM 8KB RWW FLASH 2KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G17A
|
|
|
|
bool "SAMD21G17A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21G
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21G18A
|
|
|
|
bool "SAMD21G18A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21G
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J15A
|
|
|
|
bool "SAMD21J15A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21J
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J15B
|
|
|
|
bool "SAMD21J15B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21J
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 32KB SRAM 4KB RWW FLASH 1KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J16A
|
|
|
|
bool "SAMD21J16A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21J
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J16B
|
|
|
|
bool "SAMD21J16B"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21J
|
|
|
|
---help---
|
2015-06-21 15:48:46 +02:00
|
|
|
Flash 64KB SRAM 8KB RWW FLASH 2KB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J17A
|
|
|
|
bool "SAMD21J17A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21E
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAMD21J18A
|
|
|
|
bool "SAMD21J18A"
|
|
|
|
depends on ARCH_CHIP_SAMD
|
|
|
|
select ARCH_FAMILY_SAMD21
|
|
|
|
select ARCH_FAMILY_SAMD21J
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
2015-05-14 22:02:50 +02:00
|
|
|
config ARCH_CHIP_SAML21E15
|
|
|
|
bool "SAML21E15"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21E
|
|
|
|
---help---
|
|
|
|
Flash 32KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21E16
|
|
|
|
bool "SAML21E16"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21E
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 8KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21E17
|
|
|
|
bool "SAML21E17"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21E
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21E18
|
|
|
|
bool "SAML21E18"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21E
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21G16
|
|
|
|
bool "SAML21G16"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21G
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21G17
|
|
|
|
bool "SAML21G17"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21G
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21G18
|
|
|
|
bool "SAML21G18"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21G
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21J16
|
|
|
|
bool "SAML21J16"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21J
|
|
|
|
---help---
|
|
|
|
Flash 64KB SRAM 4KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21J17
|
|
|
|
bool "SAML21J17"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21J
|
|
|
|
---help---
|
|
|
|
Flash 128KB SRAM 16KB
|
|
|
|
|
|
|
|
config ARCH_CHIP_SAML21J18
|
|
|
|
bool "SAML21J18"
|
|
|
|
depends on ARCH_CHIP_SAML
|
|
|
|
select ARCH_FAMILY_SAML21
|
|
|
|
select ARCH_FAMILY_SAML21J
|
|
|
|
---help---
|
|
|
|
Flash 256KB SRAM 32KB
|
|
|
|
|
2014-02-12 22:07:11 +01:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20
|
|
|
|
bool
|
|
|
|
default n
|
2015-05-14 22:02:50 +02:00
|
|
|
select SAMDL_HAVE_TC2
|
|
|
|
select SAMDL_HAVE_TC3
|
|
|
|
select SAMDL_HAVE_TC5
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20E
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20G
|
|
|
|
bool
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD20J
|
|
|
|
bool
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
|
|
|
select SAMDL_HAVE_TC6
|
|
|
|
select SAMDL_HAVE_TC7
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-06-20 22:31:53 +02:00
|
|
|
config ARCH_FAMILY_SAMD21
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMDL_HAVE_DMAC
|
2015-06-21 15:48:46 +02:00
|
|
|
select SAMDL_HAVE_USB
|
2015-06-20 22:31:53 +02:00
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD21E
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD21G
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAMD21J
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
|
|
|
select SAMDL_HAVE_TC2
|
|
|
|
select SAMDL_HAVE_TC3
|
|
|
|
select SAMDL_HAVE_TC5
|
|
|
|
|
2015-05-14 22:02:50 +02:00
|
|
|
config ARCH_FAMILY_SAML21
|
|
|
|
bool
|
|
|
|
default n
|
2015-06-14 18:51:10 +02:00
|
|
|
select SAMDL_HAVE_DMAC
|
2015-06-21 15:48:46 +02:00
|
|
|
select SAMDL_HAVE_USB
|
2015-05-14 22:02:50 +02:00
|
|
|
|
|
|
|
config ARCH_FAMILY_SAML21E
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAML21G
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
|
|
|
|
|
|
|
config ARCH_FAMILY_SAML21J
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
select SAMDL_HAVE_SERCOM4
|
|
|
|
select SAMDL_HAVE_SERCOM5
|
|
|
|
select SAMDL_HAVE_TC2
|
|
|
|
select SAMDL_HAVE_TC3
|
|
|
|
select SAMDL_HAVE_TC5
|
|
|
|
|
2015-06-14 16:48:25 +02:00
|
|
|
menu "SAMD/L Peripheral Support"
|
|
|
|
|
|
|
|
config SAMDL_HAVE_DMAC
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_HAVE_SERCOM4
|
2014-02-13 00:50:58 +01:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_HAVE_SERCOM5
|
2014-02-13 00:50:58 +01:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-05-14 22:02:50 +02:00
|
|
|
config SAMDL_HAVE_TC5
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMDL_HAVE_TC2
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMDL_HAVE_TC3
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_HAVE_TC6
|
2014-02-13 00:50:58 +01:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_HAVE_TC7
|
2014-02-13 00:50:58 +01:00
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2017-07-12 15:46:46 +02:00
|
|
|
config SAMDL_HAVE_USB
|
|
|
|
bool
|
|
|
|
default n
|
|
|
|
|
2015-06-13 23:06:37 +02:00
|
|
|
config SAMDL_AC
|
|
|
|
bool "Analog Comparator"
|
2014-02-12 22:07:11 +01:00
|
|
|
default n
|
|
|
|
|
2015-06-13 23:06:37 +02:00
|
|
|
config SAMDL_ADC
|
|
|
|
bool "Analog-to-Digital Converter"
|
2014-02-12 22:07:11 +01:00
|
|
|
default n
|
|
|
|
|
2015-06-13 23:06:37 +02:00
|
|
|
config SAMDL_DAC
|
|
|
|
bool "Digital-to-Analog Converter"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMDL_DMAC
|
|
|
|
bool "DMA Controller"
|
2014-02-12 22:07:11 +01:00
|
|
|
default n
|
2015-06-13 23:06:37 +02:00
|
|
|
select ARCH_DMA
|
2015-06-14 16:48:25 +02:00
|
|
|
depends on SAMDL_HAVE_DMAC && EXPERIMENTAL
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_EVSYS
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Event System"
|
|
|
|
default n
|
|
|
|
|
2015-06-13 23:06:37 +02:00
|
|
|
config SAMDL_NVMCTRL
|
|
|
|
bool "Non-Volatile Memory Controller"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMDL_PTC
|
|
|
|
bool "Peripheral Touch Controller"
|
|
|
|
default n
|
|
|
|
|
|
|
|
config SAMDL_RTC
|
|
|
|
bool "Real Time Counter"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM0
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 0"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM1
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 1"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM2
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 2"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM3
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 3"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM4
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 4"
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on SAMDL_HAVE_SERCOM4
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM5
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Serial Communication Interface 5"
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on SAMDL_HAVE_SERCOM5
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC0
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 0"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC1
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 1"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC2
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 2"
|
|
|
|
default n
|
2015-05-14 22:02:50 +02:00
|
|
|
depends on SAMDL_HAVE_TC2
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC3
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 3"
|
|
|
|
default n
|
2015-05-14 22:02:50 +02:00
|
|
|
depends on SAMDL_HAVE_TC3
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC4
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 4"
|
|
|
|
default n
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC5
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 5"
|
|
|
|
default n
|
2015-05-14 22:02:50 +02:00
|
|
|
depends on SAMDL_HAVE_TC5
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC6
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 6"
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on SAMDL_HAVE_TC6
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_TC7
|
2014-02-12 22:07:11 +01:00
|
|
|
bool "Timer/Counter 7"
|
|
|
|
default n
|
2015-05-14 20:25:09 +02:00
|
|
|
depends on SAMDL_HAVE_TC7
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-06-21 15:48:46 +02:00
|
|
|
config SAMDL_USB
|
|
|
|
bool "USB"
|
|
|
|
default n
|
|
|
|
depends on SAMDL_HAVE_USB
|
|
|
|
|
2018-01-12 14:11:58 +01:00
|
|
|
config SAMDL_EIC
|
|
|
|
bool "External Interrupt Controller"
|
|
|
|
default n
|
|
|
|
|
2015-06-13 23:06:37 +02:00
|
|
|
config SAMDL_WDT
|
|
|
|
bool "Watchdog Timer"
|
2014-02-12 22:07:11 +01:00
|
|
|
default n
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM0 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM0_ISUSART
|
|
|
|
depends on SAMDL_SERCOM0
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM0_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM0_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM0_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART0_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2015-06-14 16:48:25 +02:00
|
|
|
config SAMDL_DMAC_NDESC
|
2015-06-14 18:51:10 +02:00
|
|
|
int "Number of additional DMA Descriptors"
|
|
|
|
default 0
|
2015-06-14 16:48:25 +02:00
|
|
|
depends on SAMDL_DMAC
|
2015-06-14 18:51:10 +02:00
|
|
|
---help---
|
|
|
|
This provides the number of additional DMA descriptors that can be
|
|
|
|
use to support multi-linked DMA transfers. A minimum of 16
|
|
|
|
descriptors will always be allocated (16 for the base descriptor which
|
|
|
|
overlap the writeback descriptors). If this value is set to zero,
|
|
|
|
then only single block DMA transfers can be supported.
|
|
|
|
|
|
|
|
Each additional DMA descriptor will require 16-bytes for LPRAM
|
|
|
|
memory.
|
2015-06-14 16:48:25 +02:00
|
|
|
|
2014-02-12 22:07:11 +01:00
|
|
|
choice
|
|
|
|
prompt "SERCOM1 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM1_ISUSART
|
|
|
|
depends on SAMDL_SERCOM1
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM1_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM1_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM1_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART1_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM2 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM2_ISUSART
|
|
|
|
depends on SAMDL_SERCOM2
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM2_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM2_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM2_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART2_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM3 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM3_ISUSART
|
|
|
|
depends on SAMDL_SERCOM3
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM3_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM3_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM3_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART3_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM4 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM4_ISUSART
|
|
|
|
depends on SAMDL_SERCOM4
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM4_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM4_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM4_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART4_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
choice
|
|
|
|
prompt "SERCOM5 mode"
|
2015-05-14 20:25:09 +02:00
|
|
|
default SAMDL_SERCOM5_ISUSART
|
|
|
|
depends on SAMDL_SERCOM5
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM5_ISI2C
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "I2C"
|
|
|
|
select I2C
|
2017-07-11 14:58:58 +02:00
|
|
|
select SAMDL_HAVE_I2C
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM5_ISSPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "SPI"
|
2015-05-14 20:25:09 +02:00
|
|
|
select SAMDL_HAVE_SPI
|
2014-02-12 22:07:11 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SERCOM5_ISUSART
|
2014-02-20 18:27:59 +01:00
|
|
|
bool "USART"
|
2016-05-25 18:39:23 +02:00
|
|
|
select USART5_SERIALDRIVER
|
2014-02-12 22:07:11 +01:00
|
|
|
|
|
|
|
endchoice
|
2014-02-20 18:27:59 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_HAVE_SPI
|
2014-02-20 18:27:59 +01:00
|
|
|
bool
|
|
|
|
select SPI
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
if SAMDL_HAVE_SPI
|
2014-02-20 18:27:59 +01:00
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
config SAMDL_SPI_REGDEBUG
|
2014-02-20 22:20:42 +01:00
|
|
|
bool "SPI register-Level Debug"
|
2014-02-20 18:27:59 +01:00
|
|
|
default n
|
2016-06-16 23:10:08 +02:00
|
|
|
depends on DEBUG_SPI_INFO
|
2014-02-20 18:27:59 +01:00
|
|
|
---help---
|
|
|
|
Enable very low-level register access debug. Depends on DEBUG_SPI.
|
|
|
|
|
2015-05-14 20:25:09 +02:00
|
|
|
endif # SAMDL_HAVE_SPI
|
2017-07-11 14:58:58 +02:00
|
|
|
|
|
|
|
config SAMDL_HAVE_I2C
|
|
|
|
bool
|
|
|
|
select I2C
|
|
|
|
|
|
|
|
if SAMDL_HAVE_I2C
|
|
|
|
|
|
|
|
config SAMDL_I2C_REGDEBUG
|
|
|
|
bool "I2C register-Level Debug"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_I2C_INFO
|
|
|
|
---help---
|
|
|
|
Enable very low-level register access debug. Depends on DEBUG_I2C.
|
|
|
|
|
|
|
|
endif # SAMDL_HAVE_I2C
|
2017-07-12 15:46:46 +02:00
|
|
|
|
|
|
|
if SAMDL_HAVE_USB
|
|
|
|
|
|
|
|
config SAMDL_USB_ENABLE_PPEP
|
|
|
|
bool "Enable Ping-Pong Endpoints"
|
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
To maximize throughput, an endpoint can be configured for ping-pong
|
|
|
|
operation. When this is done the input and output endpoint with the same
|
|
|
|
address are used in the same direction. The CPU or DMA Controller can
|
|
|
|
then read/write one data buffer while the USB module writes/reads from
|
|
|
|
the other buffer. This gives double buffered communication.
|
|
|
|
|
|
|
|
config SAMDL_USB_REGDEBUG
|
|
|
|
bool "USB register-Level Debug"
|
|
|
|
default n
|
|
|
|
depends on DEBUG_USB_INFO
|
|
|
|
---help---
|
|
|
|
Enable very low-level register access debug. Depends on
|
|
|
|
CONFIG_DEBUG_USB_INFO.
|
|
|
|
|
|
|
|
endif # SAMDL_HAVE_USB
|