I hope this is the right place to post this. I am looking at the Kenetis SDK demo project for FreeRTOS using the SPI
FreeRTOSConfig.h includes these defines
#define configLIBRARY_LOWEST_INTERRUPT_PRIORITY 0xf
#define configLIBRARY_MAX_SYSCALL_INTERRUPT_PRIORITY 5
Yet the code sets the interrupt priority to 2 for my processors SPI interrupt.
#if (__CORTEX_M >= 0x03)
#define SPI_NVIC_PRIO 6
#else
#define SPI_NVIC_PRIO 2
#endif
This seems to be incorrect according to everything I read. But I am hesitant to change my code from your example. Can you explain this?
Thanks