diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-23 09:44:36 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-23 09:44:36 +0000 |
commit | 4a63f14ecb4bcc4bfc0c0a25c4e1455e599144a4 (patch) | |
tree | d644879326c7152de5fce9a4c28455fc203c0a49 /testhal/STM32F4xx/EXT | |
parent | 19745e5d5857dad5ed80ad3465434a9cfc5f5b65 (diff) | |
download | ChibiOS-4a63f14ecb4bcc4bfc0c0a25c4e1455e599144a4.tar.gz ChibiOS-4a63f14ecb4bcc4bfc0c0a25c4e1455e599144a4.tar.bz2 ChibiOS-4a63f14ecb4bcc4bfc0c0a25c4e1455e599144a4.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6211 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/EXT')
-rw-r--r-- | testhal/STM32F4xx/EXT/mcuconf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testhal/STM32F4xx/EXT/mcuconf.h b/testhal/STM32F4xx/EXT/mcuconf.h index 172f90b30..d5c5e8334 100644 --- a/testhal/STM32F4xx/EXT/mcuconf.h +++ b/testhal/STM32F4xx/EXT/mcuconf.h @@ -151,9 +151,9 @@ #define STM32_I2C_I2C1_DMA_PRIORITY 3
#define STM32_I2C_I2C2_DMA_PRIORITY 3
#define STM32_I2C_I2C3_DMA_PRIORITY 3
-#define STM32_I2C_I2C1_DMA_ERROR_HOOK() chSysHalt()
-#define STM32_I2C_I2C2_DMA_ERROR_HOOK() chSysHalt()
-#define STM32_I2C_I2C3_DMA_ERROR_HOOK() chSysHalt()
+#define STM32_I2C_I2C1_DMA_ERROR_HOOK() osalSysHalt("DMA failure")
+#define STM32_I2C_I2C2_DMA_ERROR_HOOK() osalSysHalt("DMA failure")
+#define STM32_I2C_I2C3_DMA_ERROR_HOOK() osalSysHalt("DMA failure")
/*
* ICU driver system settings.
@@ -237,7 +237,7 @@ #define STM32_SPI_SPI1_IRQ_PRIORITY 10
#define STM32_SPI_SPI2_IRQ_PRIORITY 10
#define STM32_SPI_SPI3_IRQ_PRIORITY 10
-#define STM32_SPI_DMA_ERROR_HOOK(spip) chSysHalt()
+#define STM32_SPI_DMA_ERROR_HOOK(spip) osalSysHalt("DMA failure")
/*
* UART driver system settings.
@@ -262,7 +262,7 @@ #define STM32_UART_USART2_DMA_PRIORITY 0
#define STM32_UART_USART3_DMA_PRIORITY 0
#define STM32_UART_USART6_DMA_PRIORITY 0
-#define STM32_UART_DMA_ERROR_HOOK(uartp) chSysHalt()
+#define STM32_UART_DMA_ERROR_HOOK(uartp) osalSysHalt("DMA failure")
/*
* USB driver system settings.
|