Skip to content

TCP/TLS client and server connection with FreeRTOS, lwIP#516

Merged
kojo1 merged 4 commits into
wolfSSL:masterfrom
yota22721:pico_w
Oct 28, 2025
Merged

TCP/TLS client and server connection with FreeRTOS, lwIP#516
kojo1 merged 4 commits into
wolfSSL:masterfrom
yota22721:pico_w

Conversation

@yota22721

Copy link
Copy Markdown
Contributor

Changed tcp/tls client socket connection to FreeRTOS, lwIP and added tcp/tls server.

  • tcpClient_main.c
  • tcpServer_main.c
  • tlsClient_main.c
  • tlsServer_main.c
  1. Download files

    $ git clone https://github.com/raspberrypi/pico-sdk

    $ git clone hhttps://github.com/FreeRTOS-kernel

    $ git clone https://github.com/wolfssl/wolfssl

  2. 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

  3. cmake and make

    $ cd wolfssl-examples/RPi-Pico

    $ cmake -DPICO_BOARD=pico_w -DWIFI_SSID=your-wifi-ssid

    • DWIFI_PASSWORD=your-wifi-password
    • DTEST_TCP_SERVER_IP=ip-addr
    • DUSE_WIFI=ON
    • DDATETIME=yymmddhhmmss .

    $ 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

@kojo1 kojo1 merged commit 123d562 into wolfSSL:master Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants