Shouldn’t inhibit interrupts in interrupt-handling PO
Supports writing Ada software for Cortex-M3, M4F boards
Status: Alpha
Brought to you by:
simonjwright
System.Tasking.Protected_Objects.Lock says
if FreeRTOS.Tasks.In_ISR then
null;
elsif Object.Ceiling in System.Interrupt_Priority then
FreeRTOS.Tasks.Disable_Interrupts;
else
but the correct call to prevent interactions with interrupts would be FreeRTOS.Tasks.Enter_Critical_Region. This raises BASEPRI to configMAX_SYSCALL_INTERRUPT_PRIORITY and locks out all FreeRTOS functionality, while allowing interrupts at higher (numerically lower on Cortex) priority to proceed.
Fixed in [a8d301].
Related
Commit: [a8d301]