summaryrefslogtreecommitdiff
path: root/src/arch/atmega2560/Kconfig
blob: c02a90987ebc0fcc54285ab7213493e3524c0e80 (plain)
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
96
97
98
99
100
101
102
# Copyright 2021 Birte Kristina Friesel
#
# SPDX-License-Identifier: CC0-1.0

config arch_atmega2560_driver_dmx1
bool "DMX1 Output on PD3 (D18)"
help
  TX: PD3 (UART1) (D18)
depends on !meta_driver_stdout1
select meta_driver_dmx
select meta_driver_dmx1

config arch_atmega2560_driver_dmx2
bool "DMX2 Output on PH1 (D16)"
help
  TX: PH1 (UART2) (D16)
depends on !meta_driver_stdout2
select meta_driver_dmx
select meta_driver_dmx2

config arch_atmega2560_driver_dmx3
bool "DMX3 Output on PJ1 (D14)"
help
  TX: PJ1 (UART3) (D14)
depends on !meta_driver_stdout3
select meta_driver_dmx
select meta_driver_dmx3

config arch_atmega2560_driver_i2c
bool "I²C on PD[01]"
help
  SDA: PD1
  SCL: PD0
select meta_driver_hardware_i2c
select meta_driver_i2c

config arch_atmega2560_driver_stdout1
bool "UART1 Output on PD3 (D18)"
help
  TX: PD3 (UART1) (D18)
select meta_driver_stdout1

config arch_atmega2560_uart1_baud
int "UART1 Baud Rate"
range 9600 249600
default 57600
depends on arch_atmega2560_driver_stdout1

config arch_atmega2560_driver_stdout2
bool "UART2 Output on PH1 (D16)"
help
  TX: PH1 (UART2) (D16)
select meta_driver_stdout2

config arch_atmega2560_uart2_baud
int "UART2 Baud Rate"
range 9600 249600
default 57600
depends on arch_atmega2560_driver_stdout2

config arch_atmega2560_driver_stdout3
bool "UART3 Output on PJ1 (D14)"
help
  TX: PJ1 (UART3) (D14)
select meta_driver_stdout3

config arch_atmega2560_uart3_baud
int "UART3 Baud Rate"
range 9600 249600
default 57600
depends on arch_atmega2560_driver_stdout3

config arch_atmega2560_driver_stdin
bool "UART0 Input on PE0 (RX)"
help
  RX: PE0 (UART0) (RX)
select meta_driver_stdin

config arch_atmega2560_driver_stdin1
bool "UART1 Input on PD2 (D19)"
help
  RX: PD2 (UART1) (D19)
depends on arch_atmega2560_driver_stdout1
select meta_driver_stdin1

config arch_atmega2560_driver_stdin2
bool "UART2 Input on PH0 (D17)"
help
  RX: PH0 (UART2) (D17)
depends on arch_atmega2560_driver_stdout2
select meta_driver_stdin2

config arch_atmega2560_driver_stdin3
bool "UART3 Input on PE0 (RX)"
help
  RX: PE0 (UART0) (RX)
depends on arch_atmega2560_driver_stdout3
select meta_driver_stdin3

config arch_atmega2560_driver_timer
bool "Timer with Interrupts"
select meta_driver_timer