File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ MP_DECLARE_CONST_FUN_OBJ(pyb_enable_irq_obj);
6767// Flash IRQ must be higher priority than interrupts of all those components
6868// that rely on the flash storage.
6969#define IRQ_PRI_FLASH 1
70- #define IRQ_SUBPRI_FLASH 1
70+ #define IRQ_SUBPRI_FLASH 0
7171
7272// SDIO must be higher priority than DMA for SDIO DMA transfers to work.
7373#define IRQ_PRI_SDIO 4
@@ -94,21 +94,21 @@ MP_DECLARE_CONST_FUN_OBJ(pyb_enable_irq_obj);
9494#define IRQ_SUBPRI_CAN 0
9595
9696#define IRQ_PRI_UART 13
97- #define IRQ_SUBPRI_UART 13
97+ #define IRQ_SUBPRI_UART 0
9898
9999// Interrupt priority for non-special timers.
100100#define IRQ_PRI_TIMX 14
101- #define IRQ_SUBPRI_TIMX 14
101+ #define IRQ_SUBPRI_TIMX 0
102102
103103#define IRQ_PRI_EXTINT 15
104- #define IRQ_SUBPRI_EXTINT 15
104+ #define IRQ_SUBPRI_EXTINT 0
105105
106106// PENDSV should be at the lowst priority so that other interrupts complete
107107// before exception is raised.
108108#define IRQ_PRI_PENDSV 15
109- #define IRQ_SUBPRI_PENDSV 15
109+ #define IRQ_SUBPRI_PENDSV 0
110110
111111#define IRQ_PRI_RTC_WKUP 15
112- #define IRQ_SUBPRI_RTC_WKUP 15
112+ #define IRQ_SUBPRI_RTC_WKUP 0
113113
114114
You can’t perform that action at this time.
0 commit comments