summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/Kconfig
blob: 071c18a63b80092abb13f18a9b4cb9c5d595f3ce (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
# Copyright 2020 Daniel Friesel
#
# SPDX-License-Identifier: CC0-1.0
config arch_arduino_nano_driver_adc
bool "ADC (Analog-Digital-Converter)"
select meta_driver_adc

config arch_arduino_nano_driver_i2c
bool "I2C"
depends on !driver_softi2c
select meta_driver_i2c

config arch_arduino_nano_driver_neopixel
bool "WS2812b (NeoPixel)"
select meta_driver_neopixel

config arch_arduino_nano_driver_spi
bool "SPI"
select meta_driver_spi

config arch_arduino_nano_driver_stdin
bool "UART Input"
select meta_driver_stdin

config arch_arduino_nano_driver_timer
bool "Timer with Interrupts"
select meta_driver_timer

choice arch_arduino_nano_cpu
bool "CPU Type"

config arch_arduino_nano_mega168
bool "ATMega168"

config arch_arduino_nano_mega328
bool "ATMega328"

endchoice

choice arch_arduino_nano_timer1

bool "Timer 1"
optional

config arch_arduino_nano_driver_uptime
bool "Uptime Counter"
select meta_driver_uptime

config arch_arduino_nano_driver_counter
bool "Cycle Counter"
select meta_driver_counter

endchoice