You are not logged in. Please login or register.
Active topics Unanswered topics
Welcome to the wolfSSL Forums!
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.
References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.
Search options
now I get this Error, the SOCKET is not defined, do I missing some file? I not using windows socket, I am running on FreeRTOS, please which socket related file need to be included
SOCKET xClientSocket;
===================
Building file: ../src/SecureTCPClientTask.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__MULTICORE_NONE -D__NEWLIB__ -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -DNO_BOARD_LIB -DCPP_USE_HEAP -D__LPC43XX__ -I"C:\nxp\workspace\wolfssl_test1\inc" -I"C:\nxp\workspace\lpc_chip_43xx\inc" -I"C:\nxp\workspace\lpc_chip_43xx\inc\usbd" -I"C:\nxp\workspace\wolfssl_test1\FreeRTOS-Plus\Source\WolfSSL" -I"C:\nxp\workspace\wolfssl_test1\FreeRTOS\Source\include" -I"C:\nxp\workspace\lpc_board_nxp_lpcxpresso_4337\inc" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -MMD -MP -MF"src/SecureTCPClientTask.d" -MT"src/SecureTCPClientTask.o" -MT"src/SecureTCPClientTask.d" -o "src/SecureTCPClientTask.o" "../src/SecureTCPClientTask.c"
../src/SecureTCPClientTask.c: In function 'vSecureTCPClientTask':
../src/SecureTCPClientTask.c:96:1: error: unknown type name 'SOCKET'
SOCKET xClientSocket;
Where can I get FreeRTOSConfig.h for LPC43S67? Here is error I have got right now
=====================================================
C:\nxp\workspace\wolfssl_test1\FreeRTOS\Source\include/FreeRTOS.h:98:28: fatal error: FreeRTOSConfig.h: No such file or directory
compilation terminated.
make: *** [src/SecureTCPClientTask.o] Error 1
my goal is to get an example of wolfSSL running in NXP LPCXpresso, I have NXP LPC43xx device,
what is the step to porting the wolfSSL example? any configure file need change?
I have downloaded the "FreeRTOS_Plus_WolfSSL_Windows_Simulator", when I compile in LPCxpresso, I keep getting all kinds of errors.
========================================
arm-none-eabi-gcc -D__MULTICORE_NONE -D__NEWLIB__ -DDEBUG -D__CODE_RED -DCORE_M4 -D__USE_LPCOPEN -DNO_BOARD_LIB -DCPP_USE_HEAP -D__LPC43XX__ -I"C:\nxp\workspace\wolfssl_test1\inc" -I"C:\nxp\workspace\lpc_chip_43xx\inc" -I"C:\nxp\workspace\lpc_chip_43xx\inc\usbd" -I"C:\nxp\workspace\wolfssl_test1\FreeRTOS-Plus\Source\WolfSSL" -O0 -fno-common -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -fsingle-precision-constant -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -MMD -MP -MF"src/SecureTCPClientTask.d" -MT"src/SecureTCPClientTask.o" -MT"src/SecureTCPClientTask.d" -o "src/SecureTCPClientTask.o" "../src/SecureTCPClientTask.c"
In file included from ../src/SecureTCPClientTask.c:76:0:
../src/wolfssl/ssl.h:931:33: fatal error: sys/uio.h: No such file or directory
compilation terminated.
2 and I have tried to copy the file one by one to LPCxpresso enviroment, but I cannot find
WInSock2.h and sys/uio.h
===================
fatal error: WinSock2.h: No such file or directory
wolfssl/ssl.h:931:33: fatal error: sys/uio.h: No such file or directory
compilation terminated.
Posts found: 3
Generated in 0.016 seconds (96% PHP - 4% DB) with 4 queries