diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-31 08:23:44 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-08-31 08:23:44 +0200 |
commit | be0f439a608e51766d5db471169f1acd755ae717 (patch) | |
tree | 410bf9ed6c5d7451ecc106220b101ad58bfc65fa /src/arch/arduino-nano | |
parent | 4d49d9c04c490a85962d4d530c59793609940a76 (diff) |
Merge arduino-nano-168 into arduino-nano (differences are minimal)
Diffstat (limited to 'src/arch/arduino-nano')
-rw-r--r-- | src/arch/arduino-nano/Kconfig | 5 | ||||
-rw-r--r-- | src/arch/arduino-nano/Makefile.inc | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Kconfig b/src/arch/arduino-nano/Kconfig index 7054d44..39de647 100644 --- a/src/arch/arduino-nano/Kconfig +++ b/src/arch/arduino-nano/Kconfig @@ -22,7 +22,12 @@ config arch_arduino_nano_driver_timer bool "Timer with Interrupts" select meta_driver_timer +config arch_arduino_nano_mega168 +bool "Cheap Hardware (ATMega168)" +default n + choice arch_arduino_nano_timer1 + bool "Timer 1" optional diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc index a3412fb..b1b76f1 100644 --- a/src/arch/arduino-nano/Makefile.inc +++ b/src/arch/arduino-nano/Makefile.inc @@ -4,6 +4,11 @@ MCU = atmega328p SERIAL_PORT ?= /dev/ttyUSB0 BAUD = 57600 +ifdef CONFIG_arch_arduino_nano_mega168 + MCU = atmega168 + BAUD = 19200 +endif + cpu_freq ?= 16000000 COMMON_FLAGS += -Werror=overflow |