Hello,
I am working with MSP430F5529LP and CC3100BOOST and trying to compile code for http client example (http://processors.wiki.ti.com/index.php/CC31xx_HTTP_Client, ) in IAR 6.30.1 (30-day time-limeited) and I am getting an error:
Fatal Error[Pe035]: #error directive: No or unrecognized network configuration specified
This error is in network.h
I can't find some of include files - arpa/inet.h , netinet/in.h , netdb.h ...
/* * Copyright (c) 2014, Texas Instruments Incorporated * All rights reserved. ... */ #ifndef _TI_NET_NETWORK_H_ #define _TI_NET_NETWORK_H_ #ifdef __linux__ #include <sys/types.h> #include <sys/socket.h> #include <sys/time.h> #include <arpa/inet.h> #include <unistd.h> #include <netdb.h> #include <arpa/inet.h> #include <netinet/in.h> #elif defined(__SL__) /* __linux__ */ #include <simplelink.h> #ifndef __ssize_t_defined #define __ssize_t_defined typedef long int ssize_t; #endif /* __ssize_t_defined */ #elif defined (__SLP__) #include <socket.h> #ifndef __ssize_t_defined #define __ssize_t_defined typedef long int ssize_t; #endif /* __ssize_t_defined */ #elif defined(__NDK__) /* __linux__ */ #include <stdint.h> #include <sys/socket.h> #include <netdb.h> #include <arpa/inet.h> #include <netinet/in.h> #define INET6_ADDRSTRLEN 46 #else /* __linux__ */ #error No or unrecognized network configuration specified #endif /* __linux__ */ #if defined(__CYASSL__) && (defined (__linux__) || defined (__NDK__)) #include <cyassl/ssl.h> #endif /* __CYASSL__ */ #endif /* _TI_NET_NETWORK_H_ */
Could someone help me with this?