aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/PWM/mcuconf.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 19:28:47 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-02-28 19:28:47 +0000
commit761f9f7287db259fe4a280d9ad13e2ed6eaf95a3 (patch)
treeca0ec051ecd7fc799e20263ba29b8bbdf6134f9f /testhal/STM32/PWM/mcuconf.h
parent006c13952ffee23f7384b60efa95186333fbf69f (diff)
downloadChibiOS-761f9f7287db259fe4a280d9ad13e2ed6eaf95a3.tar.gz
ChibiOS-761f9f7287db259fe4a280d9ad13e2ed6eaf95a3.tar.bz2
ChibiOS-761f9f7287db259fe4a280d9ad13e2ed6eaf95a3.zip
Updated the various halconf.h and mcuconf.h with the GPT settings.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2782 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/PWM/mcuconf.h')
-rw-r--r--testhal/STM32/PWM/mcuconf.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/testhal/STM32/PWM/mcuconf.h b/testhal/STM32/PWM/mcuconf.h
index c34557a85..ea7941a4f 100644
--- a/testhal/STM32/PWM/mcuconf.h
+++ b/testhal/STM32/PWM/mcuconf.h
@@ -60,6 +60,20 @@
#define STM32_CAN_CAN1_IRQ_PRIORITY 11
/*
+ * GPT driver system settings.
+ */
+#define STM32_GPT_USE_TIM1 FALSE
+#define STM32_GPT_USE_TIM2 FALSE
+#define STM32_GPT_USE_TIM3 FALSE
+#define STM32_GPT_USE_TIM4 FALSE
+#define STM32_GPT_USE_TIM5 FALSE
+#define STM32_GPT_TIM1_IRQ_PRIORITY 7
+#define STM32_GPT_TIM2_IRQ_PRIORITY 7
+#define STM32_GPT_TIM3_IRQ_PRIORITY 7
+#define STM32_GPT_TIM4_IRQ_PRIORITY 7
+#define STM32_GPT_TIM5_IRQ_PRIORITY 7
+
+/*
* PWM driver system settings.
*/
#define STM32_PWM_USE_TIM1 TRUE