From 18820471ae1b8c3977ed453da2d8f1fcfabda963 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 24 Nov 2015 15:51:07 +0000 Subject: [PATCH] stmhal/irq: Add comment about SDIO priority being higher than DMA. --- stmhal/irq.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stmhal/irq.h b/stmhal/irq.h index 3c0f13d0a7..1771d3675f 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