This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error: missing inc/hw_onewire.h

Other Parts Discussed in Thread: EK-TM4C123GXL

Hello!

I'm a beginner at using TIVA C - EK-TM4C123GXL board. When I tried to compile a simple LED blink program(mentioned in one of the labs) it showed an error that inc/hw_onewire.h is missing. 

Here's the program:

#include <stdint.h>
#include <stdbool.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/sysctl.h"
#include "driverlib/gpio.h"
uint8_t ui8PinData=2;
int main(void)
{
SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN);
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3);
while(1)
{
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1| GPIO_PIN_2| GPIO_PIN_3, ui8PinData);
SysCtlDelay(2000000);
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1|GPIO_PIN_2|GPIO_PIN_3, 0x00);
SysCtlDelay(2000000);
if(ui8PinData==8)

{

ui8PinData=2;

}

else

{

ui8PinData=ui8PinData*2;

}
}
}

Is there any fix for this error? Or is there any alternate way in which I can compile my programs?

Your help would be really appreciated. :)

Thanks! :)

Chirag M. Shah