aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32/sdc_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:25:22 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:25:22 +0000
commit30400ff28785c156264fb97069b127e8dbfb7491 (patch)
tree89773e26590764fd1a5639f4e6ed9593d93c7b67 /os/hal/platforms/STM32/sdc_lld.h
parent02ee640478eff8c8a5091e6315d06b0e2ce0d188 (diff)
downloadChibiOS-30400ff28785c156264fb97069b127e8dbfb7491.tar.gz
ChibiOS-30400ff28785c156264fb97069b127e8dbfb7491.tar.bz2
ChibiOS-30400ff28785c156264fb97069b127e8dbfb7491.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4342 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32/sdc_lld.h')
-rw-r--r--os/hal/platforms/STM32/sdc_lld.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32/sdc_lld.h b/os/hal/platforms/STM32/sdc_lld.h
index 7511bf581..79eac638a 100644
--- a/os/hal/platforms/STM32/sdc_lld.h
+++ b/os/hal/platforms/STM32/sdc_lld.h
@@ -121,6 +121,14 @@
#error "SDIO not present in the selected device"
#endif
+#if !CORTEX_IS_VALID_KERNEL_PRIORITY(STM32_SDC_SDIO_IRQ_PRIORITY)
+#error "Invalid IRQ priority assigned to SDIO"
+#endif
+
+#if !STM32_DMA_IS_VALID_PRIORITY(STM32_SDC_SDIO_DMA_PRIORITY)
+#error "Invalid DMA priority assigned to SDIO"
+#endif
+
#if !defined(STM32_DMA_REQUIRED)
#define STM32_DMA_REQUIRED
#endif