aboutsummaryrefslogtreecommitdiff
path: root/conffile
blob: 634280474a1b5950d7a3ad61366666c7f1f30fb8 (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
MCU::
    type string
    default "atmega328p"
    menu "MCU name"

F_CPU::
    type float
    default 16
    menu "CPU frequency"
#################################################################################

if MCU == "atmega328p"
MCUSUPPORT_SPI:
MCUSUPPORT_USART:
endif

#################################################################################

IOE_SPI: MCUSUPPORT_USART
    menu "SPI interface"

group IOE_USART: MCUSUPPORT_SPI
    type bool
    menu "USART interface"

IOE_USART_BAUD:
    type int<0,>
    menu "Baud"

IOE_USART_PARITY:
    type {!None("USART_PARITY_NONE"), Odd("USART_PARITY_ODD"), Even("USART_PARITY_EVEN")}
    menu "Parity"

IOE_USART_STOPBIT:
    type {!Single("USART_STOPBIT_SINGLE"), Double("USART_STOPBIT_DOUBLE")}
    menu "Number of stop bits"

IOE_USART_DATABITS:
    type int<5,8>
    default 8
    menu "Number of data bits"

IOE_USART_INBUFFER_SIZE:
    type int<0,>
    menu "USART input buffer size"
    help "Defines size of input buffer for USART interface."
         " If size is set to 0, no buffer is used."

IOE_USART_OUTBUFFER_SIZE:
    type int<0,>
    menu "USART output buffer size"
    help "Defines size of output buffer for USART interface."
         " If size is set to 0, no buffer is used."
endgroup # IOE_USART

IOE_CAN_MCP2515: IOE_SPI
    menu "MCP2515 CAN controller"

group SENSORS:
    menu "Sensors"

IOE_SENSOR_DHT22:
    menu "DHT22 temperature and humidity sensor"

endgroup # SENSORS