update ota examples to support both Wi-Fi and Ethernet

This commit is contained in:
suda-morris
2019-05-22 17:56:10 +08:00
parent 0e7442bb7a
commit 1886d8d4ef
17 changed files with 162 additions and 357 deletions
@@ -2,5 +2,9 @@
# in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.5)
# (Not part of the boilerplate)
# This example uses an extra component for common functions such as Wi-Fi and Ethernet connection.
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/common_components/protocol_examples_common)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(advanced_https_ota)