From 0eee4b0b160f15c27da9291e92477df04c02e8c0 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 9 Dec 2020 18:02:30 +0100 Subject: arduino nano: add cpu frequency to kconfig --- src/arch/arduino-nano/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/arch/arduino-nano/Kconfig') diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig index 071c18a..ab25a8f 100644 --- a/src/arch/arduino-nano/Kconfig +++ b/src/arch/arduino-nano/Kconfig @@ -1,6 +1,15 @@ # 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 -- cgit v1.2.3