aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/STM32F37x/SDADC
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-05-17 10:29:08 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-05-17 10:29:08 +0000
commite83612c31548f3187d6289a06f823bbbb0225a2a (patch)
treee82ba68240d45e23a78d1084a1af9121899e8678 /testhal/STM32/STM32F37x/SDADC
parent9a61b30c8fb071ca5d5688ea3cd952a1cadb9c01 (diff)
downloadChibiOS-e83612c31548f3187d6289a06f823bbbb0225a2a.tar.gz
ChibiOS-e83612c31548f3187d6289a06f823bbbb0225a2a.tar.bz2
ChibiOS-e83612c31548f3187d6289a06f823bbbb0225a2a.zip
Updated mcuconf.h files with I2C no-DMA mode on affected platforms.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7986 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/STM32F37x/SDADC')
-rw-r--r--testhal/STM32/STM32F37x/SDADC/mcuconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F37x/SDADC/mcuconf.h b/testhal/STM32/STM32F37x/SDADC/mcuconf.h
index 2aab37104..a1ba4ca5b 100644
--- a/testhal/STM32/STM32F37x/SDADC/mcuconf.h
+++ b/testhal/STM32/STM32F37x/SDADC/mcuconf.h
@@ -133,6 +133,7 @@
#define STM32_I2C_BUSY_TIMEOUT 50
#define STM32_I2C_I2C1_IRQ_PRIORITY 10
#define STM32_I2C_I2C2_IRQ_PRIORITY 10
+#define STM32_I2C_USE_DMA TRUE
#define STM32_I2C_I2C1_DMA_PRIORITY 1
#define STM32_I2C_I2C2_DMA_PRIORITY 1
#define STM32_I2C_DMA_ERROR_HOOK(i2cp) osalSysHalt("DMA failure")