diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-03 13:12:45 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-05-03 13:12:45 +0000 |
commit | 8ce0e9f75d38b985c4293649b6712046c40fb5b9 (patch) | |
tree | 8b0219af458e8d0122ba58f2532a77f9ab5aa5be /demos/STM32/RT-STM32F407-DISCOVERY | |
parent | f713242debeb447884d17657c0e26751dc1d84e8 (diff) | |
download | ChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.tar.gz ChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.tar.bz2 ChibiOS-8ce0e9f75d38b985c4293649b6712046c40fb5b9.zip |
Updated mcuconf.h files for STM32F4xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7948 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F407-DISCOVERY')
-rw-r--r-- | demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h index 21e8e1931..f792eb4b9 100644 --- a/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h +++ b/demos/STM32/RT-STM32F407-DISCOVERY/mcuconf.h @@ -91,6 +91,19 @@ #define STM32_CAN_CAN2_IRQ_PRIORITY 11
/*
+ * 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
+#define STM32_DAC_DAC1_CH1_DMA_STREAM STM32_DMA_STREAM_ID(1, 5)
+#define STM32_DAC_DAC1_CH2_DMA_STREAM STM32_DMA_STREAM_ID(1, 6)
+
+/*
* EXT driver system settings.
*/
#define STM32_EXT_EXTI0_IRQ_PRIORITY 6
|