Skip to content

Commit f9e0281

Browse files
committed
fix(asio): Revert referencing protocol_examples_common from IDF
This reverts commit 09abb18.
1 parent 9c555b9 commit f9e0281

File tree

12 files changed

+23
-12
lines changed

12 files changed

+23
-12
lines changed

components/asio/examples/asio_chat/CMakeLists.txt

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

5+
# (Not part of the boilerplate)
6+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7+
set(EXTRA_COMPONENT_DIRS ../.. ../../../../common_components/protocol_examples_common)
8+
59
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
610
project(asio_chat)

components/asio/examples/asio_chat/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/asio:
55
version: "^1.14.1"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

components/asio/examples/async_request/CMakeLists.txt

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

5+
# (Not part of the boilerplate)
6+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7+
set(EXTRA_COMPONENT_DIRS ../../../../common_components/protocol_examples_common)
8+
59
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
610
project(async_http_request)

components/asio/examples/async_request/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/asio:
55
version: "^1.14.1"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

components/asio/examples/socks4/CMakeLists.txt

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

5+
# (Not part of the boilerplate)
6+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7+
set(EXTRA_COMPONENT_DIRS ../../../../common_components/protocol_examples_common)
8+
59
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
610
project(asio_sock4)

components/asio/examples/socks4/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/asio:
55
version: "^1.14.1"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

components/asio/examples/ssl_client_server/CMakeLists.txt

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

5+
# (Not part of the boilerplate)
6+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7+
set(EXTRA_COMPONENT_DIRS ../../../../common_components/protocol_examples_common)
58
set(EXCLUDE_COMPONENTS openssl)
69

710
include($ENV{IDF_PATH}/tools/cmake/project.cmake)

components/asio/examples/ssl_client_server/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/asio:
55
version: "^1.14.1"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

components/asio/examples/tcp_echo_server/CMakeLists.txt

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

5+
# (Not part of the boilerplate)
6+
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
7+
set(EXTRA_COMPONENT_DIRS ../../../../common_components/protocol_examples_common)
8+
59
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
610
project(asio_tcp_echo_server)

components/asio/examples/tcp_echo_server/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/asio:
55
version: "^1.14.1"
66
override_path: "../../../"
7-
protocol_examples_common:
8-
path: ${IDF_PATH}/examples/common_components/protocol_examples_common

0 commit comments

Comments
 (0)