Skip to content

Commit 9758379

Browse files
authored
Merge pull request espressif#440 from david-cermak/fix/revert_example_common_comp_refs
Temporarily revert IDF component references in examples
2 parents 9c555b9 + f52a38b commit 9758379

File tree

19 files changed

+45
-19
lines changed

19 files changed

+45
-19
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 ../.. $ENV{IDF_PATH}/examples/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 $ENV{IDF_PATH}/examples/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 $ENV{IDF_PATH}/examples/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 $ENV{IDF_PATH}/examples/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 $ENV{IDF_PATH}/examples/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)