IvanZuy / freertos_c28x

FreeRTOS port for TI C2000's C28x based microcontrollers
MIT License
71 stars 32 forks source link

Don't disable all interrupts in critical section #2

Open IvanZuy opened 7 years ago

IvanZuy commented 7 years ago

Entering into critical section shouldn't disable all interrupts globally. Instead, user should be able to configure which interrupt groups are under RTOS control and only these groups should be disabled. Something similar is implemented for other ports by configMAX_SYSCALL_INTERRUPT_PRIORITY.