2012-04-06 23:49:35 +08:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2015-06-28 22:08:57 +08:00
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
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"
|
2018-08-06 00:48:02 +08:00
|
|
|
default ARCH_CHIP_AT32UC3
|
2012-04-17 08:24:19 +08:00
|
|
|
|
2014-03-06 01:23:54 +08:00
|
|
|
config ARCH_CHIP_ATMEGA
|
|
|
|
bool "ATMega family"
|
|
|
|
select ARCH_FAMILY_AVR
|
2015-11-24 02:16:35 +08:00
|
|
|
select MM_SMALL
|
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
|
2015-11-24 02:16:35 +08:00
|
|
|
select MM_SMALL
|
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
|
|
|
|
2020-10-15 11:29:59 +08: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 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
|
|
|
|
2021-07-20 19:10:10 +08:00
|
|
|
source "arch/avr/src/common/Kconfig"
|
2012-11-23 22:13:57 +08:00
|
|
|
|
|
|
|
if ARCH_FAMILY_AVR
|
2021-07-20 19:10:10 +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
|
2021-07-20 19:10:10 +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
|