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
|
# Copyright 2020-2024 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
Must be one of 62500, 125000, 250000, 500000, 1000000, 2000000, 4000000, 8000000, 16000000.
config arch_arduino_nano_driver_adc
bool "ADC on PC<0-5>"
help
ADC0: PC0
ADC1: PC1
ADC2: PC2
ADC3: PC3
ADC4: PC4
ADC5: PC5
ADC6: ---
ADC7: ---
select meta_driver_adc
config arch_arduino_nano_driver_i2c
bool "I²C on PC[45]"
help
SDA: PC4
SCL: PC5
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 on PB[2345]"
help
SS: PB2
MOSI: PB3
MISO: PB4
SCK: PB5
select meta_driver_spi
config arch_arduino_nano_driver_stdin
bool "UART Input on PD0"
help
RX: PD0 (USB)
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
|