Skip to content

Commit b176d3a

Browse files
committed
fix(websocket): Revert referencing protocol_examples_common from IDF
This reverts commit 025ede1.
1 parent f9e0281 commit b176d3a

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

components/esp_websocket_client/examples/linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set(EXTRA_COMPONENT_DIRS
88
"${common_component_dir}/linux_compat"
99
"${common_component_dir}/linux_compat/freertos")
1010

11+
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
1112
list(APPEND EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/protocols/linux_stubs/esp_stubs)
1213
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
1314

components/esp_websocket_client/examples/linux/main/idf_component.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

components/esp_websocket_client/examples/target/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
# in this exact order for cmake to work correctly
33
cmake_minimum_required(VERSION 3.5)
44

5+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
6+
list(APPEND EXTRA_COMPONENT_DIRS "../../../../common_components/protocol_examples_common")
7+
58
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
69
project(websocket_example)

components/esp_websocket_client/examples/target/main/idf_component.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,3 @@ dependencies:
44
espressif/esp_websocket_client:
55
version: "^1.0.0"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

0 commit comments

Comments
 (0)