aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARMCM3-STM32F100-DISCOVERY
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-22 09:45:47 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-22 09:45:47 +0000
commitb3ab17b27821114133e2ef8ffa46edb7a5a74097 (patch)
tree6e69cd8f15555b870c557d27c56489b929d4099d /demos/ARMCM3-STM32F100-DISCOVERY
parent6d58148a5270e9b0e64af4273c07fff11fb83b02 (diff)
downloadChibiOS-b3ab17b27821114133e2ef8ffa46edb7a5a74097.tar.gz
ChibiOS-b3ab17b27821114133e2ef8ffa46edb7a5a74097.tar.bz2
ChibiOS-b3ab17b27821114133e2ef8ffa46edb7a5a74097.zip
Reordered STM32 drivers default DMA priorities.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2994 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F100-DISCOVERY')
-rw-r--r--demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h b/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
index 5b3a5c785..0461fd201 100644
--- a/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
+++ b/demos/ARMCM3-STM32F100-DISCOVERY/mcuconf.h
@@ -49,7 +49,7 @@
* ADC driver system settings.
*/
#define STM32_ADC_USE_ADC1 TRUE
-#define STM32_ADC_ADC1_DMA_PRIORITY 3
+#define STM32_ADC_ADC1_DMA_PRIORITY 2
#define STM32_ADC_ADC1_IRQ_PRIORITY 5
#define STM32_ADC_DMA_ERROR_HOOK(adcp) chSysHalt()
@@ -122,9 +122,9 @@
#define STM32_SPI_USE_SPI1 TRUE
#define STM32_SPI_USE_SPI2 TRUE
#define STM32_SPI_USE_SPI3 FALSE
-#define STM32_SPI_SPI1_DMA_PRIORITY 2
-#define STM32_SPI_SPI2_DMA_PRIORITY 2
-#define STM32_SPI_SPI3_DMA_PRIORITY 2
+#define STM32_SPI_SPI1_DMA_PRIORITY 1
+#define STM32_SPI_SPI2_DMA_PRIORITY 1
+#define STM32_SPI_SPI3_DMA_PRIORITY 1
#define STM32_SPI_SPI1_IRQ_PRIORITY 10
#define STM32_SPI_SPI2_IRQ_PRIORITY 10
#define STM32_SPI_SPI3_IRQ_PRIORITY 10