summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-01-27 08:29:32 +0100
committerBirte Kristina Friesel <derf@finalrewind.org>2024-01-27 08:29:32 +0100
commit1def1219dcaaaa9a211e4d203812955e85e8a5d5 (patch)
tree129257b3547515d4473d8a0dc202ccfef8216cd4
parentc0d4c55b6c4a1111a42ddb74e0ab9650c92b0d8f (diff)
mega2560: ensure that DMX and stdout are never configured for the same UART
-rw-r--r--src/arch/atmega2560/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/atmega2560/Kconfig b/src/arch/atmega2560/Kconfig
index a2814b0..1c1f7f4 100644
--- a/src/arch/atmega2560/Kconfig
+++ b/src/arch/atmega2560/Kconfig
@@ -6,6 +6,7 @@ config arch_atmega2560_driver_dmx1
bool "DMX1 Output on PD3 (D18)"
help
TX: PD3 (UART1) (D18)
+depends on !meta_driver_stdout1
select meta_driver_dmx
select meta_driver_dmx1
@@ -13,6 +14,7 @@ config arch_atmega2560_driver_dmx2
bool "DMX2 Output on PH1 (D16)"
help
TX: PH1 (UART2) (D16)
+depends on !meta_driver_stdout2
select meta_driver_dmx
select meta_driver_dmx2
@@ -20,6 +22,7 @@ config arch_atmega2560_driver_dmx3
bool "DMX3 Output on PJ1 (D14)"
help
TX: PJ1 (UART3) (D14)
+depends on !meta_driver_stdout3
select meta_driver_dmx
select meta_driver_dmx3