aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F1xx/qei/mcuconf_community.h
diff options
context:
space:
mode:
authorNicolas Reinecke <nr@das-labor.org>2016-05-01 00:24:06 +0200
committerNicolas Reinecke <nr@das-labor.org>2016-05-08 18:31:03 +0200
commit3709be47e05b50a03d94821087d25de6046f78c4 (patch)
tree4e54d60653fe79981edaa032d327cbc93e0394b5 /testhal/STM32/STM32F1xx/qei/mcuconf_community.h
parent6f67aa78c3061654bb50ed86dc5f104ca49e87b8 (diff)
downloadChibiOS-Contrib-3709be47e05b50a03d94821087d25de6046f78c4.tar.gz
ChibiOS-Contrib-3709be47e05b50a03d94821087d25de6046f78c4.tar.bz2
ChibiOS-Contrib-3709be47e05b50a03d94821087d25de6046f78c4.zip
add qei testhal projects
Diffstat (limited to 'testhal/STM32/STM32F1xx/qei/mcuconf_community.h')
-rw-r--r--testhal/STM32/STM32F1xx/qei/mcuconf_community.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F1xx/qei/mcuconf_community.h b/testhal/STM32/STM32F1xx/qei/mcuconf_community.h
new file mode 100644
index 0000000..2c1a688
--- /dev/null
+++ b/testhal/STM32/STM32F1xx/qei/mcuconf_community.h
@@ -0,0 +1,41 @@
+/*
+ ChibiOS/RT - Copyright (C) 2016
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef MCUCONF_COMMUNITY_H
+#define MCUCONF_COMMUNITY_H
+
+/*
+ * FSMC SRAM driver system settings.
+ */
+#define STM32_USE_FSMC_SRAM FALSE
+
+/*
+ * QEI driver system settings.
+ */
+#define STM32_QEI_USE_TIM1 FALSE
+#define STM32_QEI_USE_TIM2 FALSE
+#define STM32_QEI_USE_TIM3 TRUE
+#define STM32_QEI_USE_TIM4 FALSE
+#define STM32_QEI_USE_TIM5 FALSE
+#define STM32_QEI_USE_TIM8 FALSE
+#define STM32_QEI_TIM1_IRQ_PRIORITY 7
+#define STM32_QEI_TIM2_IRQ_PRIORITY 7
+#define STM32_QEI_TIM3_IRQ_PRIORITY 7
+#define STM32_QEI_TIM4_IRQ_PRIORITY 7
+#define STM32_QEI_TIM5_IRQ_PRIORITY 7
+#define STM32_QEI_TIM8_IRQ_PRIORITY 7
+
+#endif /* MCUCONF_COMMUNITY_H */