aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32L1xx/SPI
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/SPI
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/SPI')
-rw-r--r--testhal/STM32/STM32L1xx/SPI/.project5
-rw-r--r--testhal/STM32/STM32L1xx/SPI/mcuconf.h19
2 files changed, 24 insertions, 0 deletions
diff --git a/testhal/STM32/STM32L1xx/SPI/.project b/testhal/STM32/STM32L1xx/SPI/.project
index 5e89c246f..c4b990313 100644
--- a/testhal/STM32/STM32L1xx/SPI/.project
+++ b/testhal/STM32/STM32L1xx/SPI/.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>os</name>
<type>2</type>
<locationURI>CHIBIOS/os</locationURI>
diff --git a/testhal/STM32/STM32L1xx/SPI/mcuconf.h b/testhal/STM32/STM32L1xx/SPI/mcuconf.h
index 9d2fbed1d..697000389 100644
--- a/testhal/STM32/STM32L1xx/SPI/mcuconf.h
+++ b/testhal/STM32/STM32L1xx/SPI/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
@@ -90,9 +101,17 @@
#define STM32_GPT_USE_TIM2 FALSE
#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 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.