We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ec5174 commit f65d7d0Copy full SHA for f65d7d0
hw/bsp/imxrt/family.c
@@ -50,8 +50,10 @@ void board_init(void)
50
// 1ms tick timer
51
SysTick_Config(SystemCoreClock / 1000);
52
#elif CFG_TUSB_OS == OPT_OS_FREERTOS
53
- // If freeRTOS is used, IRQ priority is limit by max syscall ( smaller is higher )
54
-// NVIC_SetPriority(USB0_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
+ NVIC_SetPriority(USB_OTG1_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
+#ifdef USB_OTG2_IRQn
55
+ NVIC_SetPriority(USB_OTG2_IRQn, configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY );
56
+#endif
57
#endif
58
59
// LED
0 commit comments