Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcp/tls client and server connection with FreeRTOS, lwIP #484

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yota22721
Copy link

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.

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

restore wifi.c

updated copyright year
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.

3 participants