From 472033935be482c382e9e4329af17b37d1d4e69e Mon Sep 17 00:00:00 2001 From: gdisirio Date: Thu, 21 Jun 2012 16:52:13 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4316 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARMCM0-STM32F051-DISCOVERY/mcuconf.h | 10 ++++++++++ testhal/STM32F0xx/ADC/mcuconf.h | 10 ++++++++++ testhal/STM32F0xx/EXT/mcuconf.h | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/demos/ARMCM0-STM32F051-DISCOVERY/mcuconf.h b/demos/ARMCM0-STM32F051-DISCOVERY/mcuconf.h index cc5c8cb8d..2840ad570 100644 --- a/demos/ARMCM0-STM32F051-DISCOVERY/mcuconf.h +++ b/demos/ARMCM0-STM32F051-DISCOVERY/mcuconf.h @@ -76,6 +76,16 @@ #define STM32_EXT_EXTI16_IRQ_PRIORITY 3 #define STM32_EXT_EXTI17_IRQ_PRIORITY 3 +/* + * GPT driver system settings. + */ +#define STM32_GPT_USE_TIM1 FALSE +#define STM32_GPT_USE_TIM2 TRUE +#define STM32_GPT_USE_TIM3 TRUE +#define STM32_GPT_TIM1_IRQ_PRIORITY 2 +#define STM32_GPT_TIM2_IRQ_PRIORITY 2 +#define STM32_GPT_TIM3_IRQ_PRIORITY 2 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32F0xx/ADC/mcuconf.h b/testhal/STM32F0xx/ADC/mcuconf.h index cc5c8cb8d..2840ad570 100644 --- a/testhal/STM32F0xx/ADC/mcuconf.h +++ b/testhal/STM32F0xx/ADC/mcuconf.h @@ -76,6 +76,16 @@ #define STM32_EXT_EXTI16_IRQ_PRIORITY 3 #define STM32_EXT_EXTI17_IRQ_PRIORITY 3 +/* + * GPT driver system settings. + */ +#define STM32_GPT_USE_TIM1 FALSE +#define STM32_GPT_USE_TIM2 TRUE +#define STM32_GPT_USE_TIM3 TRUE +#define STM32_GPT_TIM1_IRQ_PRIORITY 2 +#define STM32_GPT_TIM2_IRQ_PRIORITY 2 +#define STM32_GPT_TIM3_IRQ_PRIORITY 2 + /* * SERIAL driver system settings. */ diff --git a/testhal/STM32F0xx/EXT/mcuconf.h b/testhal/STM32F0xx/EXT/mcuconf.h index cc5c8cb8d..2840ad570 100644 --- a/testhal/STM32F0xx/EXT/mcuconf.h +++ b/testhal/STM32F0xx/EXT/mcuconf.h @@ -76,6 +76,16 @@ #define STM32_EXT_EXTI16_IRQ_PRIORITY 3 #define STM32_EXT_EXTI17_IRQ_PRIORITY 3 +/* + * GPT driver system settings. + */ +#define STM32_GPT_USE_TIM1 FALSE +#define STM32_GPT_USE_TIM2 TRUE +#define STM32_GPT_USE_TIM3 TRUE +#define STM32_GPT_TIM1_IRQ_PRIORITY 2 +#define STM32_GPT_TIM2_IRQ_PRIORITY 2 +#define STM32_GPT_TIM3_IRQ_PRIORITY 2 + /* * SERIAL driver system settings. */