blob: ce9a9873014dab48a2b4ce39288782aafa7d9161 (
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
|
# Copyright 2020 Daniel 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
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
|