STM32 FreeRTOS vPortValidateInterruptPriority assert crash
Have twin STM32H7B3I Eval systems.
Had I2C between the two working perfectly, using HAL_I2C_***_IT functions, callback on transmit or receive complete calling osEventFlagsSet to notify waiting thread that transmit or receive is complete, no problem.
Also had ADC generating half complete and full complete callbacks, also calling osEventFlagsSet, no problem.
Now have SPI connection between two systems, and suddenly, erratically, have vPortValidateInterruptPriority asserting ucCurrentPriority has a problem with ucMaxSysCallPriority.
Call stack says TouchGFX signalVSync call to osMessageQueuePut is the problem.
This problem was happening at company lab, then went away, then brought systems to home office, and problem has recurred.
What might explain this bizarre behavior?
Edit: edited FreeRTOS file port.c function vPortValidateInterruptPriority to simply return and not check interrupt "validity" and EVAL seems to be running just fine.
Would still like to know what this function is doing.
