kindring 67da75dea5 初次提交 преди 1 месец
..
netinet 67da75dea5 初次提交 преди 1 месец
.gitignore 67da75dea5 初次提交 преди 1 месец
CMakeLists.txt 67da75dea5 初次提交 преди 1 месец
FreeRTOSConfig.h 67da75dea5 初次提交 преди 1 месец
FreeRTOS_Kernel_import.cmake 67da75dea5 初次提交 преди 1 месец
README.md 67da75dea5 初次提交 преди 1 месец
config.h 67da75dea5 初次提交 преди 1 месец
lwipopts.h 67da75dea5 初次提交 преди 1 месец
main.c 67da75dea5 初次提交 преди 1 месец
mbedtls_config.h 67da75dea5 初次提交 преди 1 месец

README.md

RP2040 PICO W

Establish a DataChannel connection between PICO and the web

Supported Devices

Device Image
PICO W

Setup Instructions

Download Required Libraries

$ git clone --recursive https://github.com/sepfy/libpeer
$ git clone --recurisve https://github.com/raspberrypi/pico-sdk
$ git clone --recursive https://github.com/FreeRTOS/FreeRTOS-Kernel

Apply a patch

Modify libpeer/third_party/libsrtp/include/srtp.h

@@ -614,7 +614,7 @@ srtp_err_status_t srtp_add_stream(srtp_t session, const srtp_policy_t *policy);
  *    - [other]           otherwise.
  *
  */
-srtp_err_status_t srtp_remove_stream(srtp_t session, unsigned int ssrc);
+srtp_err_status_t srtp_remove_stream(srtp_t session, uint32_t ssrc);

 /**
  * @brief srtp_update() updates all streams in the session.

Configure Your Build

$ export PICO_SDK_PATH=<your PICO SDK path>/pico-sdk
$ export FREERTOS_KERNEL_PATH=<your FreeRTOS kernel path>/FreeRTOS-Kernel
$ export WIFI_SSID=<your WIFI SSID>
$ export WIFI_PASSWORD=<your WIFI password>

Build the Project

$ cd libpeer/examples/pico
$ mkdir build
$ cd build
$ cmake ..

Flash and Test

$ sudo picotool load -f pico_peer.uf2