diff options
Diffstat (limited to 'testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h')
-rw-r--r-- | testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h b/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h index 2b3aa982e..f4d4f936b 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/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")
|