2012-04-06 17:49:35 +02: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.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-17 02:24:19 +02:00
|
|
|
|
|
|
|
if ARCH_AVR
|
2012-08-17 16:07:48 +02:00
|
|
|
|
2012-04-17 02:24:19 +02:00
|
|
|
choice
|
|
|
|
prompt "Atmel AVR chip selection"
|
2018-08-05 18:48:02 +02:00
|
|
|
default ARCH_CHIP_AT32UC3
|
2012-04-17 02:24:19 +02:00
|
|
|
|
2014-03-05 18:23:54 +01:00
|
|
|
config ARCH_CHIP_ATMEGA
|
|
|
|
bool "ATMega family"
|
|
|
|
select ARCH_FAMILY_AVR
|
2015-11-23 19:16:35 +01:00
|
|
|
select MM_SMALL
|
2012-04-17 02:24:19 +02:00
|
|
|
---help---
|
2014-03-05 18:23:54 +01:00
|
|
|
Atmel ATMega family of 8-bit AVRs.
|
2012-04-17 02:24:19 +02:00
|
|
|
|
2014-03-05 18:23:54 +01:00
|
|
|
config ARCH_CHIP_AT90USB
|
|
|
|
bool "AT90USB family"
|
|
|
|
select ARCH_FAMILY_AVR
|
2015-11-23 19:16:35 +01:00
|
|
|
select MM_SMALL
|
2012-04-17 02:24:19 +02:00
|
|
|
---help---
|
2014-03-05 18:23:54 +01:00
|
|
|
Atmel AT90USB family of 8-bit AVRs.
|
2012-04-17 02:24:19 +02:00
|
|
|
|
2014-03-05 18:23:54 +01:00
|
|
|
config ARCH_CHIP_AT32UC3
|
2014-06-23 19:20:33 +02:00
|
|
|
bool "AVR32 AT32UC3* family"
|
2014-03-05 18:23:54 +01:00
|
|
|
select ARCH_FAMILY_AVR32
|
2012-04-17 02:24:19 +02:00
|
|
|
---help---
|
2014-03-05 18:23:54 +01:00
|
|
|
Atmel AT32UC3A/B/C family of 32-bit AVR32s.
|
2012-04-17 02:24:19 +02:00
|
|
|
|
2020-10-15 05:29:59 +02:00
|
|
|
config ARCH_CHIP_AVR_CUSTOM
|
|
|
|
bool "Custom AVR chip"
|
|
|
|
select ARCH_CHIP_CUSTOM
|
|
|
|
---help---
|
|
|
|
Select this option if there is no directory for the chip under arch/avr/src/.
|
|
|
|
|
2012-04-17 02:24:19 +02:00
|
|
|
endchoice
|
|
|
|
|
|
|
|
config ARCH_FAMILY_AVR
|
|
|
|
bool
|
2014-03-05 18:23:54 +01:00
|
|
|
default n
|
2014-03-23 17:09:53 +01:00
|
|
|
select ARCH_HAVE_STACKCHECK
|
2012-04-17 02:24:19 +02:00
|
|
|
|
|
|
|
config ARCH_FAMILY_AVR32
|
|
|
|
bool
|
2014-03-05 18:23:54 +01:00
|
|
|
default n
|
2012-04-17 02:24:19 +02:00
|
|
|
|
|
|
|
config ARCH_FAMILY
|
|
|
|
string
|
|
|
|
default "avr" if ARCH_FAMILY_AVR
|
|
|
|
default "avr32" if ARCH_FAMILY_AVR32
|
|
|
|
|
2012-08-17 16:07:48 +02:00
|
|
|
config ARCH_CHIP
|
2012-04-17 02:24:19 +02:00
|
|
|
string
|
2014-03-05 18:23:54 +01:00
|
|
|
default "atmega" if ARCH_CHIP_ATMEGA
|
|
|
|
default "at90usb" if ARCH_CHIP_AT90USB
|
|
|
|
default "at32uc3" if ARCH_CHIP_AT32UC3
|
2012-04-17 02:24:19 +02:00
|
|
|
|
|
|
|
source arch/avr/src/common/Kconfig
|
2012-11-23 15:13:57 +01:00
|
|
|
|
|
|
|
if ARCH_FAMILY_AVR
|
2012-04-17 02:24:19 +02:00
|
|
|
source arch/avr/src/avr/Kconfig
|
|
|
|
source arch/avr/src/at90usb/Kconfig
|
|
|
|
source arch/avr/src/atmega/Kconfig
|
2012-11-23 15:13:57 +01:00
|
|
|
endif
|
2014-03-05 18:23:54 +01:00
|
|
|
|
2012-11-23 15:13:57 +01:00
|
|
|
if ARCH_FAMILY_AVR32
|
2012-04-17 02:24:19 +02:00
|
|
|
source arch/avr/src/avr32/Kconfig
|
|
|
|
source arch/avr/src/at32uc3/Kconfig
|
2012-11-23 15:13:57 +01:00
|
|
|
endif
|
2012-04-17 02:24:19 +02:00
|
|
|
|
2014-03-05 18:23:54 +01:00
|
|
|
endif # ARCH_AVR
|