2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-07 00:45:52 +08:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 23:49:35 +08:00
|
|
|
#
|
2012-04-17 08:24:19 +08:00
|
|
|
|
|
|
|
if ARCH_AVR
|
2012-08-17 22:07:48 +08:00
|
|
|
|
2012-04-17 08:24:19 +08:00
|
|
|
choice
|
|
|
|
prompt "Atmel AVR chip selection"
|
|
|
|
default ARCH_CHIP_AT32UC3B0256
|
|
|
|
|
2014-03-06 01:23:54 +08:00
|
|
|
config ARCH_CHIP_ATMEGA
|
|
|
|
bool "ATMega family"
|
|
|
|
select ARCH_FAMILY_AVR
|
2012-04-17 08:24:19 +08:00
|
|
|
---help---
|
2014-03-06 01:23:54 +08:00
|
|
|
Atmel ATMega family of 8-bit AVRs.
|
2012-04-17 08:24:19 +08:00
|
|
|
|
2014-03-06 01:23:54 +08:00
|
|
|
config ARCH_CHIP_AT90USB
|
|
|
|
bool "AT90USB family"
|
|
|
|
select ARCH_FAMILY_AVR
|
2012-04-17 08:24:19 +08:00
|
|
|
---help---
|
2014-03-06 01:23:54 +08:00
|
|
|
Atmel AT90USB family of 8-bit AVRs.
|
2012-04-17 08:24:19 +08:00
|
|
|
|
2014-03-06 01:23:54 +08:00
|
|
|
config ARCH_CHIP_AT32UC3
|
2014-06-24 01:20:33 +08:00
|
|
|
bool "AVR32 AT32UC3* family"
|
2014-03-06 01:23:54 +08:00
|
|
|
select ARCH_FAMILY_AVR32
|
2012-04-17 08:24:19 +08:00
|
|
|
---help---
|
2014-03-06 01:23:54 +08:00
|
|
|
Atmel AT32UC3A/B/C family of 32-bit AVR32s.
|
2012-04-17 08:24:19 +08:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_FAMILY_AVR
|
|
|
|
bool
|
2014-03-06 01:23:54 +08:00
|
|
|
default n
|
2014-03-24 00:09:53 +08:00
|
|
|
select ARCH_HAVE_STACKCHECK
|
2012-04-17 08:24:19 +08:00
|
|
|
|
|
|
|
config ARCH_FAMILY_AVR32
|
|
|
|
bool
|
2014-03-06 01:23:54 +08:00
|
|
|
default n
|
2012-04-17 08:24:19 +08:00
|
|
|
|
|
|
|
config ARCH_FAMILY
|
|
|
|
string
|
|
|
|
default "avr" if ARCH_FAMILY_AVR
|
|
|
|
default "avr32" if ARCH_FAMILY_AVR32
|
|
|
|
|
2012-08-17 22:07:48 +08:00
|
|
|
config ARCH_CHIP
|
2012-04-17 08:24:19 +08:00
|
|
|
string
|
2014-03-06 01:23:54 +08:00
|
|
|
default "atmega" if ARCH_CHIP_ATMEGA
|
|
|
|
default "at90usb" if ARCH_CHIP_AT90USB
|
|
|
|
default "at32uc3" if ARCH_CHIP_AT32UC3
|
2012-04-17 08:24:19 +08:00
|
|
|
|
|
|
|
source arch/avr/src/common/Kconfig
|
2012-11-23 22:13:57 +08:00
|
|
|
|
|
|
|
if ARCH_FAMILY_AVR
|
2012-04-17 08:24:19 +08:00
|
|
|
source arch/avr/src/avr/Kconfig
|
|
|
|
source arch/avr/src/at90usb/Kconfig
|
|
|
|
source arch/avr/src/atmega/Kconfig
|
2012-11-23 22:13:57 +08:00
|
|
|
endif
|
2014-03-06 01:23:54 +08:00
|
|
|
|
2012-11-23 22:13:57 +08:00
|
|
|
if ARCH_FAMILY_AVR32
|
2012-04-17 08:24:19 +08:00
|
|
|
source arch/avr/src/avr32/Kconfig
|
|
|
|
source arch/avr/src/at32uc3/Kconfig
|
2012-11-23 22:13:57 +08:00
|
|
|
endif
|
2012-04-17 08:24:19 +08:00
|
|
|
|
2014-03-06 01:23:54 +08:00
|
|
|
endif # ARCH_AVR
|