aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F072-DISCOVERY
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 /demos/STM32/RT-STM32F072-DISCOVERY
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 'demos/STM32/RT-STM32F072-DISCOVERY')
-rw-r--r--demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h
index 897f8e7a9..ea247c7ab 100644
--- a/demos/STM32/RT-STM32F072-DISCOVERY/mcuconf.h
+++ b/demos/STM32/RT-STM32F072-DISCOVERY/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