commit | 259967d4447af70ca6f8fa5fb2eb1e64a7db309d | [log] [tgz] |
---|---|---|
author | Sagar Dhawan <sagar_dhawan@apple.com> | Thu May 14 17:08:11 2020 -0700 |
committer | Sagar Dhawan <sagar_dhawan@apple.com> | Thu May 14 17:11:38 2020 -0700 |
tree | 1d524e66fe289c95d6392339c0b2fccbb035cf21 | |
parent | d0789c9668b0fe7e51df35a90794dfd19409b916 [diff] |
Move the wifi-echo server and client into different directories
diff --git a/examples/wifi-echo/standalone/Makefile b/examples/wifi-echo/client/standalone/Makefile similarity index 100% rename from examples/wifi-echo/standalone/Makefile rename to examples/wifi-echo/client/standalone/Makefile
diff --git a/examples/wifi-echo/standalone/main.cpp b/examples/wifi-echo/client/standalone/main.cpp similarity index 100% rename from examples/wifi-echo/standalone/main.cpp rename to examples/wifi-echo/client/standalone/main.cpp
diff --git a/examples/wifi-echo/client/standalone/third_party/connectedhomeip b/examples/wifi-echo/client/standalone/third_party/connectedhomeip new file mode 120000 index 0000000..3efed95 --- /dev/null +++ b/examples/wifi-echo/client/standalone/third_party/connectedhomeip
@@ -0,0 +1 @@ +../../../../../ \ No newline at end of file
diff --git a/examples/wifi-echo/esp32/third_party/connectedhomeip b/examples/wifi-echo/esp32/third_party/connectedhomeip deleted file mode 120000 index 11a54ed..0000000 --- a/examples/wifi-echo/esp32/third_party/connectedhomeip +++ /dev/null
@@ -1 +0,0 @@ -../../../../ \ No newline at end of file
diff --git a/examples/wifi-echo/esp32/Makefile b/examples/wifi-echo/server/esp32/Makefile similarity index 100% rename from examples/wifi-echo/esp32/Makefile rename to examples/wifi-echo/server/esp32/Makefile
diff --git a/examples/wifi-echo/esp32/README.md b/examples/wifi-echo/server/esp32/README.md similarity index 100% rename from examples/wifi-echo/esp32/README.md rename to examples/wifi-echo/server/esp32/README.md
diff --git a/examples/wifi-echo/esp32/idf.sh b/examples/wifi-echo/server/esp32/idf.sh similarity index 100% rename from examples/wifi-echo/esp32/idf.sh rename to examples/wifi-echo/server/esp32/idf.sh
diff --git a/examples/wifi-echo/esp32/main/EchoClient.cpp b/examples/wifi-echo/server/esp32/main/EchoClient.cpp similarity index 100% rename from examples/wifi-echo/esp32/main/EchoClient.cpp rename to examples/wifi-echo/server/esp32/main/EchoClient.cpp
diff --git a/examples/wifi-echo/esp32/main/EchoServer.cpp b/examples/wifi-echo/server/esp32/main/EchoServer.cpp similarity index 100% rename from examples/wifi-echo/esp32/main/EchoServer.cpp rename to examples/wifi-echo/server/esp32/main/EchoServer.cpp
diff --git a/examples/wifi-echo/esp32/main/Kconfig.projbuild b/examples/wifi-echo/server/esp32/main/Kconfig.projbuild similarity index 100% rename from examples/wifi-echo/esp32/main/Kconfig.projbuild rename to examples/wifi-echo/server/esp32/main/Kconfig.projbuild
diff --git a/examples/wifi-echo/esp32/main/LEDWidget.cpp b/examples/wifi-echo/server/esp32/main/LEDWidget.cpp similarity index 100% rename from examples/wifi-echo/esp32/main/LEDWidget.cpp rename to examples/wifi-echo/server/esp32/main/LEDWidget.cpp
diff --git a/examples/wifi-echo/esp32/main/component.mk b/examples/wifi-echo/server/esp32/main/component.mk similarity index 100% rename from examples/wifi-echo/esp32/main/component.mk rename to examples/wifi-echo/server/esp32/main/component.mk
diff --git a/examples/wifi-echo/esp32/main/include/LEDWidget.h b/examples/wifi-echo/server/esp32/main/include/LEDWidget.h similarity index 100% rename from examples/wifi-echo/esp32/main/include/LEDWidget.h rename to examples/wifi-echo/server/esp32/main/include/LEDWidget.h
diff --git a/examples/wifi-echo/esp32/main/wifi-echo.cpp b/examples/wifi-echo/server/esp32/main/wifi-echo.cpp similarity index 100% rename from examples/wifi-echo/esp32/main/wifi-echo.cpp rename to examples/wifi-echo/server/esp32/main/wifi-echo.cpp
diff --git a/examples/wifi-echo/esp32/sdkconfig.defaults b/examples/wifi-echo/server/esp32/sdkconfig.defaults similarity index 100% rename from examples/wifi-echo/esp32/sdkconfig.defaults rename to examples/wifi-echo/server/esp32/sdkconfig.defaults
diff --git a/examples/wifi-echo/server/esp32/third_party/connectedhomeip b/examples/wifi-echo/server/esp32/third_party/connectedhomeip new file mode 120000 index 0000000..3efed95 --- /dev/null +++ b/examples/wifi-echo/server/esp32/third_party/connectedhomeip
@@ -0,0 +1 @@ +../../../../../ \ No newline at end of file
diff --git a/examples/wifi-echo/standalone/third_party/connectedhomeip b/examples/wifi-echo/standalone/third_party/connectedhomeip deleted file mode 120000 index 11a54ed..0000000 --- a/examples/wifi-echo/standalone/third_party/connectedhomeip +++ /dev/null
@@ -1 +0,0 @@ -../../../../ \ No newline at end of file
diff --git a/scripts/examples/esp_echo_app.sh b/scripts/examples/esp_echo_app.sh index 4342ce9..35f3777 100755 --- a/scripts/examples/esp_echo_app.sh +++ b/scripts/examples/esp_echo_app.sh
@@ -1,5 +1,5 @@ #!/bin/bash -source examples/wifi-echo/esp32/idf.sh -idf make -C examples/wifi-echo/esp32 defconfig -idf make -C examples/wifi-echo/esp32 +source examples/wifi-echo/server/esp32/idf.sh +idf make -C examples/wifi-echo/server/esp32 defconfig +idf make -C examples/wifi-echo/server/esp32