summaryrefslogtreecommitdiff
path: root/src/arch/atmega2560/Makefile.inc
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-26 20:38:50 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-26 20:38:50 +0100
commit218166456b68ca2266c8e7c77c1085ad4fc16e86 (patch)
treed83ca341c6706dcbac806c960d8f8baaadfc0421 /src/arch/atmega2560/Makefile.inc
parentfc4a1906ff3fa4ce355c3a058b15ed243d8ce7a8 (diff)
ATMega2560: Add stdin and stdout on UART1, UART2, UART3
Diffstat (limited to 'src/arch/atmega2560/Makefile.inc')
-rw-r--r--src/arch/atmega2560/Makefile.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/arch/atmega2560/Makefile.inc b/src/arch/atmega2560/Makefile.inc
index d7a6b05..39821da 100644
--- a/src/arch/atmega2560/Makefile.inc
+++ b/src/arch/atmega2560/Makefile.inc
@@ -91,10 +91,34 @@ ifdef CONFIG_arch_atmega2560_driver_spi
CXX_TARGETS += src/arch/atmega2560/driver/spi.cc
endif
+ifdef CONFIG_arch_atmega2560_driver_stdout1
+ CXX_TARGETS += src/arch/atmega2560/driver/stdout1.cc
+endif
+
+ifdef CONFIG_arch_atmega2560_driver_stdout2
+ CXX_TARGETS += src/arch/atmega2560/driver/stdout2.cc
+endif
+
+ifdef CONFIG_arch_atmega2560_driver_stdout3
+ CXX_TARGETS += src/arch/atmega2560/driver/stdout3.cc
+endif
+
ifdef CONFIG_arch_atmega2560_driver_stdin
CXX_TARGETS += src/arch/atmega2560/driver/stdin.cc
endif
+ifdef CONFIG_arch_atmega2560_driver_stdin1
+ CXX_TARGETS += src/arch/atmega2560/driver/stdin1.cc
+endif
+
+ifdef CONFIG_arch_atmega2560_driver_stdin2
+ CXX_TARGETS += src/arch/atmega2560/driver/stdin2.cc
+endif
+
+ifdef CONFIG_arch_atmega2560_driver_stdin3
+ CXX_TARGETS += src/arch/atmega2560/driver/stdin3.cc
+endif
+
ifdef CONFIG_arch_atmega2560_driver_timer
CXX_TARGETS += src/arch/atmega2560/driver/timer.cc
endif