From 397035adc37b2c1fa8d9c732cf44392bff60ba06 Mon Sep 17 00:00:00 2001 From: Rahix Date: Fri, 31 Jul 2020 23:12:43 +0200 Subject: [PATCH] atmega2560: Add timer patches Signed-off-by: Rahix --- patch/atmega2560.yaml | 2 ++ patch/timer/atmega2560.yaml | 14 ++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 patch/timer/atmega2560.yaml diff --git a/patch/atmega2560.yaml b/patch/atmega2560.yaml index 6a5afd86f0e9f5c927893f4f3dfee8b8c549f3e6..5a60df512077ab78b0280aa56561325b1d8d6976 100644 --- a/patch/atmega2560.yaml +++ b/patch/atmega2560.yaml @@ -5,3 +5,5 @@ _include: - "common/twi.yaml" - "common/usart.yaml" - "common/wdt.yaml" + + - "timer/atmega2560.yaml" diff --git a/patch/timer/atmega2560.yaml b/patch/timer/atmega2560.yaml new file mode 100644 index 0000000000000000000000000000000000000000..35f0d90f66982ee69986d710672ffba1d823358e --- /dev/null +++ b/patch/timer/atmega2560.yaml @@ -0,0 +1,14 @@ +# This intermediate file is needed because peripheral-level includes are not +# supported in top-level files. + +TC0: + _include: + - "dev/8bit.yaml" + +TC1,TC3,TC4,TC5: + _include: + - "dev/16bit.yaml" + +TC2: + _include: + - "dev/8bit-async.yaml"