Hello : I loaded example to EK-TM4c1294XL, copied all references from .project then I started debug session and I obtained this error:
Can't find a source file at "C:/DriverLib/build/DriverLib.test/driverlib/sysctl.c"
Locate the file or edit the source lockup path to include its location.
I given bellow my program
CC Version: 5.4.0.00091
#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/sysctl.h"
#include "inc/hw_sysctl.h"
#include "driverlib/gpio.h"
//#include "Inc/tm4c129xnczad.h"
int main(void)
{
uint8_t ui8PinData=0x00;
SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_25MHZ|SYSCTL_OSC_MAIN);
//SYSCTL_RCGCGPIO_R = SYSCTL_RCGCGPIO_R12;
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPION);
GPIOPinTypeGPIOOutput(GPIO_PORTN_BASE, GPIO_PIN_0|GPIO_PIN_1);
ui8PinData = 23;
while(1)
{
GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_0|GPIO_PIN_1, ui8PinData);
SysCtlDelay(2000000);
GPIOPinWrite(GPIO_PORTN_BASE, GPIO_PIN_0|GPIO_PIN_1, 0x00);
SysCtlDelay(2000000);
if(ui8PinData==8) {ui8PinData=2;} else {ui8PinData=ui8PinData*2;}
}
//return 0;
}
I found in the form same problem's about Tiva C Series users but theirs no solution
Murali