aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32L1xx/IRQ_STORM
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-10-31 13:32:53 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-10-31 13:32:53 +0000
commit61509a21dee90992110a310734db5744a1c01b45 (patch)
tree676ac229192cf281d9439ca6542e67473f2cbbf6 /testhal/STM32/STM32L1xx/IRQ_STORM
parent7bf28b012a094534d25ba52d710ef7fa9d3f8767 (diff)
downloadChibiOS-61509a21dee90992110a310734db5744a1c01b45.tar.gz
ChibiOS-61509a21dee90992110a310734db5744a1c01b45.tar.bz2
ChibiOS-61509a21dee90992110a310734db5744a1c01b45.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8413 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32L1xx/IRQ_STORM')
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/.project5
-rw-r--r--testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h27
2 files changed, 28 insertions, 4 deletions
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/.project b/testhal/STM32/STM32L1xx/IRQ_STORM/.project
index b81d66f7e..ecf468f63 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/.project
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/.project
@@ -25,6 +25,11 @@
</natures>
<linkedResources>
<link>
+ <name>board</name>
+ <type>2</type>
+ <locationURI>CHIBIOS/os/hal/boards/ST_STM32L_DISCOVERY</locationURI>
+ </link>
+ <link>
<name>common</name>
<type>2</type>
<locationURI>CHIBIOS/testhal/common</locationURI>
diff --git a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
index ac6101480..feac77fe7 100644
--- a/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/IRQ_STORM/mcuconf.h
@@ -68,6 +68,17 @@
#define STM32_ADC_ADC1_DMA_IRQ_PRIORITY 6
/*
+ * DAC driver system settings.
+ */
+#define STM32_DAC_DUAL_MODE FALSE
+#define STM32_DAC_USE_DAC1_CH1 FALSE
+#define STM32_DAC_USE_DAC1_CH2 FALSE
+#define STM32_DAC_DAC1_CH1_IRQ_PRIORITY 10
+#define STM32_DAC_DAC1_CH2_IRQ_PRIORITY 10
+#define STM32_DAC_DAC1_CH1_DMA_PRIORITY 2
+#define STM32_DAC_DAC1_CH2_DMA_PRIORITY 2
+
+/*
* EXT driver system settings.
*/
#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
@@ -88,11 +99,19 @@
* GPT driver system settings.
*/
#define STM32_GPT_USE_TIM2 FALSE
-#define STM32_GPT_USE_TIM3 TRUE
-#define STM32_GPT_USE_TIM4 TRUE
+#define STM32_GPT_USE_TIM3 FALSE
+#define STM32_GPT_USE_TIM4 FALSE
+#define STM32_GPT_USE_TIM6 FALSE
+#define STM32_GPT_USE_TIM7 FALSE
+#define STM32_GPT_USE_TIM9 FALSE
+#define STM32_GPT_USE_TIM11 FALSE
#define STM32_GPT_TIM2_IRQ_PRIORITY 7
-#define STM32_GPT_TIM3_IRQ_PRIORITY 10
-#define STM32_GPT_TIM4_IRQ_PRIORITY 6
+#define STM32_GPT_TIM3_IRQ_PRIORITY 7
+#define STM32_GPT_TIM4_IRQ_PRIORITY 7
+#define STM32_GPT_TIM6_IRQ_PRIORITY 7
+#define STM32_GPT_TIM7_IRQ_PRIORITY 7
+#define STM32_GPT_TIM9_IRQ_PRIORITY 7
+#define STM32_GPT_TIM11_IRQ_PRIORITY 7
/*
* I2C driver system settings.