Hi,
I am using the eclipse along with the gnu arm plugin. And using Code Sourcery Lite Edition as arm compiler and Tiva Ware for driver libraries.
When I am compiling the code it is giving the following two errors:
a)make: *** [utils/fswrapper.o] Error 1
b)fatal error: httpserver_raw/fs.h: No such file or directory
But, when I use the Stellaris Ware instead of Tiva Ware it compiling the code, perfectly.
Also, It is working fine when I use the Code composer Studio where I am giving the path of the same Tiva Ware (which is giving error when used with above mentioned components of toolchain).
My test program is simple to toggle a LED.
#include <stdbool.h>
#include <stdint.h>
#include "inc/hw_memmap.h"
#include "inc/hw_types.h"
#include "driverlib/gpio.h"
#include "driverlib/sysctl.h"
int main(void)
{
/*Set the clocking to directly run from the crystal at 16MHz*/
SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ);
/* Set the clock for the GPIO Port F */
SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOF);
/* Set the type of the GPIO Pin */
GPIOPinTypeGPIOOutput(GPIO_PORTF_BASE, GPIO_PIN_1);
/* GPIO Pin 1 on PORT F initialized to 0 */
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1,0);
while(1)
{
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1,GPIO_PIN_1);
SysCtlDelay(SysCtlClockGet()/3);
GPIOPinWrite(GPIO_PORTF_BASE, GPIO_PIN_1,0);
SysCtlDelay(SysCtlClockGet()/3);
}
}