I am using a TM4C1294XL development board and TI-RTOS tirtos_tivac_2_14_00_10 and XDC xdctools_3_31_02_38_core. I used the TI Uart Console example and added a function and initiated it with the following.
GPIO_setCallback(Board_PP4, gpioSpeedFxn0);
GPIO_clearInt(Board_PP4);
GPIO_enableInt(Board_PP4);
I made changes to Board.h,EK_TM4C1294XL.c and EK_TM4C1294XL.h.
The interrupt works great but when I put a printf in the FXN I get the following error:
{module#37}: line 99: assertion failure: A_badContext: bad calling context. See
GateMutex API doc for details.
xdc.runtime.Error.raise: terminating execution
printf works in the console FXN.
I have read many solutions to this problem but none make much sense.