aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F103/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-01 09:11:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-01 09:11:35 +0000
commitbe4c72c7a3e9e11a23ad5d6de709957adffa06ff (patch)
tree8a60c1e7f9a58a723bbb7083790cd0187c17511e /demos/ARMCM3-STM32F103/mcuconf.h
parent90a05a12abe23cc6e0998119d5b460b862871337 (diff)
downloadChibiOS-be4c72c7a3e9e11a23ad5d6de709957adffa06ff.tar.gz
ChibiOS-be4c72c7a3e9e11a23ad5d6de709957adffa06ff.tar.bz2
ChibiOS-be4c72c7a3e9e11a23ad5d6de709957adffa06ff.zip
Updated the various STM32 mcuconf.h files with the ICU settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2859 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103/mcuconf.h')
-rw-r--r--demos/ARMCM3-STM32F103/mcuconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F103/mcuconf.h b/demos/ARMCM3-STM32F103/mcuconf.h
index 2f50634ce..bd96de17b 100644
--- a/demos/ARMCM3-STM32F103/mcuconf.h
+++ b/demos/ARMCM3-STM32F103/mcuconf.h
@@ -75,6 +75,20 @@
#define STM32_GPT_TIM5_IRQ_PRIORITY 7
/*
+ * ICU driver system settings.
+ */
+#define STM32_ICU_USE_TIM1 FALSE
+#define STM32_ICU_USE_TIM2 FALSE
+#define STM32_ICU_USE_TIM3 FALSE
+#define STM32_ICU_USE_TIM4 TRUE
+#define STM32_ICU_USE_TIM5 FALSE
+#define STM32_ICU_TIM1_IRQ_PRIORITY 7
+#define STM32_ICU_TIM2_IRQ_PRIORITY 7
+#define STM32_ICU_TIM3_IRQ_PRIORITY 7
+#define STM32_ICU_TIM4_IRQ_PRIORITY 7
+#define STM32_ICU_TIM5_IRQ_PRIORITY 7
+
+/*
* PWM driver system settings.
*/
#define STM32_PWM_USE_TIM1 TRUE