From 2f8df3f95963beeeb9d3245d28cac6f2d6fe48bc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 31 Aug 2020 13:11:51 +0200 Subject: arduino nano: Turn CPU into a choice --- src/arch/arduino-nano/Kconfig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'src/arch/arduino-nano/Kconfig') diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig index 39de647..638ec1d 100644 --- a/src/arch/arduino-nano/Kconfig +++ b/src/arch/arduino-nano/Kconfig @@ -22,9 +22,16 @@ 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 "Cheap Hardware (ATMega168)" -default n +bool "ATMega168" + +config arch_arduino_nano_mega328 +bool "ATMega328" + +endchoice choice arch_arduino_nano_timer1 -- cgit v1.2.3