Porting WolfSSL for FreeRTOS v6.1.0

artemorlov wrote on Tuesday, May 29, 2018:

Hello,

I have a hardware that run FreeRTOS v6.1.0 and SDK for it with cygwin
toolchain and or32-elf-gcc-4.5.1 cross-compiler. I need to port my software
for this device. Unfortunately I need to use SSL sockets but FreeRTOS
v6.1.0 has no build-in SSL layer. There is no chance to upgrade FreeRTOS
version to 10.x.x or 9.x.x for this device.

Is it possible to download WolfSSL from official site and port it to FreeRTOS
v6.1.0 somehow? How can I use autoconf to configure WolfSSL sources for my
environment?


With respect,
Artem Orlov

rtel wrote on Wednesday, May 30, 2018:

Is it possible to download WolfSSL from official site and port it to
FreeRTOS v6.1.0 somehow?

Yes. Which FreeRTOS features of the existing FreeRTOS/WolfSSL
integration are not available in FreeRTOS V6.x?

How can I use autoconf to configure WolfSSL sources for my
environment?

No idea. Not even sure if it is possible. Suggest asking WolfSSL
themselves.

artemorlov wrote on Thursday, May 31, 2018:

Richard,
How can I build WolfSSL or OpenSSL or other library with FreeRTOS? Is there any manual or example?

rtel wrote on Thursday, May 31, 2018:

https://freertos.org/FreeRTOS-Plus/WolfSSL/WolfSSL.shtml

Wolf have their own examples, including some recent ones referenced from
a recent blog they created.

heinbali01 wrote on Thursday, May 31, 2018:

Wolf ported their library to FreeRTOS and also FreeRTOS+TCP. I added support for FreeRTOS+FAT, so you can store license files on a disk.
I also created the possibility to safely interrupt the WolfSSL read function, even from an ISR. That allows you to send data immediately.
I do not have the time to merge this port with the WolfSSL repo. But if you write to me I will send it. You find my email address when you click on my name