summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-08-31 13:11:51 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-08-31 13:11:51 +0200
commit2f8df3f95963beeeb9d3245d28cac6f2d6fe48bc (patch)
tree55d3902198257b41d601b7cce24f9a96708ec111 /src/arch
parent769e2e211814abaca86d8e27dcebf875dd68e09a (diff)
arduino nano: Turn CPU into a choice
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arduino-nano/Kconfig11
1 files changed, 9 insertions, 2 deletions
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