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/STM32F37x/ADC/mcuconf.h | 1 + testhal/STM32/STM32F37x/CAN/mcuconf.h | 1 + testhal/STM32/STM32F37x/EXT/mcuconf.h | 1 + testhal/STM32/STM32F37x/I2C/mcuconf.h | 1 + testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h | 1 + testhal/STM32/STM32F37x/PWM-ICU/mcuconf.h | 1 + testhal/STM32/STM32F37x/SDADC/mcuconf.h | 1 + testhal/STM32/STM32F37x/SPI/mcuconf.h | 1 + testhal/STM32/STM32F37x/UART/mcuconf.h | 1 + testhal/STM32/STM32F37x/USB_CDC/mcuconf.h | 1 + 10 files changed, 10 insertions(+) (limited to 'testhal/STM32/STM32F37x') diff --git a/testhal/STM32/STM32F37x/ADC/mcuconf.h b/testhal/STM32/STM32F37x/ADC/mcuconf.h index 6b7ab783b..9fe1c0772 100644 --- a/testhal/STM32/STM32F37x/ADC/mcuconf.h +++ b/testhal/STM32/STM32F37x/ADC/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") diff --git a/testhal/STM32/STM32F37x/CAN/mcuconf.h b/testhal/STM32/STM32F37x/CAN/mcuconf.h index e1ff110cd..4f0f1fb3b 100644 --- a/testhal/STM32/STM32F37x/CAN/mcuconf.h +++ b/testhal/STM32/STM32F37x/CAN/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") diff --git a/testhal/STM32/STM32F37x/EXT/mcuconf.h b/testhal/STM32/STM32F37x/EXT/mcuconf.h index e1ff110cd..4f0f1fb3b 100644 --- a/testhal/STM32/STM32F37x/EXT/mcuconf.h +++ b/testhal/STM32/STM32F37x/EXT/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") diff --git a/testhal/STM32/STM32F37x/I2C/mcuconf.h b/testhal/STM32/STM32F37x/I2C/mcuconf.h index 8dc120ca3..61a134821 100644 --- a/testhal/STM32/STM32F37x/I2C/mcuconf.h +++ b/testhal/STM32/STM32F37x/I2C/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") diff --git a/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h index 9cdb68d23..ff12ca2bb 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/mcuconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/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") 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") 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") diff --git a/testhal/STM32/STM32F37x/SPI/mcuconf.h b/testhal/STM32/STM32F37x/SPI/mcuconf.h index 5c39bd13c..773ca3ff2 100644 --- a/testhal/STM32/STM32F37x/SPI/mcuconf.h +++ b/testhal/STM32/STM32F37x/SPI/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") diff --git a/testhal/STM32/STM32F37x/UART/mcuconf.h b/testhal/STM32/STM32F37x/UART/mcuconf.h index 15fc5e3fe..d45d8181e 100644 --- a/testhal/STM32/STM32F37x/UART/mcuconf.h +++ b/testhal/STM32/STM32F37x/UART/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") diff --git a/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h b/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h index 9b67e0eb6..b3ea6f6c4 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/mcuconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/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") -- cgit v1.2.3