summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-11-24 15:51:07 +0000
committerDamien George <damien.p.george@gmail.com>2015-11-24 15:51:07 +0000
commit18820471ae1b8c3977ed453da2d8f1fcfabda963 (patch)
tree891662d62c40bc76ec0497b9f9bf095f208c1eb0
parent22bd23114af166980bad6ff00caaf97fdb1f2cf4 (diff)
stmhal/irq: Add comment about SDIO priority being higher than DMA.
-rw-r--r--stmhal/irq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/irq.h b/stmhal/irq.h
index 3c0f13d0a..1771d3675 100644
--- a/stmhal/irq.h
+++ b/stmhal/irq.h
@@ -69,6 +69,7 @@ MP_DECLARE_CONST_FUN_OBJ(pyb_enable_irq_obj);
#define IRQ_PRI_FLASH 1
#define IRQ_SUBPRI_FLASH 1
+// SDIO must be higher priority than DMA for SDIO DMA transfers to work.
#define IRQ_PRI_SDIO 4
#define IRQ_SUBPRI_SDIO 0