mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-11-16 15:29:25 +01:00
fix(websocket): Update linux build docs on required libs
ESP-IDF linux target expects libbsd headers Updated instructions for compiling the example on Linux to include the correct path for the executable.
This commit is contained in:
committed by
David Cermak
parent
732cd29ec0
commit
e52a5757f1
@@ -6,10 +6,15 @@ This example demonstrates the ESP websocket client using the `linux` target. It
|
|||||||
|
|
||||||
To compile and execute this example on Linux need to set target `linux`
|
To compile and execute this example on Linux need to set target `linux`
|
||||||
|
|
||||||
|
* Debian/Ubuntu: `sudo apt-get install -y libbsd-dev`
|
||||||
|
* Fedora/RHEL: `sudo dnf install libbsd-devel`
|
||||||
|
* Arch: `sudo pacman -S libbsd`
|
||||||
|
* Alpine: `sudo apk add libbsd-dev`
|
||||||
|
|
||||||
```
|
```
|
||||||
idf.py --preview set-target linux
|
idf.py --preview set-target linux
|
||||||
idf.py build
|
idf.py build
|
||||||
./websocket.elf
|
./build/websocket.elf
|
||||||
```
|
```
|
||||||
|
|
||||||
## Example Output
|
## Example Output
|
||||||
|
|||||||
Reference in New Issue
Block a user