Hi,
I am using the gpiointerrupt example for freertos and I am just trying to display something in addition to toggle the LED, however during the callback function gpioButtonFxn0(), I always block at Display_open. The code is below. I haven't changed anything else in the example file (other than import). If someone can give me insight as to why this is happening, that would be great. Thank you.
/*
* ======== gpioButtonFxn0 ========
* Callback function for the GPIO interrupt on Board_GPIO_BUTTON0.
*/
void gpioButtonFxn0(uint_least8_t index)
{
/* Clear the GPIO interrupt and toggle an LED */
Display_init();
Display_Handle display = Display_open(Display_Type_UART, NULL);
Display_printf(display, 0, 0, "Starting the i2ctmp007 example\n");
GPIO_toggle(Board_GPIO_LED1);
}