From e83612c31548f3187d6289a06f823bbbb0225a2a Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 17 May 2015 10:29:08 +0000 Subject: 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 --- testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h') diff --git a/testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h index 37d732b02..c3fd01f36 100644 --- a/testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F30x/PWM-ICU/mcuconf.h @@ -132,6 +132,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") -- cgit v1.2.3