From b4e1ecc760fb1dea0089428a4ba4cdd9510e1cdb Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Wed, 11 Jan 2017 10:32:33 +0000 Subject: Various STM32 timers-related fixes into registry and RCC files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10030 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32F7xx/stm32_registry.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'os/hal/ports/STM32/STM32F7xx/stm32_registry.h') diff --git a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h index abcafeb66..62212781f 100644 --- a/os/hal/ports/STM32/STM32F7xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F7xx/stm32_registry.h @@ -301,11 +301,11 @@ #define STM32_SPI6_TX_DMA_CHN 0x00100000 /* TIM attributes.*/ -#define STM32_TIM_MAX_CHANNELS 4 +#define STM32_TIM_MAX_CHANNELS 6 #define STM32_HAS_TIM1 TRUE #define STM32_TIM1_IS_32BITS FALSE -#define STM32_TIM1_CHANNELS 4 +#define STM32_TIM1_CHANNELS 6 #define STM32_TIM1_UP_HANDLER VectorA4 #define STM32_TIM1_CC_HANDLER VectorAC #define STM32_TIM1_UP_NUMBER 25 @@ -363,13 +363,13 @@ #define STM32_HAS_TIM10 TRUE #define STM32_TIM10_IS_32BITS FALSE -#define STM32_TIM10_CHANNELS 2 +#define STM32_TIM10_CHANNELS 1 #define STM32_TIM10_HANDLER VectorA4 /* Note: same as STM32_TIM1_UP */ #define STM32_TIM10_NUMBER 25 /* Note: same as STM32_TIM1_UP */ #define STM32_HAS_TIM11 TRUE #define STM32_TIM11_IS_32BITS FALSE -#define STM32_TIM11_CHANNELS 2 +#define STM32_TIM11_CHANNELS 1 #define STM32_TIM11_HANDLER VectorA8 #define STM32_TIM11_NUMBER 26 @@ -381,13 +381,13 @@ #define STM32_HAS_TIM13 TRUE #define STM32_TIM13_IS_32BITS FALSE -#define STM32_TIM13_CHANNELS 2 +#define STM32_TIM13_CHANNELS 1 #define STM32_TIM13_HANDLER VectorF0 /* Note: same as STM32_TIM8_UP */ #define STM32_TIM13_NUMBER 44 /* Note: same as STM32_TIM8_UP */ #define STM32_HAS_TIM14 TRUE #define STM32_TIM14_IS_32BITS FALSE -#define STM32_TIM14_CHANNELS 2 +#define STM32_TIM14_CHANNELS 1 #define STM32_TIM14_HANDLER VectorF4 #define STM32_TIM14_NUMBER 45 -- cgit v1.2.3