TCP/TLS client and server connection with FreeRTOS, lwIP #516
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed tcp/tls client socket connection to FreeRTOS, lwIP and added tcp/tls server.
Download files
$ git clone https://github.com/raspberrypi/pico-sdk
$ git clone hhttps://github.com/FreeRTOS-kernel
$ git clone https://github.com/wolfssl/wolfssl
Define path
$ export PICO_SDK_PATH=/your/pico-sdk/path
$ export FREERTOS_KERNEL_PATH=/your/FreeRTOS-kernel/path
$ export WOLFSSL_ROOT=/your/wolfssl-root/path
cmake and make
$ cd wolfssl-examples/RPi-Pico
$ cmake -DPICO_BOARD=pico_w -DWIFI_SSID=your-wifi-ssid
$ make
DATETIME is for certificate validity check. Not need to be very acurrate.
Target files
testwolfcrypt.uf2, benchmark.uf2, Wifi.uf2, tcp_Client.uf2, tls_Client.uf2, tcp_Server.uf2, tls_Server.uf2
Console output is to USB serial