diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-16 17:27:17 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-09-16 17:27:17 +0000 |
commit | 56072db27c590b38d7f2ba1b5b322c871bba7262 (patch) | |
tree | 05104915a50266ee29d6fbf4ba1d0e4e2afaf92d /testhal | |
parent | 18e72e023de58ad2ca5757157eab5fa93ca0977a (diff) | |
download | ChibiOS-56072db27c590b38d7f2ba1b5b322c871bba7262.tar.gz ChibiOS-56072db27c590b38d7f2ba1b5b322c871bba7262.tar.bz2 ChibiOS-56072db27c590b38d7f2ba1b5b322c871bba7262.zip |
DACv1 joins the club. More checks in ADCv3.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12268 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h index 8376b0103..9b88fd665 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32l4r5_nucleo144/mcuconf.h @@ -140,6 +140,15 @@ /*
* 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_CHANNEL 11
+#define STM32_DAC_DAC1_CH2_DMA_CHANNEL 12
/*
* GPT driver system settings.
|