ATMEL SAM4E lws client issue ( mbedtls )- freertos + asf( lwip ported updated + lws ported + mbedtls ported)

Hi all.

I have arrived to run PPPoS (SYS_NO = 0 <=> OS FreeRTOS) via my LTE modem SARA-R412M using ATMEL SAM4E16E board.

LwIP “TCP/IP Stack” has been integrated based on PPPoS protocol as Link layer for our modem.

I have added mbedtls, lwip-2.2.0, freertos-10.3.0 used in my project to (ASF) /opt/xdk-asf-3.48.0/ in order to use by lws.

Then it works fine.
I have arrived to generate libwebsockets.a for ATMEL SAM4E.

[100%] Linking C static library libwebsockets.a
[100%] Built target websockets
said@said build %

I have just generated Atmel sam4e’s libwebsockets.a from libwebsockets project.
I have arrived to test my libwebsockets.a lib. I have some issues testing it as ws-client.
You can see this link for more about adding (mbedtls to lws and add lws to asf ): https://github.com/warmcat/libwebsockets/issues/2025

I have tried to use ws-client when i compile it i got an mbedTLS error:
./lws/include/libwebsockets.h:262:29: fatal error: mbedtls/lws_config.h: No such file or directory
262 | #define MBEDTLS_CONFIG_FILE <mbedtls/lws_config.h>

I need help to compile just a simple ws-client for atmel (sam4e), do you have an idea about the reason for this error ?

All the best
Said

Please forward your request to support@microchip.com
Regards
Shridhar

Thanks @Shridhar.
The request has been transferred to the cited address.
I hope i will get some response as soon as possible because ASF is outdate. In order to use it, i have updated it by FreeRTOS-10.3.O, LwIP-2.2.0(polarSSL-to->mbedTLS), also libwebsockets.a (mbedTLS) for ATMEL generated for specific SAM4E.

what i try for the moment is to use lws-client with atmel. It’s a libwebsockets header configuration error specific for atmel.
because libwebsockets does not used before for atmel product.
i see only some example for esp32.
Then i have contacted lws-team for freertos: fixes for build on atmel xdk

Please let me know if you don’t get a response in next few days