aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-03-13 11:17:34 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-03-13 11:17:34 +0000
commit8464f9100e1a7da211e00868d7219f83c3e66b49 (patch)
tree45e28440bfa7f5c8b9680d4522780f1277c67140 /testhal/STM32
parent991de13cad02f1b4121aa172ea3788cc6c900edf (diff)
downloadChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.tar.gz
ChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.tar.bz2
ChibiOS-8464f9100e1a7da211e00868d7219f83c3e66b49.zip
Fixed bug #724.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9086 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32')
-rw-r--r--testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
index 3e98a449e..08280af89 100644
--- a/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
+++ b/testhal/STM32/STM32F0xx/USB_CDC/mcuconf.h
@@ -76,6 +76,19 @@
#define STM32_CAN_CAN1_IRQ_PRIORITY 3
/*
+ * DAC driver system settings.
+ */
+#define STM32_DAC_DUAL_MODE FALSE
+#define STM32_DAC_USE_DAC1_CH1 TRUE
+#define STM32_DAC_USE_DAC1_CH2 TRUE
+#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
+#define STM32_DAC_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
+#define STM32_DAC_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
+
+/*
* EXT driver system settings.
*/
#define STM32_EXT_EXTI0_1_IRQ_PRIORITY 3