From d5beba45db3f11a91bb10f6f7a76d218e83fc03d Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Thu, 16 Sep 2021 14:02:22 +0000 Subject: timer: stm32: default to v1 "All" parts so far have the v1 timer api, so default to that, but allow overriding, instead of requiring it to be specified every time. Signed-off-by: Karl Palsson --- platforms/stm32/f1.yaml | 8 -------- platforms/stm32/f3.yaml | 8 -------- platforms/stm32/f4.yaml | 8 -------- platforms/stm32/wb.yaml | 4 ---- 4 files changed, 28 deletions(-) (limited to 'platforms/stm32') diff --git a/platforms/stm32/f1.yaml b/platforms/stm32/f1.yaml index 8d4962b..ed97844 100644 --- a/platforms/stm32/f1.yaml +++ b/platforms/stm32/f1.yaml @@ -2,26 +2,18 @@ - periph: stm32_timer: TIM1: - type: v1 offset: 0x40012c00 TIM2: - type: v1 offset: 0x40000000 TIM3: - type: v1 offset: 0x40000400 TIM4: - type: v1 offset: 0x40000800 TIM5: - type: v1 offset: 0x40000c00 TIM6: - type: v1 offset: 0x40001000 TIM7: - type: v1 offset: 0x40001400 TIM8: - type: v1 offset: 0x40013400 diff --git a/platforms/stm32/f3.yaml b/platforms/stm32/f3.yaml index 8d4962b..ed97844 100644 --- a/platforms/stm32/f3.yaml +++ b/platforms/stm32/f3.yaml @@ -2,26 +2,18 @@ - periph: stm32_timer: TIM1: - type: v1 offset: 0x40012c00 TIM2: - type: v1 offset: 0x40000000 TIM3: - type: v1 offset: 0x40000400 TIM4: - type: v1 offset: 0x40000800 TIM5: - type: v1 offset: 0x40000c00 TIM6: - type: v1 offset: 0x40001000 TIM7: - type: v1 offset: 0x40001400 TIM8: - type: v1 offset: 0x40013400 diff --git a/platforms/stm32/f4.yaml b/platforms/stm32/f4.yaml index 96731e4..d362fa4 100644 --- a/platforms/stm32/f4.yaml +++ b/platforms/stm32/f4.yaml @@ -32,28 +32,20 @@ stm32_timer: TIM1: - type: v1 offset: 0x40010000 TIM2: - type: v1 offset: 0x40000000 TIM3: - type: v1 offset: 0x40000400 TIM4: - type: v1 offset: 0x40000800 TIM5: - type: v1 offset: 0x40000c00 TIM6: - type: v1 offset: 0x40001000 TIM7: - type: v1 offset: 0x40001400 TIM8: - type: v1 offset: 0x40010400 stm32_uart: diff --git a/platforms/stm32/wb.yaml b/platforms/stm32/wb.yaml index 65eafea..6aee549 100644 --- a/platforms/stm32/wb.yaml +++ b/platforms/stm32/wb.yaml @@ -30,16 +30,12 @@ periph: stm32_timer: TIM1: - type: v1 offset: 0x40012C00 TIM2: - type: v1 offset: 0x40000000 TIM16: - type: v1 offset: 0x40014400 TIM17: - type: v1 offset: 0x40014800 stm32_uart: -- cgit v1.2.3