Bill Greiman
Well-known member
I am trying to get FreeRTOS 8.0.1 running on Teensy 3.x and Due.
It appears that attachInterrupt is set to priority 128 for Teensy3. Is this true?
Are any other hardware interrupts set to a numerical value less than 128 (higher priority since zero is the "highest" priority in Cortex M).
On Due the attachInterrupt priority appears to be zero. If true, this seems like an unfortunate choice since zero is the "highest" priority.
All PIO priorities are set like this in WInterrupts.c for Due.
FreeRTOS 8.0.1 forbids all calls from an ISR at numerical priority zero so I need to decide how to handle Due.
It appears that attachInterrupt is set to priority 128 for Teensy3. Is this true?
Are any other hardware interrupts set to a numerical value less than 128 (higher priority since zero is the "highest" priority in Cortex M).
On Due the attachInterrupt priority appears to be zero. If true, this seems like an unfortunate choice since zero is the "highest" priority.
All PIO priorities are set like this in WInterrupts.c for Due.
Code:
NVIC_SetPriority(PIOA_IRQn, 0);
FreeRTOS 8.0.1 forbids all calls from an ISR at numerical priority zero so I need to decide how to handle Due.