Skip to content

Commit 1ceb42c

Browse files
authored
Merge pull request #928 from david-cermak/fix/websocket_linux_docs
fix(websocket): Update linux build docs on required libs
2 parents 732cd29 + e52a575 commit 1ceb42c

File tree

1 file changed

+6
-1
lines changed
  • components/esp_websocket_client/examples/linux

1 file changed

+6
-1
lines changed

components/esp_websocket_client/examples/linux/README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,15 @@ This example demonstrates the ESP websocket client using the `linux` target. It
66

77
To compile and execute this example on Linux need to set target `linux`
88

9+
* Debian/Ubuntu: `sudo apt-get install -y libbsd-dev`
10+
* Fedora/RHEL: `sudo dnf install libbsd-devel`
11+
* Arch: `sudo pacman -S libbsd`
12+
* Alpine: `sudo apk add libbsd-dev`
13+
914
```
1015
idf.py --preview set-target linux
1116
idf.py build
12-
./websocket.elf
17+
./build/websocket.elf
1318
```
1419

1520
## Example Output

0 commit comments

Comments
 (0)