summaryrefslogtreecommitdiff
path: root/src/arch/arduino-nano/Kconfig
blob: 79c7f2e81c312a20f81cffd076eb0dc1a8c29112 (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
# Copyright 2020 Birte Kristina Friesel
#
# SPDX-License-Identifier: CC0-1.0

config arch_arduino_nano_cpufreq
int "CPU Frequency"
#!accept [62500, 125000, 250000, 500000, 1000000, 2000000, 4000000, 8000000, 16000000]
range 62500 16000000
default 16000000
help
  Assumes an externel 16MHz crystal to be present

config arch_arduino_nano_driver_adc
bool "ADC (Analog-Digital-Converter)"
select meta_driver_adc

config arch_arduino_nano_driver_i2c
bool "I2C"
select meta_driver_hardware_i2c
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

config arch_arduino_nano_driver_dmx
bool "DMX"
select meta_driver_dmx

config arch_arduino_nano_driver_dmx_pin
string "DMX Pin"
default "pb5"
depends on arch_arduino_nano_driver_dmx

choice arch_arduino_nano_cpu
bool "CPU Type"

config arch_arduino_nano_mega328
bool "ATMega328"

config arch_arduino_nano_mega168
bool "ATMega168"

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