Configuring Hardware Interrupt Priorities When Using RT-Thread and Other RTOS
When configuring peripheral interrupt priorities under RT-Thread (including Nano), the core idea is: First, let the RTOS layer take over the NVIC (set grouping and maximum preemption level); Then, let the driver layer assign specific priorities to peripherals in a “high to low” manner; All ISRs must call <span>rt_interrupt_enter/leave</span> to inform the kernel; High real-time … Read more