Missing configuration KERNEL_INTERRUPT_PRIORITY for Cortex M23 and M33 ports?

Hi together,

the available priority levels are implementation specific, but in the ports of the Cortex M23 and M33 the splitting of the group is “hard-splitted” based on the define portMIN_INTERRUPT_PRIORITY.

Is this really how it should be?

For example the STM32U5, defines __NVIC_PRIO_BITS with 4, so my expectation is to configure this in the FreeRTOSConfig.h like for a M3 or M4 device via configKERNEL_INTERRUPT_PRIORITY / configMAX_SYSCALL_INTERRUPT_PRIORITY.

Thanks in advance!

Looks like configKERNEL_INTERRUPT_PRIORITY is no longer needed in the M23/M33. Instead, these ports simply use the minimum interrupt priority (which is required anyway). And thanks to the Cortex-M architecture, the value 0xFF can be written to select the lowest interrupt priority, regardless of how many priority bits are implemented.

Ok I got it, thanks for the clarification! :smiley: :+1: