blob: 41b6c72d3fa2365689a0ea13f9d79e05ead34fe1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
if ARCH_AVR
choice
prompt "Atmel AVR chip selection"
default ARCH_CHIP_AT32UC3B0256
config ARCH_CHIP_ATMEGA128
bool "ATMega128"
---help---
Atmel ATMega128 8-bit AVR.
config ARCH_CHIP_AT90USB646
bool "AT90USB646"
---help---
Atmel AT90USB646 8-bit AVR.
config ARCH_CHIP_AT90USB647
bool "AT90USB647"
---help---
Atmel AT90USB647 8-bit AVR.
config ARCH_CHIP_AT90USB1286
bool "AT90USB1286"
---help---
Atmel AT90USB1286 8-bit AVR.
config ARCH_CHIP_AT90USB1287
bool "AT90USB1287"
---help---
Atmel AT90USB1287 8-bit AVR.
config ARCH_CHIP_AT32UC3B0256
bool "AT32UC3B0256"
---help---
Atmel AT32UC3B0256 32-bit AVR32.
endchoice
config ARCH_FAMILY_AVR
bool
default y if ARCH_CHIP_ATMEGA128 || ARCH_CHIP_AT90USB646 || ARCH_CHIP_AT90USB647 || ARCH_CHIP_AT90USB1286 || ARCH_CHIP_AT90USB1287
config ARCH_FAMILY_AVR32
bool
default y if ARCH_CHIP_AT32UC3B0256
config ARCH_FAMILY
string
default "avr" if ARCH_FAMILY_AVR
default "avr32" if ARCH_FAMILY_AVR32
config ARCH_ATMEGA
bool
default y if ARCH_CHIP_ATMEGA128
config ARCH_AT90USB
bool
default y if ARCH_CHIP_AT90USB646 || ARCH_CHIP_AT90USB647 || ARCH_CHIP_AT90USB1286 || ARCH_CHIP_AT90USB1287
config ARCH_AT32UC3
bool
default y if ARCH_CHIP_AT32UC3B0256
config ARCH_CHIP
string
default "atmega" if ARCH_ATMEGA
default "at90usb" if ARCH_AT90USB
default "at32uc3" if ARCH_AT32UC3
source arch/avr/src/common/Kconfig
if ARCH_FAMILY_AVR
source arch/avr/src/avr/Kconfig
source arch/avr/src/at90usb/Kconfig
source arch/avr/src/atmega/Kconfig
endif
if ARCH_FAMILY_AVR32
source arch/avr/src/avr32/Kconfig
source arch/avr/src/at32uc3/Kconfig
endif
config AVR_USART0
bool "USART0 specific serial device driver settings"
select ARCH_HAVE_USART0
config AVR_USART1
bool "USART1 specific serial device driver settings"
select ARCH_HAVE_USART1
endif
|