Hi,
I have been using LAUNCHXL-CC3235SF for a simple communication over wifi (small project in work).
I am facing certain errors while building it.
#include <stdint.h>
#include <stdbool.h>
#include <hw_types.h>
#include <rom_map.h>
#include <pin.h>
#include <prcm.h>
#include <sl_socket.h>
#include <ti\drivers\net\wifi\simplelink.h>
#include <slnetsock.h>
/**
* main.c
*/
#define SL_SEC_SOCKET_SECURE_SSL 1
int main(void)
{
SlNetSock_AddrIn_t serverAddr;
int16_t serverSocket;
int16_t status;
// Initialize Wi-Fi and connect to network
// Create socket
serverSocket = sl_Socket(SL_AF_INET, SL_SOCK_STREAM, SL_SEC_SOCKET_SECURE_SSL);
// if (serverSocket < 0) {
// // Handle error
// }
// _i16 Status;
// _i16 Sd;
// SlSockAddrIn_t Addr;
// _i8 SendBuf[] = "Hello World !!!";
// _i8 RecvBuf[1460];
// Addr.sin_family = SL_AF_INET;
// Addr.sin_port = sl_Htons(5001);
// Addr.sin_addr.s_addr = sl_Htonl(SL_IPV4_VAL(192,168,1,31));
// Sd = sl_Socket(SL_AF_INET, SL_SOCK_STREAM, 0);
}
Erorrs:
unresolved symbol clock_gettime, first referenced in C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/drivers/net/wifi/ticlang/rtos/simplelink.a<cc_pal.obj>
unresolved symbol ClockP_getSystemTickPeriod, first referenced in C:/ti/simplelink_cc32xx_sdk_7_10_00_13/source/ti/drivers/net/wifi/ticlang/rtos/simplelink.a<sl_socket.obj>
..
35 error of that kind.
Can you help ?
Thank you.
P.S
demos from simplelink SDK does not work also.