diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-08 08:57:20 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-08 08:57:20 +0000 |
commit | 06fbce25c213481f8af9f0b4e0fcfaca503a537a (patch) | |
tree | fc6d768937854168b14b5b8ca9e71d8f1715951c /testhal/STM32/STM32F4xx/USB_CDC_IAD | |
parent | 8a1857be334d4eeb519b93395d7fc3196e847a16 (diff) | |
download | ChibiOS-06fbce25c213481f8af9f0b4e0fcfaca503a537a.tar.gz ChibiOS-06fbce25c213481f8af9f0b4e0fcfaca503a537a.tar.bz2 ChibiOS-06fbce25c213481f8af9f0b4e0fcfaca503a537a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8443 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F4xx/USB_CDC_IAD')
-rw-r--r-- | testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h index 1ca1d11d1..b27fb00f0 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/mcuconf.h @@ -171,6 +171,21 @@ #define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")
/*
+ * I2S driver system settings.
+ */
+#define STM32_I2S_USE_SPI2 FALSE
+#define STM32_I2S_USE_SPI3 FALSE
+#define STM32_I2S_SPI2_IRQ_PRIORITY 10
+#define STM32_I2S_SPI3_IRQ_PRIORITY 10
+#define STM32_I2S_SPI2_DMA_PRIORITY 1
+#define STM32_I2S_SPI3_DMA_PRIORITY 1
+#define STM32_I2S_SPI2_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 3)
+#define STM32_I2S_SPI2_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 4)
+#define STM32_I2S_SPI3_RX_DMA_STREAM STM32_DMA_STREAM_ID(1, 0)
+#define STM32_I2S_SPI3_TX_DMA_STREAM STM32_DMA_STREAM_ID(1, 7)
+#define STM32_I2S_DMA_ERROR_HOOK(i2sp) osalSysHalt("DMA failure")
+
+/*
* ICU driver system settings.
*/
#define STM32_ICU_USE_TIM1 FALSE
|