I'm having trouble setting up the GPIO init structure to make some pins writeable.
So far I have imported the "empty" example project which ran fine. I added my pins to the GPIO_PinConfig gpioPinConfigs[] in EK_TM4C1294XL.c in the exact same format as USR_D1 and D2 (GPIOTiva_PN_1 and GPIOTiva_PN_0). When I try and call GPIO_write(GPIOTiva_PP_2, 1) it dies. This prints the following to console
FSR = 0x0000
HFSR = 0x40000000
DFSR = 0x0000000b
MMAR = 0xe000ed34
BFAR = 0xe000ed38
AFSR = 0x00000000
Terminating execution...
Is there something I'm missing? It's obviously something to do with initialising the outputs but what? I tried digging through the examples and the TI-RTOS manual but found nothing on GPIO initialisation really.
Thanks in advance