I have noticed in some example codes there seem to be some unnecessary calls to SysCtlPeripheralEnable(). For example:
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA); SysCtlPeripheralEnable(SYSCTL_PERIPH_UART0);
Is it necessary to call both?
I seem to have mixed results when commenting the first line out. Doesn't the UART0 enable line catch everything needed for UART0 to work, or does GPIOA need to be called as well since UART0 uses those pins?