aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/SPC563Mxx/SPI/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/SPC563Mxx/SPI/mcuconf.h')
-rw-r--r--testhal/SPC563Mxx/SPI/mcuconf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/testhal/SPC563Mxx/SPI/mcuconf.h b/testhal/SPC563Mxx/SPI/mcuconf.h
index 784a14d47..a7f5046e3 100644
--- a/testhal/SPC563Mxx/SPI/mcuconf.h
+++ b/testhal/SPC563Mxx/SPI/mcuconf.h
@@ -90,3 +90,4 @@
#define SPC5_SPI_DSPI2_DMA_PRIO 10
#define SPC5_SPI_DSPI1_DMA_IRQ_PRIO 10
#define SPC5_SPI_DSPI2_DMA_IRQ_PRIO 10
+#define SPC5_SPI_DMA_ERROR_HOOK(spip) chSysHalt()