When tried to integrate Segger to with FreeRTOS on STM32 getting hit on the
configASSERT( ( portAIRCR_REG & portPRIORITY_GROUP_MASK ) <= ulMaxPRIGROUPValue );
Based on the resource I was refering tried to call vInitPrioGroupValue() from the HAL_MspInit() function inside “stm32f4xx_hal_msp.c” file and also included “FreeRTOS.h” header file in “stm32f4xx_hal_msp.c” file.
When compile vInitPrioGroupValue() is not defined error is showing.
Thanks for your feedback. I am using latest version of FreeRTOS(v202112.00) and Segger also it’s current release (v332).
The comment section above the assert statement saying to do the NVIC_SetPriorityGrouping( 0 ); and it works. Issue is when I debug the program with segger System Viewer the call to SySTickTimer interrupt is not happening.
More over the call to vInitPrioGroupValue() is throwing the error Not defined function. Included the proper header file also. Is the vInitPrioGroupValue() function have new name or alternative in latest version of the FreeRTOS. The resource I was refering uses FreeRTOSv202012.00, While I am using the latest version from the FreeRTOS website.
Hope you could help me with the vInitPrioGroupValue() function. For my application the Systick Timer interrupt should occur and should be visible while debugging with Segger System Viewer.