This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

FreeRTOS configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY

I have a question about Nordic's implementation of FreeRTOS. In the FreeRTOSConfig.h the following is defined as:

   /* The highest interrupt priority that can be used by any interrupt service
routine that makes calls to interrupt safe FreeRTOS API functions.  DO NOT CALL
INTERRUPT SAFE FREERTOS API FUNCTIONS FROM ANY INTERRUPT THAT HAS A HIGHER
PRIORITY THAN THIS! (higher priorities are lower numeric values. */
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY    1

The S132 SoftDevice Specification V2.0 Interrupt Model and processor availability indicate that interrupt priority 1 is reserved for SoftDevice memory protection.

Given that configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY will set the Cortex base priority to 1 should this interrupt be masked during critical section calls?

Parents Reply Children
Related